This is an old revision of the document!
An interactive step-by-step guide created by LoRd_MuldeR is also available at http://mulder.dummwiedeutsch.de/etc/adm_wink/avi2dvd.htm (Flash required).
Let's review a couple of facts before going into the juicy details.
Use the Auto→DVD menu. It will setup most of it with sensible defaults. The only thing left to you will be to set the video codec to 2pass mode and enter the desired final size.
To be DVD compliant, the resolution must be :
How do i know if it is PAL or NTSC?
Click the info button (File→Properties). If the “Frame Rate” field is 25, it is PAL or SECAM. If it is 23.976 or 29.97, it is NTSC.
If it is not exactly one of these values, you will have to use the Resample(nbsp)fps filter to convert to either PAL or NTSC.
Now that you have identified the type of video, you have to resize it to a proper width/height. The simpler way is to use the “DVD res” button in the Video Filter Manager dialog that will do that automagically.
Warning: You cannot blindly resize to 720*480 or whatever. You must take into account the aspect ratio to do it properly. And the aspect ratio is not the same for PAL and for NTSC. The best is to let “DVD res” do it for you.
You have two codec families that are suitable for DVD creation: “DVD (lavc)” which is using libavcodec, or “DVD” which is using libmpeg2enc. They both have their pros and cons:
For DVD the total bitrate must be below 9.8 Mb/s. So to put it simply a max bitrate around 9(nbsp)Mb is okay. Assuming you will use 2 pass mode with DVD (lavc) you must enter the video only final size. So it is better to use the calculator first, that will compute the video size from the final size.
For DVD, audio must be 48 kHz and one of:
If the audio track from the source video is suitable, the best might be to use it and let the audio to Copy. Else select your favorite encoder (for me it would be TwoLAME).
Don't forget to setup the audio filter. Setup downmixing if needed and don't forget that the audio must be 48(nbsp)kHz. Use a resampling filter if needed.
So for example, you will set downmixing to Dolby Prologic 2, resampling to 48(nbsp)kHz, TwoLAME encoder at 160(nbsp)kb/s.
For DVD, if you are happy with one audio track and no subtitle, the best would be to select “MPEG PS A+V” as output format using the format menu. The resulting MPEG file will be suitable to authoring. Just hit the Save button and you will get foo.mpeg which can be authored afterward with your favorite authoring program.
Doing a multi track audio is a bit different, but not complicated. First you will save the audio, using the Audio→Save menu (of course, all of the above concerning audio is needed). You will get foo_1.mp2 file for example.
Repeat for all tracks you want to convert, changing the audio track using Audio→Main Track. At the end you will have foo_1.mp2, foo_2.mp2 etc…
Now select “MPEG video” as output container and hit the Save button. You will save as foo.m2v for example.
Once you have all your files, time to fire up mplex to create the MPEG file. The syntax will be
mplex -f 9 -i final.mpg foo.m2v foo_1.mp2 foo_2.mp2
final.mpg is then suitable for authoring.