DivX3 in Gordian Knot
Go to the preview window and Select Save & Encode from the file menu.
Now you have quite a lot of options:
Knot will select a resizing filter for you depending on the bitrate. If you
don't like its selection modify it. Lanczcos is a good choice unless you have
very low bitrates (> 2h20 movies, or multiple audio tracks). In the latter
case simple can be a viable solution.
Then we have some more filtering options.
First of all the noise filter. If you think your source is very noisy you can use one of those filters. Personally, I'm not a big fan of such filters so I never use them.
Then we have the field operations.
If DVD2AVI showed your source as interlaced PAL and the preview was interlaced you enable Separate Fields here or FieldDeinterlace here (the latter is slower but of better quality).
If DVD2AVI showed your source as NTSC FILM below 95% you enable Inverse Telecine here. In all other cases set Field Operations to None.
Skip the subtitle section because you did those in r4r already (or you have
no subs of course).
And last but not least the compressibility check.
possible to run a short first pass to find out the optimal compressibility of
a movie (and make an even better resolution choice). Turn the Compressibility
check on and set it to 5%, then press the Now button, wait for a few minutes
until GKnot comes up again. The Edit button allows you to edit the AviSynth
script prior to performing the check but only experienced people should touch
that. Same goes for Codec settings which allows you to manipulate the codec
settings used for the compressibility check.
Once the check is done the Save as window will disappear and you'll notice some changes in the Bits/(Pixel*Frame) part of the window:
The compressibility check gives you a rough indication of how good a movie can be compressed. The 3 values shown above are related as follows: the 0.831 is the value that the compressibility check returned. If the Bits/(Pixel*Frame) value right above the Load button matches this value you have perfect quality, going for a higher value (= a lower resolution) would be overkill as the movie wouldn't look any better.. The limit of the codec has been reached. The 23.7 mean that with the given resolution, your movie will have a 100 - 23.7 = 76.3 % lower Bits/(Pixel*Frame) value than an ideal quality movie (note that ideal quality doesn't mean as good as the DVD.. it means as good as the selected codec allows). The percentage field is marked in red because the value is rather low and GKnot means to suggest that you should lower the resolution for a better result. A percentage value (as displayed) in the range of 40-60% should yield optimal results, a value above 80% is serious overkill. Note that features like B-frames will actually permit a lower Bits/(Pixel*Frame) value and the movie will still look good, so you should take those values with a grain of salt (I happen to know that the movie in question will still look OK with the settings chosen).
You can increase the Bits/(Pixel*Frame) value by decreasing the resolution. Once the value is in the acceptable range set the trim option to Both (enc. credits separately).
This way the end credits
will be encoded in constant quality mode at a really low bitrate and then appended
to the main movie.
Now press the Save&Encode button which will bring up to save file dialogues (just click OK in both of them) and then you'll get to the encoder tab:
First you'll get a stats screen with the current options. Keep in mind that since GKnot does the audio encoding for you the final bitrate won't be correct and the audio size won't be either.
Then the encoding options. The default values are good. Recalculate bitrate if needed should be checked in any case, as should append credits. Also check delete intermediate files so that only the final AVI remains in the end. Finally you can change the end credits compression levels if you want to.
If you activated IVTC the IVTC in avs -> correct Frame Count. will not be
grayed out and you have to check it.
Then go to the audio1 tab:
All you have to do here is check Just Mux and you're all set. If you have a 2nd audio track now go to the audio2 tab and do the same.
Now go back to the DivX3 encoder tab. If you are getting shitframes (i.e. the video freezes for a moment, you get a garbled picture, that kind of stuff) you should consider checking Use "Anti-Shit=)" but as the warning says that comes up if you try this.. use this feature with care..
the Add Job to Encoding Queue button will add the job you just set up to the
queue. You'll then be asked whether to start encoding or not. This allows you
to add multiple jobs to the queue and then encode them all without any further
manual interaction. It's of course also possible to add jobs while the encoding
is already ongoing by simply starting to follow this guide from the top again
(of course you must not close GKnot and do everything in the already running
instance of GKnot).
From now on you won't have to do any manual interaction until your AVI is finished. You can even safely work on your PC while it's encoding, just make sure you don't kill any windows that suddenly will pop up. That's GKnot launching different programs on its own.
This document was last updated on November 22, 2003