[MPlayer-users] Why does a -dumpstream dump not play when mplayer can play the DVD directly fine?

Alex Bennee kernel-hacker at bennee.com
Thu May 3 23:53:57 CEST 2012


Hi,

I'm having some problems ripping some of the DVDs in my collection.
The DVD plays fine with a normal command line, e.g.:

22:51 alex at danny/x86_64 [tmp] >mplayer dvd://2
MPlayer SVN-r34840 (Gentoo)-4.5.3 (C) 2000-2012 MPlayer Team
MMX2 supported but disabled

Playing dvd://2.
libdvdread: Using libdvdcss version 1.2.11 for DVD access
There are 4 titles on this DVD.
There are 1 angles in this DVD title.

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000128
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00000192
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00000330
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x0000415f
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x000041b6
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x001e4b08
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x001e4b5f
libdvdread: Elapsed time 0
libdvdread: Found 3 VTS's
libdvdread: Elapsed time 0
audio stream: 0 format: ac3 (stereo) language: en aid: 128.
number of audio channels on disk: 1.
number of subtitles on disk: 0

MPEG-PS file format detected.
VIDEO:  MPEG2  720x576  (aspect 2)  25.000 fps  5000.0 kbps (625.0 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 53.61.100 (external)
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 224.0 kbit/14.58% (ratio: 28000->192000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==========================================================================
AO: [pulse] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
[VD_FFMPEG] Trying pixfmt=0.
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.
[VD_FFMPEG] Trying pixfmt=1.
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.
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 720x576 => 768x576 Planar YV12
[mpeg2video @ 0x7f0ce51eee00]ac-tex damaged at 24 7
[mpeg2video @ 0x7f0ce51eee00]Warning MVs not available
[mpeg2video @ 0x7f0ce51eee00]concealing 1305 DC, 1305 AC, 1305 MV errors


However if I rip the data for later encoding with:

mplayer dvd://2 -dumpstream -dumpfile test.vob

The resulting file is unplayable by mplayer. I get sound but no video
and mplayer reports a lot of errors like:

22:44 alex at danny/x86_64 [tmp] >mplayer test.vob
MPlayer SVN-r34840 (Gentoo)-4.5.3 (C) 2000-2012 MPlayer Team
MMX2 supported but disabled

Playing test.vob.
libavformat version 53.32.100 (external)
MPEG-PS file format detected.
VIDEO:  MPEG2  720x576  (aspect 2)  25.000 fps  5000.0 kbps (625.0 kbyte/s)
Load subtitles in ./
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 53.61.100 (external)
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 224.0 kbit/14.58% (ratio: 28000->192000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==========================================================================
AO: [pulse] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
[VD_FFMPEG] Trying pixfmt=0.
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.
[VD_FFMPEG] Trying pixfmt=1.
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.
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 720x576 => 768x576 Planar YV12
[mpeg2video @ 0x7f72692aae00]warning: first frame is no keyframe
[VD_FFMPEG] DRI failure.
[mpeg2video @ 0x7f72692aae00]get_buffer() failed (stride changed)
Error while decoding frame!
[mpeg2video @ 0x7f72692aae00]get_buffer() failed (stride changed)
Error while decoding frame!

I assume this could be a function of the disc (according to the box it
has MacroVision copy protection). However this doesn't stop mplayer
playing when working directly from the disc. Is it re-syncing after
finding a broken sector? Why can't mplayer do this on the file based
stream copy?

Is it possible to get mplayer to dump only the valid bitstream as it re-syncs?

Cheers,


-- 
Alex, homepage: http://www.bennee.com/~alex/
http://www.half-llama.co.uk


More information about the MPlayer-users mailing list