Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Sound issues on RPi B+, Jun's latest image



On Wed, Mar 11, 2015 at 4:42 PM, Jean-Baka Domelevo Entfellner <domelevo%gmail.com@localhost> wrote:
(1) I installed mplayer 1.1-4.8.4 from your repository, the install went well but I have no sound going out to the jack when I try to play some wav file. I guess it is because the audio output gets directed to the HDMI and not to the 3.5mm jack output, but I would like to have it go to the jack output. I read from you (http://mail-index.netbsd.org/port-arm/2015/02/26/msg002884.html) that you can control this via /root/.xinitrc, setting the appropriate value for audiocfg, but how to do that outside of any X environment?

Additionally, let me paste below the verbose output of mplayer when I ask it to play a file (through an X session with root account and "audiocfg default 0" in /root/.xinitrc) : everything seems ok, mplayer seems happy, I get the progress status at the end of the attached log while mplayer is processing the stream, but I can't hear anything :(

Best regards, thanks again,
   JB

========= output of mplayer on my RPi B+ =======
MPlayer 1.1-4.8.4 (C) 2000-2012 MPlayer Team
CPU: ARM
get_path('codecs.conf') -> '/root/.mplayer/codecs.conf'
Reading optional codecs config file /root/.mplayer/codecs.conf: No such file or directory
Reading optional codecs config file /usr/pkg/share/mplayer/codecs.conf: 192 audio & 400 video codecs
init_freetype
Using Unoptimized OnScreenDisplay
get_path('fonts') -> '/root/.mplayer/fonts'
Configuration: --prefix=/usr/pkg --disable-armv5te --disable-armv6 --disable-armv6t2 --disable-aa --disable-arts --disable-caca --enable-cdparanoia --disable-
CommandLine: '-v' 'sound.wav'
Using nanosleep() timing
get_path('input.conf') -> '/root/.mplayer/input.conf'
Reading optional input config file /root/.mplayer/input.conf: No such file or directory
Parsing input config file /usr/pkg/share/mplayer/input.conf
Input config file /usr/pkg/share/mplayer/input.conf parsed: 92 binds
get_path('sound.wav.conf') -> '/root/.mplayer/sound.wav.conf'

Playing sound.wav.
get_path('sub/') -> '/root/.mplayer/sub/'
[file] File size is 6174044 bytes
STREAM: [file] sound.wav
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
libavformat version 54.6.100 (internal)
Configuration: --enable-gpl --enable-postproc
LAVF_check: WAV format
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename sound.wav ext: .wav
Trying demuxer 17 based on filename extension
==> Found audio stream: 0
======= WAVE Format =======
Format Tag: 1 (0x1)
Channels: 1
Samplerate: 22050
avg byte/sec: 44100
Block align: 2
bits/sample: 16
cbSize: 0
==========================================================================
demux_audio: audio data 0x2C - 0x5E355C 
Audio only file format detected.
Load subtitles in ./
get_path('sub/') -> '/root/.mplayer/sub/'
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
dec_audio: Allocating 2048 + 131072 = 133120 bytes for output buffer.
AUDIO: 22050 Hz, 1 ch, s16le, 352.8 kbit/100.00% (ratio: 44100->44100)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
Building audio filter chain for 22050Hz/1ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 22050Hz/1ch/s16le
[dummy] Was reinitialized: 22050Hz/1ch/s16le
Trying every known audio driver...
ao2: 22050 Hz  1 chans  s16le
audio_setup: using '/dev/sound' dsp device
audio_setup: using '/dev/mixer' mixer device
audio_setup: using 'pcm' mixer device
audio_setup: sample format: s16le (requested: s16le)
audio_setup: using 1 channels (requested: 1)
audio_setup: using 22050 Hz samplerate (requested: 22050)
audio_setup: frags:   8/8  (8000 bytes/frag)  free:  64000
AO: [oss] 22050Hz 1ch s16le (2 bytes per sample)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 22050Hz/1ch/s16le -> 22050Hz/1ch/s16le...
[dummy] Was reinitialized: 22050Hz/1ch/s16le
[dummy] Was reinitialized: 22050Hz/1ch/s16le
Video: no video
Freeing 0 unused video chunks.
Starting playback...
Increasing filtered audio buffer size from 0 to 65024
A:   0.0 (00.0) of 140.0 (02:20.0)  0.2% ESC[J^MA:   0.2 (00.2) of 140.0 (02:20.0)  0.2% ESC[J^MA:   0.4 (00.4) of 140.0 (02:20.0)  0.2% ESC[J^MA:   0.6 (00.5


MPlayer interrupted by signal 2 in module: play_audio
A:   4.3 (04.2) of 140.0 (02:20.0)  0.2% ESC[J
Uninit audio filters...
[libaf] Removing filter dummy
Uninit audio: pcm
vo: x11 uninit called but X11 not initialized..

Exiting... (Quit)






Home | Main Index | Thread Index | Old Index