• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

how to make GREAT looking XviD rips!

NuclearFusi0n

Diamond Member
I used XviD cuz it kicks the crap outta divx. you want Koepi's latest development build available at http://roeder.goe.net/~koepi/xvid.shtml

EZXviD guide v. 0.1a - 03/06/03
by NuclearFusi0n

Programs you need:
AVISynth 2.5.0 Beta - http://sourceforge.net/project/showfiles.php?group_id=57023 - Install this to C:\Program Files\AVISynth\

DVD2AVI 1.76 (DO NOT USE THE LATEST VERSION, 1.77.x) - www.doom9.org/software2.htm - Extract this to its own folder.

Gordian Knot 0.27 - executable only distribution (Listed under "DivX / MPEG-4 Encoders" at www.doom9.org/software2.htm) - Extract this to its own folder.

mpeg2dec - mpeg2 decoding plugin for Avisynth (Listed under "Support Utils" at www.doom9.org/software2.htm) - Extract this DLL to the same folder at the Gordian Knot .EXE listed above.

mpeg2dec3 - http://ziquash.chez.tiscali.fr/ - extract the DLL to C:\Program Files\AVISynth\

VirtualDubMod - http://virtualdubmod.sourceforge.net/ - Extract this to its own folder.

VirtualDubMod needed DLLs (get the lastest version - http://virtualdubmod.sourceforge.net/ - Extract this to the same folder as VirtualDubMod



1.) Rip your DVD with DVD Decrypter (www.dvddecrypter.com) It's fairly self explanatory, just start it up and click rip for most cases. 😀 Ask questions if you have problems

2.) open VOB in DVD2AVI (1.76, NOT NOT NOT 1.77.3!! get 1.76 from www.doom9.org)
a.) file - open, open first vob file (after that, all should be listed) hit ok
b.) video > idct > 64 bit
c.) video > field operation > none
d.) color space should be YUV
e.) audio > output method > demux

3.) hit F5 for preview and wait
a.) looking at what type of video, you'll judge what kinda audio and vid settings you need. audio will generally be left untouched)
b.) it should say FILM xx% in the "video type" box and "progressive" in the frame type box.if it doesn't you will need no either deinterlace (a bitch) or IVTC (also a bitch) so if you see the film xx% (the percent should be above 90ish, and should be climbing the longer you let it play)
c.) press esc to stop
d.) so if it is 90% or higher, press esc to stop previewing, and choose Video > field operation > Forced FILM
e.) take a note of the aspect ratio on the left also 4:3 means it's NOT anamorphic, 16:9 means it is anamorphic - you'll need to know this at a later step.
f.) choose file > save project. this will make a d2v file and an ac3 file (this is the audio track) Note the delay value, it can be either negative or positive. it is in the AC3 file name

4.) open your Gordian Knot
a.) click open in the bottem left hand corner - choose your d2v file from DVD2AVI
b.) next to the open button, make sure it is set for "23.976" FPS
c.) this is where you choose the bitrate. should be under a tab
d.) under Audio A - choose "Size" and click select, and choose the *.ac3 file that DVD2AVI made - should be in the same directory
e.) now on the "codec" choose Divx 5 (all that does is help calculate the bitrate, it doesn't change the codec you'll be using)
f.) now under total size, choose 1CD = 700 MB. then click 2 CDs. it should say 1400 MB on the "Totaly File Size" - there is a box that says "Video Size", under the average bitrate. remember the value in KB.
g.) now go over a bit, to "resolution" choose NTSC on the left, and NTSC anamorphic (if it's 16:9) and NTSC non anamorphic (if it showed 4:3)
h.) click auto crop to get rid of the black bars
i.) make sure the values are even (and make sure the auto crop was correct, adjust the values as you see fit)
j.) now, look at the "bits/(pixel*frame)" box at the bottom this is where your judgement comes into play. you want a resolution that keeps the bit/pixel at 0.200 or higher and doesn't screw up the aspect ratio correctness (i prefer to keep the aspect ratio error under 1%)
k.) choose "w-modul" 16, and H modul 16 in the resolution box, then press up and down to find the right resolution. watch the bit/pixel box change.
l.) if the aspect ratio error is over about a percent, try cropping a bit more (maybe one or two pixels on each side) until the aspect ratio is close enough, or just choose a different resolution
m.) now, go the the window where you see a picture from the video choose "save and encode"
n.) choose neutral bicubic as the resize method, on the upper right hand side. Try to remember your bit/pixel value.
o.) then just press SAVE, not save and encode. save the AVS file wherever you want to, same directory prefereable

5.) Edit the AVS
a.) now, open up the AVS file with notepad and delete every line with a # in front of it **DO NOT DELETE A LINE THAT DOESN"T START WITH # **
b.) now change the first line from LoadPlugin("C:\PROGRA~1\GORDIA~1\mpeg2dec.dll") to LoadPlugin("C:\Program Files\AVISynth\mpeg2dec3.dll") . This will greatly increase your encoding speed.
c.) If you have a fairly high bit/pixel ratio (.275 or above) i suggest you change from neutral bicubic resize to LanczosResize. Just do this by changing the line BicubicResize(x,y,0,0.5) to LanczosResize(x,y) subbing in the real numbers instead of 'x' and 'y'
d.) save the AVS file. the complex part is over!!

