Digital Video Forums  

Go Back   Digital Video Forums > Other > Archive (Closed) > TMPGEnc

LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 23 Oct 2005, 12:02 AM   #1
Demigod of Digital Video
LT. Columbo's Avatar
Join Date: Nov 2004
Location: Los Angeles, CA
Posts: 10,671
Default Basic AVI to DVD conversion using TMPGEnc Plus (including Audio Sync Correction)

Basic TMPGEnc .avi/.mpg to DVD conversion guide

NOTE: At the end of this guide there is a printer friendly zipped .pdf document
Credit: photo angel2004

This is a very basic guide intended to help those new to encoding. This guide will work for various file types; DIVX & XVID compressed AVI’s, MPG/WMV/MOV formats. In order to convert to DVD, the free version of tmpgenc will not work, as it only supports mpeg-1 (VCD) encoding.You will need the full version TMPGenc Plus.

NOTE: To convert .MOV files, you need the Quicktime Reader Plug-in for TMPGenc installed

Quicktime Reader Plug-in:

TMPGenc plus & TMPGenc DVD author:


Media player classic:

AC3 ACM Decompressor:

AC3 Filter:


NOTE: If you wish to convert to VCD/SVCD the procedures are basicly the same, except for the template
used and not adjusting the bitrate.

STEP 1: Before you load the AVI, check the framerate. This step is critical to ensure a smooth playback.
An easy way is to simply right click the file, go to Properties>Summary. As you can see this
File is 23 fps and has AC3 audio. To encode a file with AC3 audio, you need the AC3 ACM de-
compressor installed, and I suggest the AC3 filter for playback.

NOTE: If your avi with AC3 audio crashes TMPGenc, Use "AC3FIX" to correct it.
TMPGEnc (and several other programs) are very finicky about correct AC3 headers - and it seems that most XVID-AC3 files do NOT have the "perfect" AC3 headers.


Another option is to change the audio to a .WAV file using Virtualdub. Load the file. Go to "video">Direct stream copy. Under "audio">full processing mode, Click "audio" again. click Conversion check 48,000Hz and check "high quality" and ok. Go to "audio" >compression, select "no compression" (PCM) and ok. Finally go to FILE> save WAV. this will produce a .wav file (audio only). You will use this as the audio input for TMPGenc. see screenshots below.

Finally, the method I use is to keep the AC3 audio unchanged when making a DVD. I use the wav file method outlined above as the audio input, sort of like a “dummy” file, for the mpeg-2 conversion, but when I AUTHOR the encoded file I use DEMUXED AC3 audio from Virtualdubmod as my audio source in TMPGenc DVD Author. Authoring a DVD with TMPgenc DVD author (different than TMPgenc plus) is the second and final step to making a DVD.

If your file has mpeg-1 layer 3 audio no conversions are needed to satisfy TMPGenc.

STEP 2: Open TMPgenc Plus, the wizard will open. Close it. The first thing you need to do:

Go to the TMPGEnc's Option menu and select Environmental settings. From there, select the
VFAPI Plug-in tab.

There you see a list of various reader plugins installed for TMPGEnc. The one that's called DirectShow Multimedia File Reader is the one that we're looking at. As a default, its priority is -1. Select the item and right click on it. Choose Higher priority and repeat this until the "Priority" for this item is higher than any other plugin's priority in the list (usually 2). LEAVE this set always. I have found 50% of files won’t even open or produce write stream errros unless this is set.

Since my source is 23 fps we select NTSC(same for 29.97 fps), if it were
25 fps, select PAL. Be sure to set the audio on the bottom right to CBR MPEG-1 layer II audio
(mp2). The low resolutions and 16:9 settings won’t be used in this guide as to keep
things simple.

Click next….

STEP 3: Load your source Avi file, and if your using a wav file as mentioned above, use the browse button
Beside the audio pane as you did for the video pane to load it. . At the bottom of this screen
where it says : “expert setting for source”, under “content of video” set to FILM
MOVIE(ONLY If source file is 23 fps!) otherwise leave alone!

Click next…

STEP 4: On this screen click “other settings”

