summaryrefslogtreecommitdiffstats
path: root/DOCS/OpenDivX
blob: e7494b80a05513b1c69e2585eb12203f251dd36f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

OpenDivX support in MPlayer
~~~~~~~~~~~~~~~~~~~~~~~~~~~

See http://www.projectmayo.com for details on Open DivX codecs.
It's an opensource DivX-like video codec written for windows.
I did a fast hack to get it compile under linux (it has some
dependency on windows header files and some visualc extensions).

Decoder:
~~~~~~~~
Now it's used for AVI files with fourcc 'dvx1'
You can adjust Quality level using the -divxq option. Valid values:

 postprcc_level =  0      ---->  no post processing (fastest)
 postproc_level =  1 ~  9 ---->  horizontal Y deblocking only
 postproc_level = 10 ~ 19 ---->  hor. + ver. Y deblocking
 postproc_level = 20 ~ 29 ---->  hor. + ver. Y and hor. C deblocking
 postproc_level = 30 ~ 39 ---->  hor. + ver. Y and hor.+ver. C deblocking
 postproc_level = 40 ~ 49 ---->  h+v Y, h+v C deblock and Y deringing
 postproc_level = 50 ~ 59 ---->  h+v Y, h+v C deblock and Y+C deringing

Note: last level (Chroma deringing) sometimes crashes.

Encoder:
~~~~~~~~
There is a very alpha hack to convert mpeg video into OpenDivX .avi files.
You should disable audio, and select 'odivx' video device as output:
  mplayer input.mpg -nosound -vo odivx -encode output.avi
Yes, I know that it's unusable now, it's only for testing purposes.