[MPlayer-users] DVD Ripping trick ... & bugreport

Julian J. M. bandit at telecable.es
Mon Apr 29 22:55:02 CEST 2002


Hi

	For those of you that don't like doing a 3-pass dvd to divx conversion,
you can rip the movie to the HD in several minutes and 'mencode' from
there:

	mencoder -dvd 1 -oac copy -ovc copy -o dvdmovie.avi

	Then you can do the 3 pass encoding using dvdmovie.avi as a source.

	I don't know if it was already known, but it should be in the DOCS.
what do you think?

	And now a bugreport: mpdvdkit doesn't work for me. I had to configure
--disable-mpdvdkit (and use system's libdvdread lib, instead) to be able
to watch a movie.

	Hey, I've just noticed that playing a dvd with 'mplayer -dvd 1' is MUCH
slower that playing dvdmovie.avi extracted like I said above. I don't
know if it's my DVD-Drive's fault, or a problem in the demuxer. Playing
directly from DVD gives me a 100% cpu time used, while in the other
case, just a 70-80%. Can anyone confirm this? (BTW, I have DMA enabled)



mplayer output WITH mpdvdkit: (mplayer -dvd 1)

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
MPlayer CVS-020429-17:10-3.0.4 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU vendor name: AuthenticAMD  max cpuid level: 1
CPU: Advanced Micro Devices Athlon TB Thunderbird (Type: 6, Stepping: 2)
extended cpuid-level: 6
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with features: MMX MMX2 3DNow 3DNowEx
Reading /home/bandit/.mplayer/codecs.conf: 34 audio & 86 video codecs
font: can't open file: /home/bandit/.mplayer/font/font.desc
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206
chars)
Linux RTC init error in ioctl (rtc_pie_on): Permission denied
Using usleep() timing
Input config file /home/bandit/.mplayer/input.conf parsed : 50 binds
Playing DVD title 1
Reading disc structure, please wait...
There are 3 titles on this DVD.
There are 16 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened!
DVD start=0 end=1895901  
header block 1 size: 0
Detected MPEG-PS file format!
VIDEO:  MPEG2  720x576  (aspect 3)  25.00 fps  12250.0 kbps (1531.2
kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x576  fps:25.00  ftime:=0.0400
Detected audio codec: [a52] drv:14 (AC3-liba52)
Selecting Audio Decoder: [liba52] AC3-liba52
Using 3DNowEx optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe)  48000 Hz  256.0 kbit/s
Using MMX optimized resampler
AUDIO: srate=48000  chans=2  bps=2  sfmt=0x10  ratio: 32000->192000
vo: X11 running at 1024x768 with depth 24 and 32 bits/pixel (":1" =>
local display)
==========================================================================
Opening Video Decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576, Mpeg PES  
[PP] Sorry, postprocessing is not available
Couldn't find matching colorspace - retrying with -vop scale...
SwScale: -1 x -1
Sorry, selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening Video Decoder: [libmpeg2] MPEG 1/2 Video decoder v2.0
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
VDec: vo config request - 720 x 576, Planar YV12  
[PP] Using external postprocessing filter, max q = 6
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
REQ: flags=0x437  req=0x0  
VO: [xv] 720x576 => 1024x576 Planar YV12 
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 42 for hw scaling
[xv] dcx: 6 dcy: 99 dx: 0 dy: 0 dw: 1024 dh: 576
Detected video codec: [mpeg12] drv:1 prio:0 (MPEG 1 or 2)
==========================================================================
AO: [oss] 48000Hz Stereo Signed 16-bit (Little-Endian)
ao2: 48000 Hz  2 chans  Signed 16-bit (Little-Endian)
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested:
Signed 16-bit (Little-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 48000 Hz samplerate (requested: 48000)
audio_setup: frags:  16/16  (4096 bytes/frag)  free:  65536
Start playing...
a52: CRC check failed!  
a52: error at resampling
*** [pp] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
[ws] PropertyNotify ( 0x1600001 ) WM_NAME ( 0x27 )
[ws] PropertyNotify ( 0x1600001 ) WM_ICON_NAME ( 0x25 )
[ws] PropertyNotify ( 0x1600001 ) WM_NORMAL_HINTS ( 0x28 )
X11 Window 6x99-1024x576
============================================================
[ws] PropertyNotify ( 0x1600001 ) _NET_WM_STATE ( 0x138 )
[ws] PropertyNotify ( 0x1600001 ) _WIN_STATE ( 0x11e )
[ws] PropertyNotify ( 0x1600001 ) _NET_WM_DESKTOP ( 0x136 )
[ws] PropertyNotify ( 0x1600001 ) _WIN_WORKSPACE ( 0x11c )
[ws] PropertyNotify ( 0x1600001 ) _WIN_AREA ( 0x120 )
X11 Window 6x99-1024x576
============================================================
X11 Window 6x99-1024x576
============================================================
X11 Window 6x99-1024x576
============================================================
[ws] PropertyNotify ( 0x1600001 ) WM_STATE ( 0x6d )
[xv] dcx: 6 dcy: 99 dx: 0 dy: 0 dw: 1024 dh: 576
*** [pp] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes%
*** [vo] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
*** [pp] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes%
a52: CRC check failed!  0.172 ct:  0.036   12/ 12   0%  0%  0.0% 0 0 0%
a52: error at resampling
a52: CRC check failed!  0.037 ct:  0.075   27/ 27  21% 34% 46.5% 10 0 0%
a52: error at resampling
a52: CRC check failed!  0.032 ct:  0.122   48/ 48  23% 34% 38.9% 24 0 0%
a52: error at resampling
a52: CRC check failed!  0.090 ct:  0.156   68/ 68  26% 35% 32.4% 35 0 0%
a52: error at resampling
a52: CRC check failed!  0.068 ct:  0.212   82/ 82  26% 36% 34.0% 46 0 0%
a52: error at resampling
a52: CRC check failed!  2.561 ct:  0.256   93/ 93  27% 37% 33.7% 56 0 0%
a52: error at resampling
a52: CRC check failed!  5.823 ct:  0.288  101/101  28% 38% 35.2% 63 0 0%
a52: error at resampling
a52: CRC check failed!  3.227 ct:  0.332  112/112  28% 38% 35.0% 73 0 0%
a52: error at resampling
a52: CRC check failed!  0.052 ct:  0.368  121/121  29% 38% 35.7% 82 0 0%
a52: error at resampling
a52: CRC check failed!  1.856 ct:  0.392  127/127  29% 38% 41.4% 88 0
0%%
a52: error at resampling
a52: CRC check failed!  0.068 ct:  0.456  143/143  29% 38% 43.0% 103 0
0%
a52: error at resampling
a52: CRC check failed!  8.666 ct:  0.476  148/148  29% 37% 53.6% 108 0
0%%
a52: error at resampling
a52: CRC check failed!  9.091 ct:  0.528  161/161  29% 37% 51.3% 121 0
0%%
a52: error at resampling
a52: CRC check failed!  9.387 ct:  0.564  170/170  30% 37% 50.8% 130 0
0%
a52: error at resampling
a52: CRC check failed!  4.824 ct:  0.608  181/181  30% 37% 49.4% 140 0
0%%
a52: error at resampling
A:5726.5 V:5726.8 A-V: -0.273 ct:  0.729  227/227  31% 37% 39.5% 140 0
0%
*** free_stream() called ***

Exiting... (End of file)

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<


mplayer output WITHOUT mpdvdkit:

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
MPlayer CVS-020429-17:10-3.0.4 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU vendor name: AuthenticAMD  max cpuid level: 1
CPU: Advanced Micro Devices Athlon TB Thunderbird (Type: 6, Stepping: 2)
extended cpuid-level: 6
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with features: MMX MMX2 3DNow 3DNowEx
Reading /home/bandit/.mplayer/codecs.conf: 34 audio & 86 video codecs
font: can't open file: /home/bandit/.mplayer/font/font.desc
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206
chars)
Linux RTC init error in ioctl (rtc_pie_on): Permission denied
Using usleep() timing
Input config file /home/bandit/.mplayer/input.conf parsed : 50 binds
Playing DVD title 1
Reading disc structure, please wait...
There are 3 titles on this DVD.
There are 16 chapters in this DVD title.
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 0x0000012f
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00007dae
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00007e83
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x001d6c8e
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x001d6c93
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x001dab95
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x001dab9a
libdvdread: Elapsed time 0
libdvdread: Found 3 VTS's
libdvdread: Elapsed time 0
DVD successfully opened!
DVD start=0 end=1895901  
header block 1 size: 0
Detected MPEG-PS file format!
VIDEO:  MPEG2  720x576  (aspect 3)  25.00 fps  12250.0 kbps (1531.2
kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x576  fps:25.00  ftime:=0.0400
Detected audio codec: [a52] drv:14 (AC3-liba52)
Selecting Audio Decoder: [liba52] AC3-liba52
Using 3DNowEx optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe)  48000 Hz  256.0 kbit/s
Using MMX optimized resampler
AUDIO: srate=48000  chans=2  bps=2  sfmt=0x10  ratio: 32000->192000
vo: X11 running at 1024x768 with depth 24 and 32 bits/pixel (":1" =>
local display)
==========================================================================
Opening Video Decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576, Mpeg PES  
[PP] Sorry, postprocessing is not available
Couldn't find matching colorspace - retrying with -vop scale...
SwScale: -1 x -1
Sorry, selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening Video Decoder: [libmpeg2] MPEG 1/2 Video decoder v2.0
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
VDec: vo config request - 720 x 576, Planar YV12  
[PP] Using external postprocessing filter, max q = 6
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
REQ: flags=0x437  req=0x0  
VO: [xv] 720x576 => 1024x576 Planar YV12 
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 42 for hw scaling
[xv] dcx: 6 dcy: 19 dx: 0 dy: 0 dw: 1024 dh: 576
Detected video codec: [mpeg12] drv:1 prio:0 (MPEG 1 or 2)
==========================================================================
AO: [oss] 48000Hz Stereo Signed 16-bit (Little-Endian)
ao2: 48000 Hz  2 chans  Signed 16-bit (Little-Endian)
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested:
Signed 16-bit (Little-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 48000 Hz samplerate (requested: 48000)
audio_setup: frags:  16/16  (4096 bytes/frag)  free:  65536
Start playing...
*** [pp] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
[ws] PropertyNotify ( 0x1600001 ) WM_NAME ( 0x27 )
[ws] PropertyNotify ( 0x1600001 ) WM_ICON_NAME ( 0x25 )
[ws] PropertyNotify ( 0x1600001 ) WM_NORMAL_HINTS ( 0x28 )
X11 Window 6x51-1024x576
============================================================
[ws] PropertyNotify ( 0x1600001 ) _NET_WM_STATE ( 0x138 )
[ws] PropertyNotify ( 0x1600001 ) _WIN_STATE ( 0x11e )
[ws] PropertyNotify ( 0x1600001 ) _NET_WM_DESKTOP ( 0x136 )
[ws] PropertyNotify ( 0x1600001 ) _WIN_WORKSPACE ( 0x11c )
[ws] PropertyNotify ( 0x1600001 ) _WIN_AREA ( 0x120 )
X11 Window 6x51-1024x576
============================================================
X11 Window 6x51-1024x576
============================================================
X11 Window 6x51-1024x576
============================================================
[xv] dcx: 6 dcy: 51 dx: 0 dy: 0 dw: 1024 dh: 576
*** [pp] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes%
*** [vo] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
*** [pp] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes%
[ws] PropertyNotify ( 0x1600001 ) WM_STATE ( 0x6d )
A:  15.8 V:  11.4 A-V:  4.365 ct:  1.018  277/277  48% 76%  7.0% 249 0
0%
*** free_stream() called ***

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<


Greetings,

	Julian. (bad English, eh?) ;->





More information about the MPlayer-users mailing list