STEP 5: On this screen (video tab) make sure under framerate it says 23.976 (internally 29.97)
and under encode mode, 3.2 pulldown when playback. Leave the rest.
NOTE: If your source is 29.97 or 25 fps, skip this step (don’t adjust anything on video tab)
Click the advanced tab

Under “video arrange method” select keep aspect ratio 2. This will keep the original file in the
same apect ratio. SELECT inverse telecine, or your file will have horribly “jerky” playback.
Leave the rest.
unchecked if 29.97 or 25 fps)

Click ok….then click next.

STEP 6: Use your mouse pointer to slide the blue bar on the bottom to fill desired amount of disc space or
to a video bitrate of your choosing. Notice how disc space used (in %), moves along with video
bitrate values. They always correspond to one another. Here I only want Ż of the disc used as
I have another file I want to add later to this DVD. You can see the space used is roughly half of
a disc, and still have a good video bitrate value. You’ll find this is an accurate measurement
to the nearest ten percent( give or take). I like to leave a bit of room for my menus later, when I
AUTHOR with TMPGenc DVD author.

Click next….

STEP 7: Save with a new file name, to a destination folder on your PC using the browse button. Check
“Start Encoding Immediately”. Click ok, done. The batch encoding would be used if you
want to encode multiple files in a row, say overnight, which I find to be an excellent feature.
when it’s all done, play back the file using Media player classic(it works best IMO). Make
sure the audio is in sync throughout, and has smooth playback. Any files with bad frames or
corrupt headers may cause TMPGenc to make the audio go out of sync, but this can be
corrected by using some of the more advanced features, which I won’t get into in this guide.
So if all looks good, you’re ready to AUTHOR and finally burn to a disc!

Authoring with TMPGenc DVD Author

Open TMPGenc DVD Author, click "create new project".

click "add FILE". Find your encoded file that you made with the other tmpgenc program, load it.

This screen will pop up, click ok.
NOTE: The blue circle indicates where you would load Demuxed AC3 audio from virtualdubMod (optional, but the method i prefer). How to Demux the AC3 is explained at the end of this guide.

Now at the very top of screen "create menu" here you can experiment and play to see what background you want, layout, titles, fonts, text style etc. Some experimentation is useful here. I suggest going to the top right and clicking "options" and help section, to learn more about the settings of this program and menu features. There are nice guides that are very easy to understand. For this guide i'm choosing a default background image only. To the far left you see one file on one track, if you wanted to join 2 files together, you would simply click "add file" again, NOT "add new track". Adding a new track will create completely seperate file(s) on the final product and would be used when say, you have 2 different TV shows for example.

Here under "first play action" I like my DVD to show the menu, and allow me when to choose when the video starts so i have "display main menu" chosen. Also adjust the settings you prefer under "menu display settings".

When your satisfied with all of your settings here, at the top right go to "output" and check "create dvd folder" under "output settings", then click "begin output". That's really all there is to it. You will end up with a folder containing a video ts and audio ts folder. The audio ts folder will be empty as it should be. The main folder containg the audio and video ts folders can be given a name, and IT, used to burn with NERO or whatever you use to burn. I suggest playing back the final product on the PC with media player classic to see how everything looks, and using a re-writable disc untill you are comfortable with this program to avoid mistakes and wasted discs.

Demuxing AC3 Audio with VirtualDubMod

Open VirtualDubMod, under FILE, load your original avi file. Go to "STREAMS", then "stream list". You will see this screen. Click "demux" and save with a name. This will give you an AC3 audio file that can be used as the audio input for TMPGenc DVD author as shown on the screenshot above by the BLUE CIRCLE.

NOTE: As mentioned earlier, you may find the AC3 won't be accepted when you try to load it in DVD author as the audio source, but can easily be fixed in a couple minutes with "AC3fix" as mentioned at the very start of this guide.

let me know of any comments, suggestions, questions or even typo's
Attached Files
File Type: zip‎ (946.3 KB, 1752 views)
"One day men will look back and say I gave birth to the 20th Century". Jack The Ripper - 1888
Columbo moments...
"Double Shock" "The Greenhouse Jungle" "Swan Song" FORUM RULES
"You try to contrive a perfect alibi, and it's your perfect alibi that's gonna hang ya."
(An Exercise In Fatality, 1974)

