summaryrefslogtreecommitdiffstats
path: root/DOCS/OpenDivX
blob: dd2cfbe3a5265e55ed95c7b9f93218baa632f06a (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
31
32
33
34
35
36
37

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

See http://www.projectmayo.com for details on the OpenDivX codec. It's the
opensource successor of the DivX codec (really it's a somewhat enhanced version
of the MPEG-4 standard), already available on most platforms. We use an
MMX-optimized Decore. OpenDivX version supported in MPlayer : 4.0alpha48

Decoder:
~~~~~~~~
Now it's used for AVI & ASF files with fourcc 'dvx1' and 'divx'

You can adjust Quality level using the -pp option:
Combine (add) flags you need:

1   Y  horizontal deblocking
2   Y  vertical deblocking
4   C  horizontal deblocking
8   C  vertical deblocking
16  Y dering
32  C dering

For example, if you want horiz+vert chroma deblocking, then use
  -pp 12    (4+8=12)

Note: C filters works only with n*16 height movies.

Note2: the postprocessing filter can be used for mpeg 1/2 files too (-pp)

Encoder:
~~~~~~~~
There is a very alpha hack to convert video into OpenDivX .avi files.
Audio is automatically disabled. Select 'odivx' video device as output:
  mplayer input.mpg -vo odivx -encode output.avi
Yes, I know that it's unusable now, it's only for testing purposes.
Real encoding feature (with audio) is planned, but in the far future.