[MPlayer-users] [BUGREPORT] DVD audio aid/alang problem... NO-SPAM

RC rcooley at spamcop.net
Sun May 1 06:37:00 CEST 2005


I've got a strange problem here.

The DVD is "Gettysburg".  MPlayer has no problem playing the main title
(track 1), but with any of the other tracks, it can't play audio,
reporting "Too many video packets in the buffer: (4096 in 8254326
bytes)."

With MPlayer-1.0pre6, if I put "-novideo" on the command-line, it will
play both audio and video (strange--bug?) without any problems. 
However, that trick doesn't work with pre7 or latest CVS...  

I've narrowed down the problem to the "-alang en" option in my config
file.  According to mplayer's output, the title has only two audio
tracks, 128=en 129=fr.  Selecting either of them with -alang or -aid
will result in the "too many packets" error.  However, if I remove the
alang option from my mplayer.conf, it will play the audio with no
errors.  A "-noalang" option would be very helpful...

I've uploaded a 16MB example to incoming/ named "nosound06.mpg".  Play
it with no "-aid" option and sound will work.  Play it with "-aid 128"
and you'll get only errors.  Play it with 1.0pre6 with "-aid 128" and
"-novideo" and it will also work, for whatever weird reason.

Of course, the question is, is this just a very badly mastered DVD,
and/or can a fix to mplayer make it work properly.  Here's my mplayer
output:


# mplayer dvd://6 -v -alang en 
MPlayer dev-CVS-050430-19:29-3.3.4 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred (Family: 6,
Stepping: 1) 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



77 audio & 186 video codecs
CommandLine: 'dvd://6' '-v' '-alang' 'en'
init_freetype
get_path('font/font.desc') -> '/home/root/.mplayer/font/font.desc'
font: can't open file: /home/root/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/home/root/.mplayer/input.conf'
Parsing input config file /home/root/.mplayer/input.conf
Input config file /home/root/.mplayer/input.conf parsed: 52 binds
get_path('6.conf') -> '/home/root/.mplayer/6.conf'
Playing dvd://6.
get_path('DVDKeys') -> '/home/root/.mplayer/DVDKeys'
Reading disc structure, please wait...
There are 21 titles on this DVD.
There are 1 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
[open] audio stream: 0 audio format: ac3 (stereo) language: en aid: 128
[open] number of audio channels on disk: 1.
[open] subtitle ( sid ): 0 language: en
[open] subtitle ( sid ): 1 language: fr
[open] number of subtitles on disk: 2
DVD start cell: 0  pack: 0x3A8AE-0x3C76C  
DVD start=239790 end=247660  
Selected DVD audio channel: 128 language: en
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:0  
Cache fill: 18.05% (1892352 bytes)    DVD Seek! lba=0x3A8AE  cell=0 
packs: 0x3A8AE-0x3C76C  Angle-seek synced by cell/vob IDN search!  
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for Nullsoft Streaming Video
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename dvd://6 ext: (null)
Checking for MOV
Checking for VIVO
header block 1 size: 0
DVD Seek! lba=0x3A8AE  cell=0  packs: 0x3A8AE-0x3C76C  
Angle-seek synced by cell/vob IDN search!  
DVD Seek! lba=0x3A8AE  cell=0  packs: 0x3A8AE-0x3C76C  
Angle-seek synced by cell/vob IDN search!  
AVS: avs_check_file - attempting to open file dvd://6
AVS: File is too big, aborting...
Checking for PVA
Checking for MPEG-TS...
TRIED UP TO POSITION 491156610, FOUND 47, packet_size= 0, SEEMS A TS? 0
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=0 size=1140851708
LMLM4 Stream Format not found
system stream synced at 0x1D45700D (0)!
==> Found video stream: 0
dvd_next_cell: next1=0x0  
dvd_next_cell: next2=0x0  
DVD Seek! lba=0x58BE9  cell=0  packs: 0x3A8AE-0x3C76C  
dvd_next_cell: next1=0x0  
dvd_next_cell: next2=0x0  
cache_stream_seek: WARNING! Can't seek to 0x2C5F4F70 !
cache_stream_seek: WARNING! Can't seek to 0x1E33BEE0 !
DVD Seek! lba=0x3A8AE  cell=0  packs: 0x3A8AE-0x3C76C  
Angle-seek synced by cell/vob IDN search!  
MPEG-PS file format detected.
==> Found audio stream: 131

Too many video packets in the buffer: (4096 in 8259018 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
ds_fill_buffer: EOF reached (stream: audio)  
MPEG: No audio stream found -> no sound.
Searching for sequence header... OK!
VIDEO:  MPEG2  720x480  (aspect 2)  29.970 fps  7500.0 kbps (937.5
kbyte/s)[V] filefmt:2  fourcc:0x10000002  size:720x480  fps:29.97 
ftime:=0.0334 get_path('sub/') -> '/home/root/.mplayer/sub/'
get_path('default.sub') -> '/home/root/.mplayer/default.sub'
X11 opening display: :0.0
vo: X11 color mask:  FFFF  (R:F800 G:7E0 B:1F)
vo: X11 running at 800x600 with depth 16 and 16 bpp (":0.0" => local
display)[x11] Unknown wm type...
[x11] Current fstype setting doesn't honour any X atoms
[xv common] Drawing colorkey manually.
[xv common] Using colorkey from Xv (0x00083e).
=======================================================================
=== Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES)
Trying filter chain: vo
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale vo
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffmpeg2] vfm:ffmpeg (FFmpeg MPEG 2)
=======================================================================
=== Audio: no sound
Freeing 0 unused audio chunks.
Starting playback...
[ffmpeg] aspect_ratio: 1.333333
VDec: vo config request - 720 x 480 (preferred csp: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO Config (720x480->720x540,flags=1,'MPlayer',0x32315659)
VO: [xv] 720x480 => 720x540 Planar YV12  [fs]
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de> and others
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 77 for hw scaling
[xv-fs] dx: 0 dy: 0 dw: 800 dh: 600
[xv] dx: 0 dy: 0 dw: 800 dh: 600
*** [vo] Allocating (slices) mp_image_t, 720x480x12bpp YUV planar,
518400 bytes[xv] dx: 0 dy: 0 dw: 800 dh: 600
[xv-fs] dx: 0 dy: 0 dw: 800 dh: 600
*** [vo] Allocating (slices) mp_image_t, 720x480x12bpp YUV planar,
518400 bytes get_path('subfont.ttf') ->
'/home/root/.mplayer/subfont.ttf' Unicode font: 255 glyphs.
*** [vo] Allocating (slices) mp_image_t, 720x480x12bpp YUV planar,
518400 bytes --- END OF CELL !!! ---%  0.0% 0 0 49%                     
                    dvd_next_cell: next1=0x0  
dvd_next_cell: next2=0x0  
MPEG Stream reached EOF%  0.0% 0 0 0%                                   
       ds_fill_buffer: EOF reached (stream: video)  
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)  
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)  
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)  
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)  
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)  
EOF code: 1  826 14%  5%  0.0% 0 0 0%                                   
       

uninit video: ffmpeg
vo: uninit ...

Exiting... (End of file)




More information about the MPlayer-users mailing list