[MPlayer-advusers] [BUG] "too many buffered pts" with VOB + -correct-pts

Alexander Strange astrange at ithinksw.com
Thu May 24 03:15:46 CEST 2007


http://astrange.ithinksw.net/so.vob (first 10mb of a DVD title)

Playback shows garbage on screen instead of most of the video,  
presumably from dropped packets.

mplayer -v so.vob
MPlayer dev-SVN-r23364-4.0.1 (C) 2000-2007 MPlayer Team
CPU: Genuine Intel(R) CPU            1600  @ 2.16GHz (Family: 6,  
Model: 14, Stepping: 8)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
get_path('codecs.conf') -> '/Users/astrange/.mplayer/codecs.conf'
Reading /Users/astrange/.mplayer/codecs.conf: Can't open '/Users/ 
astrange/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/ 
etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
Configuration: --enable-largefiles --disable-x11 --disable-sdl -- 
disable-esd --with-freetype-config=/usr/local/ftype2/bin/freetype-config
CommandLine: '-v' 'so.vob'
init_freetype
get_path('font/font.desc') -> '/Users/astrange/.mplayer/font/font.desc'
font: can't open file: /Users/astrange/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/Users/astrange/.mplayer/fonts'
Using Darwin accurate timing
get_path('input.conf') -> '/Users/astrange/.mplayer/input.conf'
Can't open input config file /Users/astrange/.mplayer/input.conf: No  
such file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No  
such file or directory
Falling back on default (hardcoded) input config
get_path('so.vob.conf') -> '/Users/astrange/.mplayer/so.vob.conf'

Playing so.vob.
get_path('sub/') -> '/Users/astrange/.mplayer/sub/'
[file] File size is 10485760 bytes
STREAM: [file] so.vob
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename so.vob ext: .vob
Trying demuxer 2 based on filename extension
system stream synced at 0xD (13)!
==> Found video stream: 0
==> Found audio stream: 128
MPEG-PS file format detected.
Searching for sequence header... OK!
VIDEO:  MPEG2  720x480  (aspect 2)  29.970 fps  9300.0 kbps (1162.5  
kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x480  fps:29.97  ftime:=0.0334
get_path('sub/') -> '/Users/astrange/.mplayer/sub/'
[vo] query(Planar YV12) -> 0
[vo] query(Planar I420) -> 0
[vo] query(Planar IYUV) -> 0
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
[ass] auto-open
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
[ass] Init
get_path('fonts') -> '/Users/astrange/.mplayer/fonts'
get_path('subfont.ttf') -> '/Users/astrange/.mplayer/subfont.ttf'
======================================================================== 
==
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred colorspace: Mpeg PES)
Trying filter chain: expand ass scale 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 expand ass scale vo
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2- 
v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
======================================================================== 
==
======================================================================== 
==
Opening audio decoder: [liba52] AC3 decoding with liba52
dec_audio: Allocating 3840 bytes for input buffer.
dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer.
Using SSE optimized IMDCT transform
AC3: 1.0 (mono)  48000 Hz  224.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0xA
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 224.0 kbit/14.58% (ratio: 28000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
======================================================================== 
==
Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
AO: [macosx] source:  48000.0Hz 16bit [lpcm] int LE S packed
AO: [macosx] using    47 chunks of 4096 bytes (buffer len 196608 bytes)
AO: [macosx] 48000Hz 2ch s16le (2 bytes per sample)
AO: Description: Darwin/Mac OS X native audio output
AO: Author: Timothy J. Wood & Dan Christiansen & Chris Roccati
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/ 
s16le...
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
Starting playback...
VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
Trying filter chain: expand ass scale 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=0,'MPlayer',0x32315659)
REQ: flags=0x2471  req=0x0
REQ: flags=0x471  req=0x0
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 5 -> 4
[swscaler @ 0x8bf080]SwScaler: BICUBIC scaler, from yuv420p to  
yuyv422 using MMX2
[swscaler @ 0x8bf080]SwScaler: using 4-tap MMX scaler for horizontal  
luminance scaling
[swscaler @ 0x8bf080]SwScaler: using 4-tap MMX scaler for horizontal  
chrominance scaling
[swscaler @ 0x8bf080]SwScaler: using n-tap MMX scaler for vertical  
scaling (BGR)
[swscaler @ 0x8bf080]SwScaler: 720x480 -> 720x480
REQ: flags=0x33  req=0x0
VO: [macosx] 720x480 => 720x540 Packed YUY2
VO: Description: Mac OSX Core Video
VO: Author: Nicolas Plourde <nicolas.plourde at gmail.com>
get_path('subfont.ttf') -> '/Users/astrange/.mplayer/subfont.ttf'
Unicode font: 38910 glyphs.
get_path('subfont.ttf') -> '/Users/astrange/.mplayer/subfont.ttf'
Unicode font: 38910 glyphs.
*** [ass] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
*** [expand] Direct Rendering mp_image_t, 720x480x12bpp YUV planar,  
518400 bytes
Too many buffered pts
Too many buffered pts
(repeat forever, sometimes with "pts value <= previous", which by the  
way is missing a trailing \n)

All three of these work:
* -no-correct-pts
* -demuxer lavf
* mkvmerge -o so.mkv and playing that

I didn't check to see if the A/V sync and all were correct, but they  
play.
All three have the wrong aspect ratio (should be 720x528) but whatever.



More information about the MPlayer-advusers mailing list