Log in

View Full Version : xvid with mencoder out of sync after ivtc


mencius
27th March 2006, 05:07
I encoded a music video from dvd to xvid using mencoder. Then I noticed the the audio was slightly out of sync with the video. I searched around and found people suggest using "-mc 0" option. From manpage the -mc option is "maximum A-V sync correction per frame (in seconds)".

So I tried adding that and no more a-v sync problem with new encode. Not that I can notice anyways; I watched it carefully many times and it does seem perfect.

So my question is do you have to use -mc when doing ivtc? Or am I doing something wrong in the first place? This is the exact command I used:
mencoder dvd://1 -dvd-device w: -chapter 1-1 -vf filmdint,crop=704:352:10:62,scale=704:396 -ovc xvid -xvidencopts fixed_quant=2 -oac mp3lame -lameopts preset=standard -mc 0 -o chiisa_q2_standard_filmdint_mc0.avi -fps 30000/1001 -ofps 24000/1001 -priority idle
Thanks.

ChronoCross
27th March 2006, 05:53
I wouldn't recommend going straight from DVD to xvid using mencoder. try looking up some ripping guides on how to do most of these things manually....but perhaps someone else can help you if you still choose to use mencoder to encode straight from dvd.