Steve Franks wrote: > Hi y'all, > > Can't seem to convert from dvd to xvid4 and still have the audio (mp3) > match the video. It's off by about 3 seconds over the entire video in > every one I've tried. Didn't seem to be an issue until the last > couple months when I upgraded.
The following should only be read if your source dvd is NTSC. If it's PAL the following will not help you AT ALL. The reason is that 90% of all NTSC DVD's switch framerate crazily during the studio bugs and intro credits. Sometimes just for laughs they switch framerate momentarily at every major scene change. You need to grok the VFR example at the bottom of this page: http://www.transcoding.org/wiki?Tutorials/Framerate_Conversion And then you need to realise that that example is very, very old and that I'm not convinced that it ever worked. In order for it to work, Transcode needs to detect framerate changes and do pullup and hard frame-duping as required... Whether that commandline does that in the typical case is unknown. The only way I have found to do this reliably is using mencoder: mencoder -oac copy \ -ovc lavc \ -ofps 24000/1001 \ -vf pullup,softskip,harddup \ -lavcopts vcodec=mpeg4:vbitrate=2400 \ -o mymovie.avi dvd://1 In this case it's the -ofps option and the pullup and harddup filters that are doing the magic, in combination with mencoder's framerate change detection.