[MPlayer-users] Audio volume controls don't work

P. Rybin pr254 at cam.ac.uk
Thu Apr 4 19:56:02 CEST 2002


The keys that used to control the volume level (* and /) don't work anymore. Also, with alsa audio output, volume control is impossible. input.conf looks in order, so it must be an actual bug in mplayer. This was present in the cvs version from maybe a week ago (don't know exactly which one, sorry), and is still present in todays (2002/04/04) cvs snapshot.
When using -ao alsa5:
If I use the 9 and 0 keys, the OSD volume level bar comes up, but nothing happens, if I use the / and * keys, the OSD bar doesn't even come up.
When using -ao oss:
If I use the 9 and 0 keys, volume control works as intended.
If i use the / and * keys, nothing happens (as with alsa).

Everything was working fine with and older cvs snapshot, so this isn't something I've done to my system. I've also tried different video decoders and output devices, just to see whether something really weird was going on, and the results were the same.

My system:

Athlon tb 900MHz
SuSE 7.2 (stock 2.4.4 kernel)
XFree86 v. 4.1.0
SB Live! using ALSA 0.5
Nvidia geforce2 mx
512mb sdram



Output of mplayer -v in both cases:

pavel at nirvana:~/tmp/video/to_burn/futurama > mplayer -v -ao alsa5 Futurama\ S01E06-ac3.avi


MPlayer CVS-020404-05:00-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU vendor name: AuthenticAMD  max cpuid level: 1
CPU: Advanced Micro Devices Athlon TB Thunderbird (Type: 6, Stepping: 2)
extended cpuid-level: 6
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with features: MMX MMX2 3DNow 3DNowEx
Reading /home/pavel/.mplayer/codecs.conf: parse error at line 290
Reading /usr/local/share/mplayer/codecs.conf: 30 audio & 80 video codecs
CommandLine: '-v' '-ao' 'alsa5' 'Futurama S01E06-ac3.avi'
get_path('font/font.desc') -> '/home/pavel/.mplayer/font/font.desc'
Font /home/pavel/.mplayer/font/font.desc loaded successfully! (495 chars)
Linux RTC init error: Permission denied
Using usleep() timing
get_path('input.conf') -> '/home/pavel/.mplayer/input.conf'
Parsing input config file /home/pavel/.mplayer/input.conf
Input config file /home/pavel/.mplayer/input.conf parsed : 50 binds
Setting up lirc support...
mplayer: could not connect to socket
mplayer: Permission denied
Failed opening lirc support!
You won't be able to use your remote control
Playing Futurama S01E06-ac3.avi
Can't open IFO file: No such file or directory
Not an URL!
File size is 226164736 bytes
Detected AVI file format!
list_end=0x2286
======= AVI Header =======
us/frame: 40000  (fps=25.000)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames  total: 32382   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  704 x 560
list_end=0x10F4
==> Found video stream: 0
======= STREAM Header =======
Type: vids   FCC: divx (78766964)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 50000/2000 = 25.000
Start: 0   Len: 32382
Suggested BufferSize: 140117
Quality 10000
Sample size: 0
found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 704
  biHeight 560
  biPlanes 1
  biBitCount 16
  biCompression 1482049860='DIVX'
  biSizeImage 1182720
