DVD-to-Creative Zen Conversion (Handbrake)

If you’re reading this post then you either don’t like my AviSynth/DGIndex method or you don’t like scripting in general. Either way, welcome. This method has much more mass appeal. It’s simplicity is almost ridiculous. Will I stop using the scripting method? Not on your life.

Shall we?

Preparation
Not really anything to prepare.

Software
Handbrake

Download and install Handbrake. Nothing groundbreaking here. It’s lightweight and easy on the eyes. After it’s installed, run it.

1. Click Browse and select the folder that contains the ‘AUDIO_TS’ and ‘VIDEO_TS’ folders of your DVD rip.
2. Select the Title. (Hint: look at the length of each one listed if there is more than one)
3. Click Browse and select a destination folder for the file-to-be. Make sure to select ‘AVI’ in the bottom drop-down of that Browse dialog window.
4. Pull down the Encoder menu and select XviD.
5. Pull down the Audio Encoder menu and select MP3.
6. Pull down the Crop Select Option menu and select No Crop. (I don’t trust ‘Automatic’ here)
7. Under Size, type ‘320′ in the Width field. Height will be filled in automatically.

Click on the Video tab and follow the next screen shot.

8. Under Advanced Encoding Settings, populate the check box if you want to enable 2-Pass Encoding. Personally, I don’t feel it’s necessary but to each his own.
9. Under Quality in the Avg. Bitrate field, put in anything between 300 and 700. You can go lower or higher, but again to each his own. Zen supports up to a combined audio/video bitrate of 1.0 Mbps so use your best judgment.
10. Under Framerate, select what corresponds with your DVD rip. Generally, movies are 23.976 and most TV shows and television-based material is 29.97.

Click on the Audio & Subtitles tab and follow the last screen shot below.

11. Under Audio Tracks, pull down the Track 1 menu and choose your preferred audio stream. Note: If there’s more than one, look for English (AC3) (Dolby Surround) and select it if available. If you don’t see that option, no biggie.
12. Pull down the Track 1 Mix menu and select Stereo.
13. Under Audio Quality, choose your preferred Bitrate and Sample Rate with the pull-down menus.

Click Start in the upper-left corner and go have a beer. You’ve earned it.

DVD-to-Creative Zen Conversion Tutorial (XviD)

This is what the Zen looks like

Preparation
You will need to download and install some free and legal software for this guide.

DVDFab HD Decrypter
DGMPGDec
AviSynth
VirtualDub
NicAudio (plug-in for AviSynth)
TDeint (plug-in for AviSynth)
MeGUI

Rip DVD
Launch DVDFab HD Decrypter and then insert the DVD into your DVD-ROM drive.

dvdfab-main

1. Switch to Main Movie mode. We don’t need to unnecessarily rip special features and other extra content.
2. Choose a destination folder for the ripped files.
3. Select the main movie title VOB from the list (Hint: look at the Play Time column to determine this).
4. Select the audio track that you would like to include.
5. Click the Start button to begin the rip.

Index MPEG-2 Stream
Next we’ll need to index our MPEG-2 stream so that AviSynth can properly send it through to the XviD encoder. We want to open the folder that contains our newly-ripped DVD files and launch DGIndex also, found in the install path of DGMPGDec.

rip folder main

Sort the files so that the VOB files are grouped together and sequential. You can ignore the IFO and BUP files. Also, pay no attention to the fact that I switched movies amongst my screenshots. ;-) They serve merely illustrative purposes, but the idea remains.

With your mouse and CTRL key, select all of the VOB files and drag them to DGIndex.

dgindex-main

Pull-down the Audio menu and select Output Method - Demux All Tracks

dgindex-audio

Now pull down the Video menu and select Field Operation - Forced Film

dgindex-video

Note: This step assumes that the content on your DVD is film-based (23.976 FPS). Leave comments for this post and let me know if you need to know what to do in other cases.

With all of that done, all that’s left is to pull down the File menu and select Save Project. Select a destination folder and let it go. DGIndex will scan the entire length of the movie quicker than real time; it should only take a few minutes. When it’s finished, you will have a D2V file and an AC-3 file.

AviSynth Script
Open up notepad, or your favorite plain text editor, and copy the following lines into it:

loadplugin(”…\Program Files\AviSynth\plugins\…\dgdecode.dll”)
loadplugin(”…\Program Files\AviSynth\plugins\…\nicaudio.dll”)
loadplugin(”…\Program Files\AviSynth\plugins\…\tdeint.dll”)
v=mpeg2source(”…\movie.d2v”).lanczosresize(320,240).tdeint()
a=nicmpg123source(”…\movie.ac3″).ssrc(44100)
clip=audiodub(v,a)
return clip

Of course, it’s up to you to complete the file paths and names in each line. The text above would never work as is - remember- illustrative purposes only. Once that is done, save it with a *.avs extension and open it in VirtualDub. You should be able to scrub through the film.

vdub-main

Encoding with MeGUI
Since the AviSynth script works in VirtualDub, it will work in MeGUI.

megui-videosteps

1. Click the Open button and select your script.
2. Click the Open button and choose your destination and filename.
3. Pull down the Codec menu, choose XviD, and then pull down the File Format menu and choose AVI.
4. Pull down the Video Profile menu and choose “XviD ‘>90% comp. check’(HQ)”.
5. Click on the Config button.

megui-xvid-config

1. Pull down the Mode menu and choose CBR - constant bit rate.
2. In the bit rate field, type 500.
3. Pull down the Motion Search Precision menu and choose 6 - Ultra High.
4. Pull down the VHQ Mode menu and choose 4 - Wide Search and then click OK.

Now we move on to Audio.

megui-audiosteps

1. Click the Open button and choose your script again.
2. Choose your destination and filename.
3. Pull down the Codec menu and choose LAME MP3.
4. Pull down the Audio Profile menu.
5. Click on the Config button.

megui-mp3-config

I recommend switching Encoding Mode to CBR, ensuring that the Bitrate is at 128, and then making these settings a New profile by clicking on New and giving it a name. Click OK when you’re done here.

megui-enquque-001

Back at the main window, click on both Enqueue buttons. This will add both Video and Audio conversion processes to the Queue tab. Be patient after clicking Enqueue for Video encoding. It seems to run a quick 3-5 second “invisible” analysis.

megui-queue-003.png

Here, all that needs to be done is click Start. Depending on your processor speed/type/quality etc. you may now have some real time on your hands. Chill. It’s Miller Time! When MeGUI is finished you will have an AVI file with no sound and an MP3 file.

megui-muxer-menu-001.png

The two files need to be “merged” together, or “muxed”, into one AVI file. Pull down the Tools menu and select Muxer - AVI Muxer.

megui-muxer-003.png

1. Click on the Open button and select your newly-encoded AVI file.
2. Click on the Open button and select your newly-encoded MP3 file.
3. You can either keep the appended filename and location or click the Open button and change it.
4. When you’re done click the Queue button.

megui-mux-job-waiting.png

Back on the Queue tab, you will now see the Mux process waiting to be…well processed. Click the Start button to begin muxing. This is a very quick process. When muxing finishes you are done! All that’s left to do is sync that bad boy to your Zen and enjoy!