Mercurial > mplayer.hg
view DOCS/OpenDivX @ 1347:448d1bf28f5a
Solaris 2.6 and older do not support MAP_ANON, just fail the mmap MAP_ANON
attempt on such a system. The code tries mmap with /dev/zero and MIT-shm next.
Fix a possible filedesc leak, when the code tries to mmap shared memeory via
/dev/zero. Reuse the already open /dev/zero from a previous shmem_alloc call.
(same change; now without changing the indentation of the code)
author | jkeil |
---|---|
date | Thu, 19 Jul 2001 20:32:13 +0000 |
parents | 0bddc179f042 |
children |
line wrap: on
line source
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.