Opened 15 years ago
Last modified 14 years ago
#1593 new defect
mpg demuxer fails to demux VOB, lavf works
Reported by: | Owned by: | reimar | |
---|---|---|---|
Priority: | normal | Component: | demuxer |
Version: | HEAD | Severity: | normal |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Reproduced by developer: | no | Analyzed by developer: | no |
Description
Sample video uploaded to incoming/truncated-playback/truncated-playback.VOB
-demuxer mpg fails to play it:
./mplayer -demuxer mpg /Users/aw/Desktop/truncated-playback.VOB
MPlayer SVN-r29804-4.2.1 (C) 2000-2009 MPlayer Team
Playing /Users/aw/Desktop/truncated-playback.VOB.
-demuxer mpg does not exist.
MPEG-PS file format detected.
MPEG: FATAL: EOF while searching for sequence header.
Video: Cannot read properties.
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
ADecoder init failed :(
ADecoder init failed :(
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
Unknown/missing audio format -> no sound
ADecoder init failed :(
Opening audio decoder: [libmad] libmad mpeg audio decoder
Cannot sync MAD frame
ADecoder init failed :(
ADecoder init failed :(
Opening audio decoder: [hwmpa] MPEG audio pass-through (fake decoder)
Cannot sync MPA frame: 0
ADecoder init failed :(
ADecoder init failed :(
Cannot find codec for audio format 0x50.
Audio: no sound
Video: no video
Exiting... (End of file)
Using -demuxer lavf it plays back OK:
./mplayer -demuxer lavf /Users/aw/Desktop/truncated-playback.VOB
MPlayer SVN-r29804-4.2.1 (C) 2000-2009 MPlayer Team
Playing /Users/aw/Desktop/truncated-playback.VOB.
libavformat file format detected.
[mpeg @ 0x1835400]max_analyze_duration reached
[lavf] Video stream found, -vid 0
[lavf] Audio stream found, -aid 1
VIDEO: [MPG2] 720x576 0bpp 25.000 fps 8000.0 kbps (976.6 kbyte/s)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
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: [ffmpeg] FFmpeg's libavcodec codec family
Unsupported PixelFormat -1
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
AO: [coreaudio] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
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 @ 0x87b750]BICUBIC scaler, from yuv420p to yuyv422 using MMX2
[swscaler @ 0x87b750]using 4-tap MMX scaler for horizontal luminance scaling
[swscaler @ 0x87b750]using 4-tap MMX scaler for horizontal chrominance scaling
[swscaler @ 0x87b750]using n-tap MMX scaler for vertical scaling (BGR)
[swscaler @ 0x87b750]720x576 -> 720x576
VO: [corevideo] 720x576 => 768x576 Packed YUY2
[ASPECT] Warning: No suitable new res found!
moved to incoming/bug1593