QuEnc Settings Info
-------------------

For QuEnc 0.51 and above.

Ok, I made QuEnc simple to begin with to stop confusion, 
and hopefully that is still the case.

But here is a list of the options and what they do:

MPEG-1 or MPEG-2
----------------
This is pretty self explanatory. QuEnc only encodes to MPEG-1 or MPEG-2 Elementry streams.
MPEG-1 is used in VCDs, MPEG-2 is used in SVCDs and DVDs. This selects which to use.

Bitrate
-------
This is the bitrate used to encode. Bitrate is in kilobits per second. Use a bitrate calc
to discover the correct bitrate for your needs. Or you can work it out yourself.

Say you have a 5 minute clip that you want to encode to 50mb of size.
You do:

(Here we multiply minutes by 60 to get seconds, and 50mb by 1024*1024 to get bytes)

(5*60) * bitrate = (50*1024*1024)	
bitrate = (50*1024*1024)/(5*60)
bitrate = 174762.67 bytes per second
bitrate(kbps) = (174762.67*8)/1000

bitrate to encode 5 minutes to 50mb = 1398kbps (use integer values)

Use VBR
-------
This selects whether the bitrate should be allowed to fluctuate or to be a constant bitrate.
VBR will allow for better quality, but turning it off will allow CBR which is useful for
streaming...(where you don't want to be the content to be bursty)

High Quality
------------
This slows down the encoder but gives higher quality. It is the same as using -mbd=2 in ffmpeg.
If you only want high speed encoding, turn this off. But otherwise it is recommeneded to leave
it on.

Use Trellis Quant
-----------------
This greatly slows down the encoder but can give higher quality. Is only recommended when the
quality of the encode is the most important thing.

2Pass Encoding
--------------
This encodes the video twice. The two passes can improve quality as the encoder can 
distribute the bitrate to the parts that need it. But of course takes twice as long to encode.

ADVANCED OPTIONS

Use KVCD "Notch" Matrix
-----------------------
This uses the intra and inter matrix as used at the kvcd.net. Please go there for more info.

"Extreme & Slow" Settings
-------------------------
This is experimental, not recommended, but turns on many settings that can increase quality
but slow down the encoding alot.
The settings it turns on are as follows:

Trellis Quant
HQ
CBP Rate Distortion
MV0 (always try a MB with MV=<0,0>)
Change MB dicisions from SAD to SATD
luma elimination threshold = -4
chroma elimination threshold = -7
ratecontrol qsquish = 1

(These are subject to change ;) )

GOP Size
--------
MPEG Streams are made of GOPs (Group of Pictures). There is only one I-Frame in a group of 
pictures. There this states how many frames before the next I-Frame is inserted. 12 isn't 
an uncommon and is a safe value. Although another rule used is use 15 for PAL, and 18 for NTSC.

Max B-Frames
------------
This sets how many continuous B-Frames will be used. 2 is a very common value. Going above
2 is not really recommended.


Interlaced Encoding
-------------------
If feeding QuEnc with an interlaced source, it is best to turn this option on. This makes QuEnc
use Interlaced DCT and Interlaced Motion Estimation. This should produce a better result on
interlaced material but also will be slower.

DC Precision
------------
Ok, this is quite a technical thing. It's not uncommon for DVDs to be encoded with a DC 
Precison of 10. So I would probably use that value for DVD encodes. But the difference will be
minimal. If doing low bitrate encodes, a DC of 8 should probably be used.

Forced Closed GOP
-----------------
This will cause the GOPs to be closed, so that frames in a GOP will not be referenced outside
that GOP. Only use if you know what you are doing. This will also automatically turn Scene Detection
off.

Scene Detection
---------------
If scene detection is on, then scene changes are detected and I-Frames are inserted. This can
provide better use of GOPs. However, it can produce strange GOP sized. With Scene Detection off,
the GOPs are now (as of 0.51) strictly enforced to use a strict GOP format. (i.e. it won't replace B
-Frames with P-Frames in High motion)

Auto Max Bitrate & Max Bitrate
------------------------------
You can either set the Max Bitrate used, or set to Auto. In DVDs the bitrate is not allowed
above 9800kbps. If set to Auto the max bitrate will be set to 3 times higher than the normal
bitrate

Aspect Ratio
------------
Sets the aspect ratio to encode the video to.

There, that's it for now....Hope that helps :)

Cheers,
-Nic
