/proc/self/jd

06 04 2005

Wed, 06 Apr 2005

DVD Audio Sync Issues Resolved

After far too many hours of poking, proding, waiting and searching, I believe the answer to my DVD problems has appeared. The workflow that seems to result in FUNCTIONAL DVDs that don't show horrible, seconds long, audio lag after playing for an hour goes like this:

- Import from DV camera with kino
- Load .mov files into cinelerra
- Edit and export as "Quicktime for Linux" selecting DV video and audio
- Convert the resulting .mov into an avi: mencoder -o [output.avi] -ovc lavc -oac lavc -lavcopts acodec=mp3 -srate 48000 [input.mov]
- Convert the avi into mpeg audio and video: transcode -i [avi-filename] -y ffmpeg --export_prof dvd-ntsc --export_asr 2 -o [output basename] -D0 -s2 -m [output basename].ac3 -J modfps -export_fps 29.97
- use mplex to create the vob files: mplex -f 8 -o [basename].vob [basename].m2v [basename].ac3
- Create a dvdauthor xml input file by hand or using qdvdauthor
- use dvdauthor to create the directory structure: dvdauthor -o [output directory]/ -x [input.xml]
- use mkisofs to create the iso image: mkisofs -dvd-video -o [output.iso] [input directory/]
- use dvd+rw-booktype to mark the DVD disc as a DVD-Rom.
- use growisofs or cdrecord-prodvd to burn the ISO.

I was worried that the conversion to AVI would kill the video quality since a 15GB quicktime file is being squeezed down into a 498MB AVI, the expanded back into a 1.2GB VOB. The picture and audio quality both seem excellent though, and the sync between the two is dead on.

posted at: 14:00 | path: | permanent link to this entry

powered by blosxom