Last edited by LT. Columbo; 11 May 2007 at 11:30 AM
LT. Columbo is offline  
Old 23 Oct 2005, 04:34 AM   #2
Lord of Digital Video
Lord of Digital Video
tigerman8u's Avatar
Join Date: Aug 2003
Posts: 2,123

looks very good LT. And I am a testimony thatTmpgenc products are very good.
tigerman8u is offline  
Old 6 Nov 2005, 10:08 AM   #3
Demigod of Digital Video
LT. Columbo's Avatar
Join Date: Nov 2004
Location: Los Angeles, CA
Posts: 10,671
Default Audio sync correction with TMPGenc

How to correct audio sync with TMPGEnc

NOTE: This method ONLY applies to files that have audio out of sync with the video THE SAME AMOUNT at any given point of the clip. This method will not work if your audio gradually gets more and more out of sync as the file plays.

Double click "source range" from STEP 5 of this guide,

This screen will pop up.

Enter the appropriate value under "under gap correct". It can be a positive value such as 500, or a neg value such as -500. The number represents milliseconds (1/1000th of a sec), so a value of 500 would be 1/2 a second, 1000, one second and so on. In relation to the video, if the audio is too EARLY you enter a NEGATIVE value. If it's too LATE you enter a POSITIVE value. Click OK and carry on the rest of your encoding steps as usual.

From using this many times i can successfully notice and correct sync issues down to 3/10ths of a second. The main thing is to determine if it's early or late, using peoples lips aren't good if you want real accuracy, choose sudden sounds, such as a hammer being hit or something like that, or someone knocking on a door. It will take trial and error untill you figure out the correct value, in time you can get it right the first time almost always from a little experience.

Last edited by LT. Columbo; 29 Jun 2006 at 04:30 AM
LT. Columbo is offline  
Old 7 Nov 2005, 10:16 AM   #4
Not a god of digital video
blutach's Avatar
Join Date: Oct 2004
Location: is everything!
Posts: 24,627

This guide has been locked as it is for information purposes only. Please post any comments or questions in the forum.


Essential progs - [PgcEdit] [VobBlanker] [MenuShrink] [IfoEdit] [Muxman] [DVD Remake Pro] [DVD Rebuilder] [BeSweet] [Media Player Classic] [DVDSubEdit] [ImgBurn]

Media and Burning - [Golden Rules of Burning] [Media quality] [Fix your DMA] [Update your Firmware] [What's my Media ID Code?] [How to test your disc]
[What's bitsetting?] [Burn dual layer disks safely] [Why not to burn with Ner0] [Interpret Ner0's burn errors] [Got bad playback?] [Burner/Media compatibility]

Cool Techniques - [2COOL's guides] [Clean your DVD] [Join a flipper] [Split into 2 DVDs] [Save heaps of Mb] [How to mock strip] [Cool Insert Clips]

Real useful info - [FAQ INDEX] [Compression explained] [Logical Remapping of Enabled Streams] [DVD-Replica] [Fantastic info on DVDs]

You should only use genuine Verbatim or Taiyo Yuden media. Many thanks to for their supply and great service.

Explore the sites and the programs - there's a gold mine of information in them

Don't forget to play the Digital Digest Quiz!!! (Click here)

blutach is offline  


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Audio Sync Correction mr_wednesday TMPGEnc 7 2 Nov 2006 09:55 AM
About audio sync commented in "Basic AVI to DVD ..TMPEG" Intercont TMPGEnc 11 6 Jul 2006 08:15 AM
Feedback on LT. Columbo's Audio Sync Correction guide anonymez DVD Authoring and Editing 11 6 Nov 2005 06:15 PM
audio and video out of sync after conversion prinzNeo AVI, DivX/Xvid 11 11 Dec 2003 10:41 PM
NTSC 3.11 to Pal 5.02 Conversion Help Needed on Audio sync Restorer DivX/XviD Conversion/Encoding 3 15 Jun 2002 07:06 PM

All times are GMT +10. The time now is 09:48 PM.

Kirsch designed by Andrew & Austin

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright © 1999 - 2018 Digital Digest

Visit DivXLand   Visit