Archive for November, 2008

Encoding videos for the Nokia N800

Sunday, November 23rd, 2008

Quick command reminder about how to encode videos for watching them in the Nokia N800:

mencoder Fringe-S01E06.avi -o Fringe-S01E06-n800.avi -oac mp3lame -lavcopts acodec=libmp3lame:abitrate=96 -ovc lavc -lavcopts vcodec=mpeg4:autoaspect:vbitrate=600:vpass=1:turbo -vf scale=400:240 -ffourcc DIVX -idx

Update: add these options to embed subtitles:

-sub Fringe-S01E06.srt -subcp latin5 -subfont-text-scale 4

You will need a subfont.ttf font file in ~/.mplayer/