===========================
Regenerating keyframe table for DIVX 4 video
list_end=0x217A
==> Found audio stream: 1
======= STREAM Header =======
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 1
Rate: 24000/1 = 24000.000
Start: 0   Len: 31086720
Suggested BufferSize: 3840
Quality -1
Sample size: 1
found 'wf', 18 bytes of 20
======= WAVE Format =======
Format Tag: 8192 (0x2000)
Channels: 2
Samplerate: 48000
avg byte/sec: 24000
Block align: 1
bits/sample: 0
cbSize: 18
list_end=0x2286
Broken chunk?  chunksize=1394  (id=JUNK)
list_end=0xD711754
Found movie at 0x280C - 0xD711754
Reading INDEX block, 40478 chunks for 32382 frames
Broken chunk?  chunksize=0  (id=idx1)
Reading INDEX block, 40478 chunks for 32382 frames
AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0xF0C)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video length=194094560
VIDEO:  [DIVX]  704x560  16bpp  25.00 fps  1198.8 kbps (146.3 kbyte/s)
[V] filefmt:3  fourcc:0x58564944  size:704x560  fps:25.00  ftime:=0.0400
get_path('sub/') -> '/home/pavel/.mplayer/sub/'
Detected audio codec: [a52] drv:14 (AC3-liba52)
Initializing audio codec...
Selecting Audio Decoder: [liba52] AC3-liba52
dec_audio: Allocating 3840 bytes for input buffer
dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer
Using 3DNowEx optimized IMDCT transform
AC3: 2.0 (dolby)  48000 Hz  192.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0xA
Using MMX optimized resampler
AUDIO: srate=48000  chans=2  bps=2  sfmt=0x10  ratio: 24000->192000
==========================================================================
Opening Video Decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec: CPU flags: mmx mmxext 3dnow
INFO: libavcodec init OK!
Detected video codec: [ffodivx] drv:5 prio:0 (FFmpeg MPEG-4)
==========================================================================
AutoQ: setting quality to 0
AO: [alsa5] 48000Hz Stereo Signed 16-bit (Little-Endian)
AO: Description: ALSA-0.5.x audio output
AO: Author: Alex Beregszaszi <alex at naxine.org>
alsa-init: requested format: 48000 Hz, 2 channels, Signed 16-bit (Little-Endian)alsa-init: compiled for ALSA-0.5.10b (1290)
alsa-init: 1 soundcard found, using: EMU10K1
alsa-init: setting preferred buffer size from driver: 131072 bytes
AUDIO: 48000 Hz/2 channels/192000 bps/131072 bytes buffer/Signed 16-bit Little Endian
Start playing...
XXX initial  v_pts=0.000  a_pos=3840 (0.160)
VDec: vo config request - 704 x 560, Planar YV12
Movie-Aspect is undefined - no prescaling applied.
VO: [sdl] 704x560 => 704x560 Planar YV12
VO: Description: SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)
VO: Author: Ryan C. Gordon <icculus at lokigames.com>, Felix Buenemann <atmosfear at users.sourceforge.net>
video_out->init(704x560->704x560,flags=0,'MPlayer',0x32315659)
SDL: Using 0x32315659 (Planar YV12) image format
SDL: deactivating XScreensaver/DPMS
SDL: X11 Resolution 1280x1024
SDL: Using driver: x11
SDL: using hardware-surface
SDL: setting windowed mode
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
A:   1.0 V:   1.0 A-V:  0.003 ct:  0.040   27/ 27   2% 15%  1.6% 1 0 0%
*** free_stream() called ***
SDL: activating XScreensaver/DPMS

Exiting... (Quit)





pavel at nirvana:~/tmp/video/to_burn/futurama > mplayer -v -ao oss Futurama\ S01E06-ac3.avi


MPlayer CVS-020404-05:00-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU vendor name: AuthenticAMD  max cpuid level: 1
CPU: Advanced Micro Devices Athlon TB Thunderbird (Type: 6, Stepping: 2)
extended cpuid-level: 6
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with features: MMX MMX2 3DNow 3DNowEx
Reading /home/pavel/.mplayer/codecs.conf: parse error at line 290
Reading /usr/local/share/mplayer/codecs.conf: 30 audio & 80 video codecs
CommandLine: '-v' '-ao' 'oss' 'Futurama S01E06-ac3.avi'
get_path('font/font.desc') -> '/home/pavel/.mplayer/font/font.desc'
Font /home/pavel/.mplayer/font/font.desc loaded successfully! (495 chars)
Linux RTC init error: Permission denied
Using usleep() timing
get_path('input.conf') -> '/home/pavel/.mplayer/input.conf'
Parsing input config file /home/pavel/.mplayer/input.conf
Input config file /home/pavel/.mplayer/input.conf parsed : 50 binds
Setting up lirc support...
mplayer: could not connect to socket
mplayer: Permission denied
Failed opening lirc support!
You won't be able to use your remote control
Playing Futurama S01E06-ac3.avi
Can't open IFO file: No such file or directory
Not an URL!
File size is 226164736 bytes
Detected AVI file format!
list_end=0x2286
======= AVI Header =======
us/frame: 40000  (fps=25.000)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames  total: 32382   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  704 x 560
list_end=0x10F4
==> Found video stream: 0
======= STREAM Header =======
Type: vids   FCC: divx (78766964)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 50000/2000 = 25.000
Start: 0   Len: 32382
Suggested BufferSize: 140117
Quality 10000
Sample size: 0
found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 704
  biHeight 560
  biPlanes 1
  biBitCount 16
  biCompression 1482049860='DIVX'
  biSizeImage 1182720
