Log on
Main page Graphics Photography Music & Audio Audio Plugins Video Tools Web Design Documents Space Astro Amiga Funny Surreal Gallery Links & Contact

Mencoder settings


Right now these are my personal notes while learning mencoder, but in the future this might be a place to look for tips & tricks.

Default settings

If you don't want to use profiles, edit the file .mplayer/mencoder.conf and put in:
ovc=xvid=1
xvidencopts=vhq=4:me_quality=6:chroma_opt=1:fixed_quant=8
oac=mp3lame=1
lameopts=aq=1:cbr=1:br=160

Best settings

A good setting for the file .mplayer/mencoder.conf if you want to use profiles and have max quality. I may change this in the future, if I find out more about this (the documentation is a bit tricky):
[best]
ovc=xvid=1
xvidencopts=vhq=4:bvhq=1:max_bframes=3:trellis=1:chroma_opt=1:qpel=1:gmc=1:quant_type=mpeg
oac=mp3lame=1
lameopts=aq=1:cbr=1:br=192
You might want to add :fixed_quant=8 to the end of the long line to control the bitrate.


Nice subtitles in mplayer

Find a font that is easy to read and place it in .mplayer/subfont.ttf. Then add this to the file .mplayer/config:
subfont-text-scale=3
subfont-blur=0.5
subfont-outline=2
ffactor=1.5

KiSS DP-558 to XviD settings

Letterboxed wide-screen (cropping off a bit of gunk at the border)
nice -n30 mencoder -vf pp=l5,crop=688:544 input.vob -o output.avi

KiSS 1600 to XviD settings profile

Encoding 1080p material
[kiss1600]
ovc=xvid=1
vf=pp=l5,crop=1920:1056
xvidencopts=vhq=4:bvhq=1:nogmc=1:me_quality=6:chroma_me=1 :chroma_opt=1:min_iquant=1:min_pquant=1:fixed_quant=5
oac=mp3lame=1
lameopts=aq=1:cbr=1:br=256

Letterboxed wide-screen (cropping off black bars top and bottom)
nice -n30 mencoder -vf pp=l5,crop=688:416 input.vob -o output.avi


Website by Joachim Michaelis