[MPlayer-users] dvd audio encoding issue -- causing Too many audio buffer -- a possible solution
Mudit Wahal
mwahal at yahoo.com
Fri Oct 7 05:44:34 CEST 2005
Hi,
I'm trying to encode Hitch dvd and after 5 mins of first pass, I get Too many audio buffer errors.
I'm using the sept 28 cvs version. After couple of attempts, I did find the problem with the dvd
audio encoding. This might have exposed an issue with the mplayer.
The audio at the beginning of the dvd (first 4 mins or so) is AC3 2.0 (dolby digital 2.0). Then
after that it switches to AC3 5.1. Thats when mplayer starts giving the Too many audio buffer
messages.
My guess is that mplayer may be allocating audio buffers based on the first sample it reads from
the file. When the audio changed from 2.0 to 5.1, it caused audio buffer overflow.
I'm running the mpeg (vob) file in power dvd player. I see mpeg rate of .17mbs to .20mbs and DD at
32kbps. At about 4:05 mins, it switches to the 5.1 (448kbps) and 2-4mbps. Probably thats where the
mplayer chokes.
Hope this info helps.
Please let me know if I can anything else from the output.
Thanks
Mudit
MPlayer dev-CVS-050928-16:38-3.4.2 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP/XP-M Barton (Family: 6, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
======= my script =========
mencoder -aid 128 -oac copy -o %2 -ovc xvid -xvidencopts
pass=1:bitrate=2000:chroma_me:max_bframes=3:vhq=1:min_iquant=1:max_iquant=31:min_pquant=1:max_pquant=31:min_bquant=1:max_bquant=31:turbo
%1
mencoder -aid 128 -oac copy -o %2 -ovc xvid -xvidencopts
pass=2:bitrate=2000:chroma_me:max_bframes=3:vhq=1:min_iquant=1:max_iquant=31:min_pquant=1:max_pquant=31:min_bquant=1:max_bquant=31 %1
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
More information about the MPlayer-users
mailing list