===========================
Regenerating keyframe table for DIVX 4 video
list_end=0x217A
==> Found audio stream: 1
======= STREAM Header =======
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 1
Rate: 24000/1 = 24000.000
Start: 0   Len: 31086720
Suggested BufferSize: 3840
Quality -1
Sample size: 1
found 'wf', 18 bytes of 20
======= WAVE Format =======
Format Tag: 8192 (0x2000)
Channels: 2
Samplerate: 48000
avg byte/sec: 24000
Block align: 1
bits/sample: 0
cbSize: 18
list_end=0x2286
Broken chunk?  chunksize=1394  (id=JUNK)
list_end=0xD711754
Found movie at 0x280C - 0xD711754
Reading INDEX block, 40478 chunks for 32382 frames
Broken chunk?  chunksize=0  (id=idx1)
Reading INDEX block, 40478 chunks for 32382 frames
AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0xF0C)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video length=194094560
VIDEO:  [DIVX]  704x560  16bpp  25.00 fps  1198.8 kbps (146.3 kbyte/s)
[V] filefmt:3  fourcc:0x58564944  size:704x560  fps:25.00  ftime:=0.0400
get_path('sub/') -> '/home/pavel/.mplayer/sub/'
Detected audio codec: [a52] drv:14 (AC3-liba52)
Initializing audio codec...
Selecting Audio Decoder: [liba52] AC3-liba52
dec_audio: Allocating 3840 bytes for input buffer
dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer
Using 3DNowEx optimized IMDCT transform
AC3: 2.0 (dolby)  48000 Hz  192.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0xA
Using MMX optimized resampler
AUDIO: srate=48000  chans=2  bps=2  sfmt=0x10  ratio: 24000->192000
==========================================================================
Opening Video Decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec: CPU flags: mmx mmxext 3dnow
INFO: libavcodec init OK!
Detected video codec: [ffodivx] drv:5 prio:0 (FFmpeg MPEG-4)
==========================================================================
AutoQ: setting quality to 0
AO: [oss] 48000Hz Stereo Signed 16-bit (Little-Endian)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
ao2: 48000 Hz  2 chans  Signed 16-bit (Little-Endian)
audio_setup: using '/dev/dsp' dsp device
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: Signed 16-bit (Little-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 48000 Hz samplerate (requested: 48000)
audio_setup: frags:   2/2  (65536 bytes/frag)  free: 131072
Start playing...
XXX initial  v_pts=0.000  a_pos=3840 (0.160)
VDec: vo config request - 704 x 560, Planar YV12
Movie-Aspect is undefined - no prescaling applied.
VO: [sdl] 704x560 => 704x560 Planar YV12
VO: Description: SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)
VO: Author: Ryan C. Gordon <icculus at lokigames.com>, Felix Buenemann <atmosfear at users.sourceforge.net>
video_out->init(704x560->704x560,flags=0,'MPlayer',0x32315659)
SDL: Using 0x32315659 (Planar YV12) image format
SDL: deactivating XScreensaver/DPMS
SDL: X11 Resolution 1280x1024
SDL: Using driver: x11
SDL: using hardware-surface
SDL: setting windowed mode
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
A:   1.4 V:   1.4 A-V:  0.005 ct:  0.041   37/ 37   2% 15%  1.2% 1 0 0%
*** free_stream() called ***
SDL: activating XScreensaver/DPMS

Exiting... (Quit)




More information about the MPlayer-users mailing list