[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openmoko-community
Subject:    transcoding video for freerunner 240x320 mode
From:       Timo Juhani Lindfors <timo.lindfors () iki ! fi>
Date:       2012-06-26 20:54:15
Message-ID: 84pq8lkd54.fsf () sauna ! l ! org
[Download RAW message or body]

Hi,

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.


_______________________________________________
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic