The
Guide
2
Contents
Index
Contents
Index
Introduction
Welcome to the guide ............................5
The origins of DivX
®
video ......................5
What is DivX? ........................................7
Why use DivX? ......................................8
Quick start guide
Introducing VirtualDub .........................11
Your first DivX .....................................12
Your first Multipass ..............................17
Notes on audio ....................................19
Forward
General concepts ................................24
Frames ...........................................24
Macroblocks and motion .................24
Intra-frames and Predicted-frames ..26
Quantizers ......................................27
A key to the guide ................................29
Bitrate mode
What is the bitrate? ..............................32
Bitrate calculation ...........................33
1-Pass .............................................35
Multipass .............................................37
Multipass, 1st pass .........................37
Multipass log file .............................38
Multipass, nth pass .........................40
Bitrate modulation ...........................40
MV re-use ............................................44
1-Pass, Quality-based .........................45
Performance/Quality
Fastest .............................................48
Standard .............................................50
The Rate-Distortion algorithm ..............51
Slow .............................................53
Slowest .............................................54
Psychovisual Enhancement
What is psychovisual enhancement? ...56
The DCT, iDCT and
Human Visual System .....................56
The psychovisual
enhancement system ......................57
Experiencing PVE ................................58
Fast psychovisual enhancement ..........59
Slow psychovisual enhancement .........60
Source pre-processing
What is pre-processing? ......................62
When to use pre-processing ................62
Spatial processing ...............................63
Temporal filtering .................................63
Source pre-processing .........................64
Crop and Resize
Cropping and resizing via the encoder .66
Why crop or resize? .............................66
Crop .............................................68
Resize .............................................69
MPEG4 Tools
Bi-directional encoding
What is bi-directional encoding? ......72
The ordering of frames ....................73
Bi-directional encoding ....................75
Quarter Pixel
What is quarter-pixel? .....................77
Why use quarter-pixel? ...................78
Quarter-pixel ...................................79
Global motion compensation
What is global motion
compensation? ..........................81
Global motion compensation ...........82
Advanced
Scene-change threshold ......................84
Maximum key-frame interval ................86