1
|
1
|
|
2 OpenDivX support in MPlayer
|
|
3 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
4
|
749
|
5 See http://www.projectmayo.com for details on the OpenDivX codec. It's the
|
|
6 opensource successor of the DivX codec (really it's a somewhat enhanced version
|
|
7 of the MPEG-4 standard), already available on most platforms. We use an
|
|
8 MMX-optimized Decore. OpenDivX version supported in MPlayer : 4.0alpha48
|
1
|
9
|
|
10 Decoder:
|
|
11 ~~~~~~~~
|
1201
|
12 Now it's used for AVI & ASF files with fourcc 'dvx1' and 'divx'
|
|
13
|
|
14 You can adjust Quality level using the -pp option:
|
106
|
15 Combine (add) flags you need:
|
1
|
16
|
106
|
17 1 Y horizontal deblocking
|
|
18 2 Y vertical deblocking
|
|
19 4 C horizontal deblocking
|
|
20 8 C vertical deblocking
|
|
21 16 Y dering
|
|
22 32 C dering
|
1
|
23
|
106
|
24 For example, if you want horiz+vert chroma deblocking, then use
|
|
25 -pp 12 (4+8=12)
|
1
|
26
|
106
|
27 Note: C filters works only with n*16 height movies.
|
96
|
28
|
1201
|
29 Note2: the postprocessing filter can be used for mpeg 1/2 files too (-pp)
|
|
30
|
1
|
31 Encoder:
|
|
32 ~~~~~~~~
|
106
|
33 There is a very alpha hack to convert video into OpenDivX .avi files.
|
96
|
34 Audio is automatically disabled. Select 'odivx' video device as output:
|
|
35 mplayer input.mpg -vo odivx -encode output.avi
|
1
|
36 Yes, I know that it's unusable now, it's only for testing purposes.
|
1201
|
37 Real encoding feature (with audio) is planned, but in the far future.
|