DVD palyers and AVI compatibility

So you got a spanking new DVD player which screams out that its able to play DivX/XviD encoded AVI files. And after burning your favourite movie ona CD/DVD you pop the disk into the DVD player and sit back with a bowl of popkorn and Coke (i feel like i am promoting Coke …yikes!!!) and lo… your DVD player refuses to play the file or the file is played but it’s too jerky..skipping every second . Enters KTP… This will teach you how to re-encode AVI files so that you can make sure they will have maximum compatibility with stand alone players (although absolute compatibility is hard to ensure). Now because DVD players are different, and newer models will play more types of MPEG-4 files, this guide should only be used if you know that your AVI file isn’t standalone compatible (and preferably if you know what types of AVI/MPEG-4 files your DVD player will play). It is very important that you check your DVD player’s documentations or their official website to see if they have any information on AVI/MPEG-4 compatibility.
Now starts the dirty work.
Softwares Required :
Note :
When re-encoding, your output will always lose some type of quality compared to the source, whether it be noticeable or not. Your never going to improve quality by encoding with a different codec.
The Actual Dirty Work Begins from Here…
Install GSpot and start GSpot.Open the culprit AVI file (which hopefully needs some serious treatment) with GSpot. Note down the Runtime (in hh:mm:ss format), Bitrate (in kb/s format), FPS and the Audio Bitrate (in kb/s format) in the Video Section and Audio Section.
For example in the screenshot shown below

Runtime : 1:22:54
Bitrate : 1048 kb/s
FPS : 25.000
Audio Bitrate : 126 kb/s
Now start up VirtualDub and load the AVI file you wish to re-encode. Select the “Audio” drop down menu at the top . Ensure “Source audio” and “Direct stream copy” are selected.
“Source audio” should be selected by default, and it simply means that VirtualDub will use the audio that was found within the loaded AVI file (as opposed to “No Audio”, which uses no audio for the output, and “WAV audio”, which allows you to replace the current audio with the audio in a WAV file).
“Direct stream copy” (like the video equivalent) simply means that no processing will be done on the audio, and it will be copied over bit for bit from the loaded AVI file, maintaining the original quality and will be very quick.
Now click “Video” at the top and then click “Full processing mode”. Then again click “Video” at the top again and click on “Compression”.
After clicking “Compression…”, you will now have to choose the XviD codec.Sometimes you have more than on XviD listed (one with “FOURCC Code” “xvid” and another with “yv12″) – in this case, choose the one that has the “FOURCC Code” “xvid”. Click on “Configure” to continue.

After clicking on the “Configure” button, this screen will come up

Click the down arrow and select “Advanced Simple @ L5″ for the Profile @ Level. Many DVD players only support “Simple” or “Advanced Simple” profiles, and without QPEL/GMC support.
Click the down arrow and select “Single pass” for “Encoding type”.
Click the button below “Encoding type” until it says “Target bitrate (kbps)” on the button.
Enter in the bitrate number you wrote down from GSpot in the first step or for something more precise, click on the “calc” button next to it to open up the XviD bitrate calculator. Here, you’ll need to enter some of the other information we took down from GSpot, such as the duration, the audio bitrate, FPS and also the file size you want to achieve (either match the original file’s file size or choose one from the drop down list). Once you enter all of the information, the bitrate you need is calculated for you and the bitrate is automatically adjusted for you as well when you press “OK”.
Note :
One thing to note here is that to ensure maximum compatibility, try to make sure the bitrate isn’t too high, as you may risk problems with skipping. The range of acceptable bitrate will vary from player to player (so check your player’s manuals for more information).
Click the “more…” button by the side of “Profile @ Level” dropdown menu.The “XviD Configuration” screen will pop up. “Quarter Pixel” and “Global Motion Compensation” boxes must be unchecked! Do not put a check mark in those boxes! For maximum compatibility, uncheck the “B-VOPs” altogether, otherwise put a 1 in the “Max consecutive BVOP’s:”. Some experiment may be needed, as some players will not playback files with 2 B-VOPs, but other will if you deselect the “packed bitstream” option. If you have to use B-VOPs , either disable the “packed bitstream” option, or leave “Max consecutive BVOP’s:” at 1.Also set “Quantization type” to either H.263 for a 1 CD rip or to MPEG for a 2 CD or more rip.

After setting the above settings, now click the “Aspect Ratio” tab. Make sure it says “Square (default)” in the drop-down list below “Pixel Aspect Ratio” radio button.

Press “OK” to close down the “Profile @ Level” setup screen and return to the main XviD setup screen. There is an “Advanced Options” button there that you can click on to setup further options for XviD (like Motions search precision, VHQ mode).You’re done! Just keep clicking the “OK” button until you return to the main VirtualDub screen.
On your VirtualDub screen, click “File”, then click “Save as AVI…”. You cannot use the same name unless you are saving it to a different folder/directory than the orgininal AVI file cause VirtualDub needs to use that file to re-encode.
After clicking the “Save” button, VirtualDub will now start to re-encode the video file with the XviD settings you choose.
That concludes the KT for AVI compatibility with DivX/XviD/MPEG-4 certified DVD players.
Credits :
Original Page URL: Digital-Digest
Author/Publisher: jmet


1 Comment
Pingbacks