[MPlayer-users] RFC: docs update for "how to create a high quality DVD rip"

Jack lt at speakeasy.net
Sat Jun 12 01:02:12 CEST 2004


Jason Tackaberry wrote:

>On Mon, 2004-06-07 at 23:35 +0800, Mick wrote:
>  
>
>>Yes,  sorry, thatwas a poor xample.  Lets assume i'm using vbr.  How do i do
>>2 pass encoding *and* have compressed sound in my final result.
>>    
>>
>
>Well, according to Rich's instructions, you should do something like:
>
>mplayer dvd://1 -ao pcm -aofile audio.wav -vo null
>lame -V 3 audio.wav audio.mp3
>mplayer dvd://1 -oac copy -audiofile audio.mp3 -ovc lavc -lavcopts [...]:vpass=1|2
>
>Let me know how that works out for you.  I'm curious if there are sync problems.
>
>  
>
I decided to test this and, uh, I can't make it work.  Mencoder just 
hangs on the first frame.  Can anyone see something that I'm doing wrong 
here?

I'm using this command line:
mencoder dvd://1 -dvd-device /dev/hdc -audiofile audio.mp3 -vf 
crop=718:366:2:54,scale=704:304 -ofps 23.976 -oac copy -ovc lavc 
-lavcopts [bunch o' stuff] -o darko.avi

this plays just fine, however:
mplayer dvd://1 -dvd-device /dev/hdc -audiofile audio.mp3 

I've tried it with many different mp3 files, and a few different DVDs, 
but the same thing happens.  It does seem to work if I give it audio.wav 
as the audio file, but why would I want to do that.  I've tried it with 
pre-4 and the latest CVS.

Mencoder output:

MEncoder dev-CVS-040611-15:20-3.3.2 (C) 2000-2004 MPlayer Team

CPU: Advanced Micro Devices Athlon 4 /Athlon MP/XP Palomino 1725 MHz 
(Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

Reading /home/lt/.mplayer/codecs.conf: Can't open 
'/home/lt/.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.
File not found: 'frameno.avi'
Failed to open frameno.avi
Reading config file /home/lt/.mplayer/mencoder: No such file or directory
font: can't open file: /home/lt/.mplayer/font/font.desc
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206 
chars)
Reading disc structure, please wait...
There are 32 titles on this DVD.
There are 28 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
success: format: 0  data: 0x0 - 0x5C46000
MPEG-PS file format detected.
Audio file detected.
VIDEO:  MPEG2  720x480  (aspect 3)  29.970 fps  9800.0 kbps (1225.0 kbyte/s)
[V] filefmt:65536  fourcc:0x10000002  size:720x480  fps:29.97  ftime:=0.0334
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
Opening video filter: [scale w=704 h=304]
Opening video filter: [crop w=718 h=366 x=2 y=54]
Crop: 718 x 366, 2 ; 54
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.3.1
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
audiocodec: framecopy (format=55 chans=2 rate=44100 bits=16 bps=0 sample=0)
Writing AVI header...
ODML: Aspect information not (yet?) available or unspecified, not 
writing vprp header.
VDec: vo config request - 720 x 480 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
SwScaler: reducing / aligning filtersize 6 -> 4
SwScaler: reducing / aligning filtersize 6 -> 4
SwScaler: reducing / aligning filtersize 6 -> 5
SwScaler: reducing / aligning filtersize 6 -> 5

SwScaler: BICUBIC scaler, from Planar YV12 to Planar YV12 using MMX2
videocodec: libavcodec (704x304 fourcc=58564944 [DIVX])
High quality encoding selected (non real time)!
Using constant qscale = 2.800000 (VBR)
Pos:   0.0s      1f ( 0%)   0fps Trem:   0min   0mb  A-V:  nan [0:0]


... and then it just sits there, using 99% cpu.

-lt




More information about the MPlayer-users mailing list