DivX 5 Enc documentation

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.


This documentation is probably not complete, but is always better than nothing :).
If you have questions, suggestions, please e-mail me.


FAQ


What i can do with DivX 5 Enc?

With DivX 5 Enc you can encode every type of AviSynth file and you can setup 90% of the DivX 5 codec options in an easy way.
You can also do a compressibility test or size prediction that work with every AviSynth file and take care of all the DivX 5 options you set.
+ You can setup quickly a lot of jobs (and save/load basically every settings & jobs).
+ DivX 5 Enc is rocking stable :D.



What kind of jobs DivX 5 Enc can run?

ATM DivX 5 Enc is able to run 8 type of jobs:

    - Original 1-pass jobs
    - Original 2-pass jobs (the 2 passes are automatic)
    - 1-pass jobs
    - 1-pass quality based jobs
    - multipass-pass 1st pass jobs
    - multipass-pass Nth pass jobs
    - compressibility test jobs
    - size prediction jobs

You should well know how all those things works (if not, take a look at the official DivX documentation).



But what the hell is a compressibility test?

A compressibility test give you an idea of the quality of your final encode, taking into account the current avisynth file & the current DivX settings.
The power of the test: this test can be done in 5 minutes and is really accurate.
The result of the test is a % value. To make a good encode you should stay in the 60%-80% interval (but this is a subjective thing, you must do your own tests).

Things that increase/decrease compressibility are:

    - Resolution
    - Resizing method
    - Filters used
    - DivX options

So if you are below the good range, try to change something in order to increase compressibility.
An example on how to do a compressibility test can be found here (in this example Gordian Knot is used to obtain the bitrate).
You can read also the tests i've made, this help to have an idea of the error present in the method.
Also read this useful thread at Doom9.



But what the hell is a size prediction?

Size prediction is a nice toy :).
It's something similar to the compressibility test function, but enables you to predict the size for every quality based encode at a given quant.



.avs files, what the hell is this?

AviSynth is a powerful scripting language, with a bit of experience you can frameserve avi, mpeg, vobs to DivX 5 Enc.
You can also do crop, resize with a huge amount of methods, deinterlacing, ivtc and a lot of other things.
The fastest way to create an AviSynth file is to use GordianKnot, so go to read the guide at Doom9.
But you can also edit your AviSynth file manually, the full documentation for doing this is here.



Settings menu


Load default settings
Load the settings stored with "Save default settings" function.

Save default settings
This function save the current settings in "settings/default.d5s".
This settings are automatically loaded every time you close/reopen DivX 5 Enc.

Load settings ...
This function load the current settings from a file.

Save settings ...
This function save the current settings in a file.
Note: settings stored in "settings" folder will also appear in "Quick load settings".

Delete settings ...
This function delete a settings file.

Refresh quick load list
Every time you save or delete a settings file, the quick load list will be updated automatically.
If you manually rename/delete a setting file, this function will refresh the list of settings stored in the "settings" folder.

Restore initial settings
This function will restore the settings you have found at the first DivX 5 Enc execution.



Job list menu


View log file
Every time you run job/s, the info/status of the job/s will be appended in the log file.
This function open a new window containing the log file.
Note: the log file is useful if you choose to shutdown your pc, in this case is the only way to see if your encodes are terminated correctly.

Reset log file
This function erase the content of the log file

New job
This function create a new job using the current settings.

Reset job list
This function erase all the jobs in the job list.

Load job list ...
This function load a job list file (the current jobs in the job list will be deleted).

Append job list ...
This function load a job list file, appending the jobs in the job list.
Note:
After encoding, the status of every job will appear in the job list.
If you save the job list at this point, the status will be saved too.
Using this function you can easy compare the results of differents encoding sessions (this is very useful if you are running differents compressibility tests and you want to quick compare the results).

Save job list ...
This function save the current job list to a file.

Delete job list ...
This function delete a job list file.



AviSynth file menu


Get file info
This function show informations about the current AviSynth file.

Get "RC averaging period, frames"
This function will read the number of frames in the current AviSynth file, setting "RC averaging period, frames" to half of this value (this should be the ideal value).



Options menu


Auto set output file
If this options is set to "Yes", every time you load a new AviSynth file, the name for the Avi file will be automatically created.



Other things


Quick load settings
This listbox contain the list of all the settings stored in the "settings" folder.
Left double click to an item will cause the settings to be loaded.

Copy settings from selected job
This function will fill the current settings with the settings contained in the selected job.
You can do this quickly with a left double click in the job.

Copy settings to selected job
This function will change the settings of the selected job using the current settings.
You can do this quickly selecting the job and right double click in the job.

Start all jobs
This function will start all the jobs in the job list.
Note: this function will always execute all the jobs, even if the job has been already executed.

Auto save job list when done
If you check this option, after the encode the job list will be saved automatically in "jobs\last.d5j". Very useful if you use this in combination with the shutdown option: the next time you run DivX 5 Enc you can load "last.d5j" and see the status of each job directly in the job list.



Notes about temp files


The temp files will be written in the "tmp" directory of DivX 5 Enc.
All the temp files will be deleted at the end of every job.