[MPlayer-users] [BUG?] Problem with -ao pcm

yardbird frbiscani at libero.it
Sat Apr 5 15:44:07 CEST 2003

maybe I found a bug in MPlayer. I noticed that with "-ao pcm" the "-frames" 
options does not work well: MPlayer exits some frames before those specified. 
For example:

yardbird at roby video $ mplayer -vo null -vc null  -ao pcm -frames 500 

Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale

MPlayer 0.90rc5-3.2.2 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Advanced Micro Devices Athlon 4 PM Palomino/Athlon MP 
Multiprocessor/Athlon XP eXtreme Performance (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

Reading config file /usr/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /home/yardbird/.mplayer/config
Reading /home/yardbird/.mplayer/codecs.conf: 50 audio & 135 video codecs
Font /home/yardbird/.mplayer/font/font.desc loaded successfully! (206 chars)
Using Linux hardware RTC timing (1024Hz).
Input config file /home/yardbird/.mplayer/input.conf parsed : 51 binds
Menu inited: /home/yardbird/.mplayer/menu.conf

Playing /mnt/windows/store/Big_Lebowski.avi
Cache fill:  0.00% (0 bytes)    AVI file format detected.
VIDEO:  [DIV3]  704x304  24bpp  25.00 fps  787.9 kbps (96.2 kbyte/s)
Clip info:
 Name: Il Grande Lebowsky
 Artist: Sk at nner!
 Comments: Nandub SBC - Audio MP3 (LAME Vbr.) - ITALIANO
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 16000->176400 (128.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
Forced video codec: null
Opening video decoder: [null] Null video decoder
VDec: vo config request - 704 x 304 (preferred csp: BGR 24-bit)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [null] 704x304 => 704x304 Planar YV12
Selected video codec: [null] vfm:null (NULL codec (no decoding!))
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
PCM: File: audiodump.wav (WAVE)
PCM: Samplerate: 44100Hz Channels: Stereo Format Signed 16-bit (Little-Endian)
PCM: Info: fastest dumping is achieved with -vc null -vo null
PCM: Info: to write WAVE files use -waveheader (default); for RAW PCM 
AO: [pcm] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Starting playback...
A:  19.3 V:  19.2 A-V:  0.112 ct:  0.129  481/481   0%  0%  0.6% 219 0 48%

Exiting... (End of file)

It played 481 frames instead of 500. This happens on every file I tried. Can 
anyone confirm? Is this a (known?) bug? I'm using 0.90RC5 and gcc 3.2.2.
Best regards,


More information about the MPlayer-users mailing list