transcoding video for freerunner 240x320 mode

Timo Juhani Lindfors timo.lindfors at
Tue Jun 26 22:54:15 CEST 2012


it is widely known that 240x320 mode on freerunner has "odd"
colors. Today I finally had some time to test if I could help this using
gamma correction when transcoding video for freerunner.

Empirically I came up with

mencoder -really-quiet -oac pcm -ovc lavc -lavcopts vcodec=ffvhuff -vf eq2=1:1:0:1:1.19:1.19:1.44 -vf scale=320:240,rotate=1 -o - "$@" | ffmpeg2theora -V 256 -A 32 -H 22050 -c 1 -o - - 2> /dev/null | dd bs=8192 iflag=fullblock 2> /dev/null

where 1.19, 1.19 and 1.44 are the gamma values for red, green and blue.

More information about the community mailing list