6.) with Virtual Dub Mod*
a.) File > Open video file...., choose the AVS file you made
b.) make sure XviD is installed.
c.) choose video > fast recompress. then open video > compression.
d.) choose "XviD MPEG-4 Video Codec" and press configure
e.) PRESS LOAD DEFAULTS. Then choose "2 pass - 1st pass"
f.) use these settings:
xvidsets.png

(Use the H.263 quantization size if you like smoother video with a little less detail, and MPEG type if you like slightly blockier video with a lot more detail. If your bitrate is high enough, just go for straight MPEG quants, and revert back to H.263 if you think it is too noisy)
g.) press OK three times to get back to the main virtualdubmod window. Press File > Save as AVI... choose a random filename, this is just the firstpass, and it will be a useless file only a few KB in size. Check on the "Don't run this job now...." box.
h.) Click OK, get back to the main virtualdubmod window. Open the compression box again (Video > Compression) and click configure
i.) choose "2 pass - 2nd pass int
f.) enter the size you want, in KB. you found this value in step 4f. press OK twice to get back the main virtualdubmod window.
g.) Press File > Save as AVI... choose a filename for your file - this is the actual video that will be encoded. Check on the "Don't run this job now...." box. Press OK, back to the main vdubmod window.
h.) File > Job control. Press start.
i.) This will take a while! chill out, smoke a bowl or two and take a nap.
j.) It's done? good. File > Open video file...choose the second pass avi, you chose the filename in step 5g. Click open.
k.) set video > direct stream copy, and audio > direct stream copy. Choose audio > AC3 audio, then select the AC3 file you got from step 2f.
l.) choose audio > interleaving. Change preload to 96, and interleave audio every 96 ms, NOT 96 FRAMES! change the delay to the value you got in step 3F.
m.) file > save as avi. this is pretty much your final product (you still need to split it into 700 megabyte peices if you intend on burning to a cd). go ahead and watch this movie, make sure it's working correctly.

7.) Splitting into 2x700
a.) Close VDubMod, restart it.
b.) Open the AVI you got from step 6M. slide the slider over to the middle, so that the status bar shows you are at the [700 MB] spot. Press Shift + Arrow keys to jump from keyframes to keyframe. You must split the AVI on a keyframe. (A Keyframe is marked by a [K] in the status bar)
c.) Find your optimal splitpoint. I, personally, like to split at scene changes, but that is sometimes not possible without making the files imbalaced (disc one being 710 MB and disc two being 690 MB for instance) find the keyframes you want to split on. write down the keyframe's frame number.
d.) when on the keyframe you want to split at, press home, then press ctrl + right arrow, then end. This selects the second half of the movie. Press delete.
e.) Make sure Video > Direct Stream copy is set, and audio > interleaving is set to 96 ms / 96 ms. Delay should be zero. There is no need for setting the delay when splitting a file.
f.) Press File > save as avi. This is your disc one. It should only take about ~5 minutes to do this.
g.) File > Close Video file. Open up the file you made from step 6M. Edit > Go To. Type in the keyframe's frame number. use the left arrow key ONCE to skip one frame back from the keyframe. Press end. Press ctrl + left arrow to move to the beginning of the movie, and press home to select the first half of the movie. Press delete.
h.) Make sure Video > Direct Stream copy is set, and audio > interleaving is set to 96 ms / 96 ms. Delay should be zero. There is no need for setting the delay when splitting a file.
i.) Press File > save as avi. This is your disc two. It should only take about ~5 minutes to do this.
j.) The end.
 
post this in software.. i'm kinda getting tired of all the

"how do make dvd to divx" threads....

thanks for your time
 
i'm sure this is for "backup" purposes only? 😉

i used to get good looking rips using Fair Use and about 10 encodings stitched together. these days i don't even bother with the conversion, just take the whole thing.
 
Originally posted by: Pepsi90919
Originally posted by: aves2k
Originally posted by: Pepsi90919
i don't like step-by-step instructions, i like to understand what it is that i'm actually doing.

what is a 'gordian knot'

http://gknot.doom9.org/

that doesn't even tell me what it is.

Gordian Knot started out as a simple bitrate calculator for DivX encoding but has evolved to become an integrated package or tool for the entire process of DivX encoding.
 
Hmm...Wouldnt it be 100x easyer and faster to just rent the vhs instead of the dvd and copy that 😀 Last time i tryed to rip then encode a dvd took over a day
rolleye.gif
Copying a vhs takes playtime or less 😀
 
Originally posted by: murphy55d
i do agree though that xvid is superior.
<-- New to this XVID talk. How is it better than DIVX? File size? I can't imagine picture quality would be better ...
 
Originally posted by: chiwawa626
Hmm...Wouldnt it be 100x easyer and faster to just rent the vhs instead of the dvd and copy that 😀 Last time i tryed to rip then encode a dvd took over a day
rolleye.gif
Copying a vhs takes playtime or less 😀

You are joking right?
 
Back
Top