- Collection of Information for those with Electronics as a Hobby
Up one level (Linux command line)

Encode to x264 video format

See also Make Xvid from .iso file or DVD.

Two-pass coding:

mencoder -subfont-text-scale 2.4 -passlogfile pass1.log -ovc x264 -x264encopts pass=1:bitrate=2000:threads=2:turbo=1 \
 -nosound -sub -o /dev/null  inputfile.avi

mencoder -subfont-text-scale 2.4 -passlogfile pass1.log -ovc x264 -x264encopts pass=2:bitrate=2000:threads=2 \
 -oac mp3lame -lameopts q=0:aq=0 -sub  -o outputfile.avi inputfile.avi

Using HandBrakeCLI

taskset -c 0 HandBrakeCLI -i inputfile.mkv -o outputfile.mkv -e x264  -E faac -B 160 -q 20 -x ref=1:weightp=1:subq=2:rc-lookahead=10:trellis=0:8x8dct=0 -w 1280

Add a comment:

Fill in number

Privacy | Contact