On Wednesday 03 January 2007 18:12, Tomi Ollila wrote: > Andrew Baumann <[EMAIL PROTECTED]> writes: > > I have an MPEG elementary video stream and audio stream in separate > > files, that I would like to transcode to DVD format. The video is already > > in a suitable resolution and refresh rate etc. for DVD, although its > > aspect ratio flag is incorrectly set as 4:3 instead of 16:9. I want to > > transcode the audio to AC3 and add it to the video stream, which should > > be passed through. > > Why not re-encode audio separately and then mplex(1) audio and video > together. aspect ratio is not problem; if you spesify 16:9 in dvdauthor xml > file you'll get 16:9 as a result (though i am not 100% sure of that, test > it). > > ... but I have not muxed ac3 content so I can not be sure whether mplexing > with that tool works (It would be nice to know, though :D (if you tried > it)).
Thanks for the suggestions -- this worked pretty well. For the record, here were the steps I used: ffmpeg -i program.mpa -ar 48000 -ab 192 -acodec ac3 program.ac3 mplex -f 8 -o program.mpg program.mpv program.ac3 dvdwizard -T 'disc title' -N PAL -A en -t 'program title' -c 900 program.mpg (edit dvdwizard.xml, change aspect="4:3" to aspect="16:9") rm -r dvd && dvdauthor -x dvdwizard.xml Cheers, Andrew