1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-14 19:05:33 +00:00
mpv/DOCS/OpenDivX

31 lines
1.2 KiB
Plaintext
Raw Normal View History

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.