[MEncoder-users] How to avoid A/V synchronisation pb

Philippe MONROUX phi2-monroux at wanadoo.fr
Tue Apr 29 09:52:30 CEST 2008


Hi,

First I apologize for my poor english. 

My goal is to x264 2-pass encode one dvd title to one 700 M cd with ogg
vorbis sound (not very original...)

So in first I  need to rip sound to know its  size (SoundSize) to have
better bitrate calculation (700-SoundSize)*1024^2*8/t/1000 

I've  read the  doc but  I'm not  sure about  my method  to  avoid A/V
synchronisation pbs.

Here is my method :

1) rip audio to audio.ogg --> SoundSize --> bitrate

2) pass 1 :
mencoder  dvd://1   -aid  128  -oac  copy  -vf   [filters]  -ovc  x264
-x264encopts [options-pass1]turbo=2:pass=1 -o /dev/null 

3) pass 2 :
mencoder  dvd://1   -aid  128  -oac  copy  -vf   [filters]  -ovc  x264
-x264encopts [options-pass2]:pass=2 -o out.avi

4) mkv creation...

My question  is about "-ovc copy" in  pass-1 and pass-2. Is  it a good
choice to A/V synchronisation pbs or  is there a better choice (I read
nosound is not a good choice).

Thanks in advance

-- 
Mxph




More information about the MEncoder-users mailing list