[MPlayer-dev-eng] get vob file pts error

qwen dux qwendu at gmail.com
Fri Apr 7 10:54:11 CEST 2006


hi,
There was a error  when last mplayer  played  vob file,the  console line
displayed  the  A-V pos  abnormally,and the osd time is not right,there is
the info of mplayer:
Playing /home/qwdu/media/testmedia/mpeg12/mpeg1-352-288-1187-25.VOB.
get_path('sub/') -> '/home/qwdu/.mplayer/sub/'
[file] File size is 56020992 bytes
STREAM: [file] /home/qwdu/media/testmedia/mpeg12/mpeg1-352-288-1187-25.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 /home/qwdu/media/testmedia/mpeg12/mpeg1-
352-288-1187-25.VOB ext: .VOB
Trying demuxer 2 based on filename extension
system stream synced at 0xD (13)!
==> Found video stream: 0
==> Found audio stream: 0
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG-PS file format detected.
Searching for sequence header... OK!
VIDEO:  MPEG1  352x288  (aspect 8)  25.000 fps  1000.0 kbps (125.0 kbyte/s)
[V] filefmt:2  fourcc:0x10000001  size:352x288  fps:25.00  ftime:=0.0400
get_path('sub/') -> '/home/qwdu/.mplayer/sub/'
get_path('default.sub') -> '/home/qwdu/.mplayer/default.sub'
File not found: '/home/qwdu/.mplayer/default.sub'
Failed to open /home/qwdu/.mplayer/default.sub
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer.
mp3lib: made decode tables with MMX optimization
mp3lib: using MMX optimized decore!
MP3lib: init layer2&3 finished, tables done
MPEG 1.0, Layer II, 48000 Hz 64 kbit Stereo, BPF: 192
Channels: 2, copyright: No, original: No, CRC: Yes, emphasis: 0
AUDIO: 48000 Hz, 2 ch, s16le, 64.0 kbit/4.17% (ratio: 8000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local
display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Detected wm supports STAYS_ON_TOP state.
[x11] Current fstype setting honours FULLSCREEN STAYS_ON_TOP ABOVE BELOW X
atoms
Disabling DPMS
DPMSDisable stat: 1
[xv common] Drawing no colorkey.
[xv common] Maximum source image dimensions: 2046x2046
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 352 x 288 (preferred colorspace: 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.
Try adding the scale filter, 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))
==========================================================================
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
ao2: 48000 Hz  2 chans  s16le
audio_setup: using '/dev/dsp' dsp device
audio_setup: using '/dev/mixer' mixer device
audio_setup: using 'pcm' mixer device
audio_setup: sample format: s16le (requested: s16le)
audio_setup: using 2 channels (requested: 2)
audio_setup: using 48000 Hz samplerate (requested: 48000)
audio_setup: frags:   4/4  (16384 bytes/frag)  free:  65536
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
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 - 352 x 288 (preferred colorspace: 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 (352x288->384x288,flags=0,'MPlayer',0x32315659)
VO: [xv] 352x288 => 384x288 Planar YV12
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
Xvideo image format: 0x3 (   ) packed
using Xvideo port 65 for hw scaling
[xv] dx: 0 dy: 0 dw: 384 dh: 288
*** [vo] Allocating mp_image_t, 352x288x12bpp YUV planar, 152064 bytes
[xv] dx: 0 dy: 0 dw: 384 dh: 288
*** [vo] Allocating mp_image_t, 352x288x12bpp YUV planar, 152064 bytes
get_path('subfont.ttf') -> '/home/qwdu/.mplayer/subfont.ttf',?% 0 0
Unicode font: 22074 glyphs.
*** [vo] Allocating mp_image_t, 352x288x12bpp YUV planar, 152064 bytes
[xv] dx: 0 dy: 0 dw: 384 dh: 288
A:5589.1 V:   0.0 A-V:5589.073 ct:  0.000   1/  1

you can found the first audio frame pos is displayed with 5589 by mistake.



More information about the MPlayer-dev-eng mailing list