The attached simple AVItoDVDscript bash command shell file should allow you to take an AVI file and generate an NTSC DVD file. It may need a little tweaking for your application, since it's optimised for converting a PAL AVI file to an NTSC DVD file.
I use the more complex PALripit2 script to convert my old collection of PAL VHS tapes over to an NTSC DVD via a hardware PAL compatible DVD recorder. I first rip the DVD files into a 'dvd' subdirectory using DVD:rip, then run the script. It seems to work very well, with one proviso. One of the interim steps generates a 'raw' m2v file, which takes up about 50GB of disk space per hour of video. If you've got a big hard drive, it'll work great. If not, you may need to tweak the script to export some format other than 'raw' when you create the m2v file. Note that only the logic path where you answer 'y' to the question "Do you want to specify a start and end frame for video conversion? (y or n)" has been tested and verified. The advantage of this script is that it uses the mpeg2enc encoder, which seems to produce better quality, more DVD hardware-compatible output than the ffmpeg encoder. The mpeg2enc encoder has no audio codec, so you have to separate the audio and video information to separate files before processing the video file. I've added lots of comments around the transcode command lines, so it should give you a good start point from which to explore the transcode man pages and modify to suit your needs.
Jeff
On Fri, 2006-09-08 at 17:26 -0600, BrianO'Keefe wrote:
I'm sure it's simple but I checked the wiki and my lack of knowledge hasn't helped me figure out how I can transcode an mp4 video to dvd. Are there any simple tutorials? Thanks
AVItoDVDscript.sh
Description: application/shellscript
PALripit2.sh
Description: application/shellscript