AutoQMatEnc 0.31b - SAPSTAR - WWW.Doom9.org 
MPEG2 (Video Only) Encoder

Characteristics :

- Use same ECL Files than CCE SP Trial 2.6X
- Read any AVS script by using directly avisynth.dll
- Built-In advanced QMatOp technology - Activated by adding adjust_q_matrix=1 in ECL
  or CCEAQM=1 in the REBUILDER.INI file for DVDRB users.
- MultiPass enabled - Above 4 passes is close from useless but can be performed
- Part of CCE Simple Settings (Animation/CG/Natural) taken into account
  Recommended for Anime (Animation) and old movies (Natural)
- QMatOp phase not reprocessed but detected if encode cancelled once finished.
- Pass 1 not reprocessed but detected if encode restarted.
- MPEG2 Encoder using a part of avcodec.dll : libavcodec is released under the LPGP. 
  You can get a copy of the LGPL at http://www.gnu.org/copyleft/lesser.txt
  and download the source from the ffmpeg homepage http://ffmpeg.sourceforge.net/download.php.

Installation/Configuration :
Install it anywhere then use AutoQMatEnc.exe instead of CCE SP Trial.

DVDRB-PRO users : just make DVDRB point to it instead of CCE SP.

NON DVDRB users : To create your own ECL file you can use CCE SP Trial with ECLCCE 
                  or ECLCreate from latsilva.

For any additional support see the official forum : http://www.vmesquita.com/forum/index.php?board=41.0 

Greetings :
  - FishMan0919 for all his support, ideas, help in debugging, tests.
  - BadServo for his tests, ideas, comparisons and file hosting.
  - Axlemar for his very detailed tests on high speed animations. 
  - Doom9 for his help in writing properly the licensing text.
  - The BDVD Team for their support and help.
  - Danpos for his many tests/support
  - Oxa for his so many tests/help/ideas
  - Donators for their really appreciated support !!!!
Changes History:
0.31b - 2005/11/11
    * Introduced a new version of QMatOp, it should be faster for bitrates higher than 3750kbps
    * Added an number of frames autodetection when last_frame = 0 or not specified. (Introduced for DIKO)
    * Here is my first template for DIKO (not tested yet)
    * Changed the Q range valueof OPV from a linear one to a logarithmic one...it seems to work better with DVDRB.
    * Tweaked the RC for OPV
    * Corrected a bug in the PPM writing core function, it was discovered by Danpos from the BDVD Team. Thank you for your tests.
    * Corrected a major flaw in the QMatOp engine...Some flat matrices were generated in some cases. Thank you oxa for finding it and running many tests.
    * Corrected a bug found by Danpos (BDVD Team) : When the AVS script was producing a Field Based movie, the script refused to open. Thanks again to him !!!!
    * Corrected minor bugs
    * Removed limitations to the QMatOp engine + Adjusted the core formula (better for low bitrates)
    * Added a parameter to change the speed of QMatOp (faster means means less precision) tc_ref_frm, default value 0, above 3 not tested.
    * Generated matrices are now scan optimized (pure ZigZag or pure Alternate)
    * Matrices are curved smoothed with quadrilinear functions.
    * Adjusted the rate control
    * Corrected the threshold for Ultra Low Bitrates encodes, it takes into account the resolution.
    * Adjusted QMatOp to benefit from the quadrilinear interpolation functions...Faster and better.
    * Added a remaining time info
    * Corrected a bug found by oxa (blinking squares due to a very low quantization)
    * Added a new VAF analyzer to assess more accurately the Qmin/Qmax after the first pass.
    * Added a min bitrate correction function
    * Spikes should be gone at high bitrates !!!!!
    * A stupid error in the ECL parsing was corrected (Thank you oxa for this one)
0.30b - 2005/09/21
    - Corrected the max value for Quantization, it was too low sometimes causing 
      some stuttering or some rate control errors.
    - many OPV improvements 
    - Improved the multipass rate control. 
    (For DVDRB users, you should keep the default value for CCETargetSectors, 
    DVDRB seems to oversize by itself.)
    - Corrected a bug discovered by Prodater64,Zyphon and Danpos from the BDVD team, 
      the matrix in the ECL file was not correctly taken into account.
0.29b - 2005/08/18
	- Added fix_gop_length support 
	 (in order to keep the length of GOP steadier if your DVD player doesn't support it)
	- Improved the rate control for very dark scenes
	- Added packet_size parameter : 
			Used for the scene change threshold, bigger it is, less detection we have
	- Changed the threshold for the Qmin increase
  - Corrected a gap in the rate control correction linearity
  - Corrected QMatOp, an error could be propagated on dark scenes
	- Variable Dark limit for triggering several tweakings
	- Corrected a bug, AQE starts next passes even if the rate control was perfect. 
  	Thx Carpo for that one.
  - Adjusted some thresholds
0.28b - 2005/08/05
  - Corrected a major bug in the credits "type" scenes
  - Corrected the rate control, 2 passes are enough for 90% of the scenes, 
    3/4 passes for the rest.
  - Improved the sizing - Should be ok now. 
    For DVDRB Users, the default target size for DVDRB is 4.31Gb, 
    I suggest CCETargetSectors=2260000 or 2280000 when using AQE.
  - Recompiled avcodec, I'm now using the very last version of it...
    (some overflows corrections were brought with it)
0.27b - 2005/07/20
  - Added a low motion detector to tweak the rate control
  - Improved the rate control
  - Updated the averaging in QMatOp
  - Corrected an error on very big files for the Nth path(N>2)
  - Minor tweakings and errors.
0.26b - 2005/07/13
  - Corrected the PATH variable, added a ; at the end.
  - Corrected the rate control once again...a new approach was implemented.
  - Corrected a bug when the rate control was totally wrong, 
    the Nth pass was ending asking for pressing a key.
0.25b - 2005/07/07
  - Improved the rate control.
  - Replaced the turning cross by a percentage indicator
  - Log file creation : <AVSFILE>.log
  - The rate control automatically detects, if it has any chance to improve the movie in the next pass if not it skips it.
0.24b - 2005/06/28
  - Implemented OPV - Still very experimental
  - Fully CCE SP 2.6X compliant format for ECL files due to the implementation of OPV. 
    (only exception adjust_q_matrix for the QMatOp phase)
  - Default value for adjust_q_matrix is now 1, so that if nothing is specified QMatOp is enabled.
  - Changed to avcodec.dll instead of static link in order to get rid oh any licensing issue
  - Corrected a bug when the ultra low bitrates mode engaged in the credits type movies.
0.23b - 2005/06/21 :
  - Pass 1 auto restart in case of cancelation in the next passes.
  - Setup program with the addition of the correct PATH for DCTune2.0 in the PATH variable
  - Tweaked the rate control curve + new internal mode for ultra low bitrates (<1500) 
    (Not fully tested - waiting for results from BadServo on this part)
  - Corrected a bug when the dirs contained spaces...stupid one this one !!!
0.22a - 2005/06/16 :
  - Corrected a bug when DVDRB calls AQE from its own dir.
  - Improved the QMatOp part - faster&better
  - Corrected a bug when alternative scan block was set.
  - Improved the rate control curve - Should correct some artifacts 
    (However the sizing could be less accurate to - I'm waiting for feedback on it) 