View source for Video Player
From Openmoko
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page:
Templates used on this page:
Return to Video Player.
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page:
Templates used on this page:
Return to Video Player.
Not a proper 'app' page, just an overview of my understanding. --Speedevil 17:39, 16 February 2007 (CET)
Video is problematic.
On the minus side.
However.
On the positive side.
From a conversation with XorA, in the IRC channel.
400kbps mpeg4 works on a 200Mhz neo (without sound) on prerotated 240*320 ffmpeg codec videos, at 25fps, using stock mplayer.
With sound, this drops to 18fps.
There are optimisations for mplayer that look promising to get 25fps with sound.
For switching between QVGA and VGA mode do the following with a compatible kernel:
echo qvga-normal > /sys/devices/platform/s3c24xx-spi-gpio.1/spi0.0/state && fbset qvga
vice versa:
echo normal > /sys/devices/platform/s3c24xx-spi-gpio.1/spi0.0/state && fbset vga
taken from http://lists.openmoko.org/pipermail/neo1973-hardware/2007-October/000267.html
To make your videos openmoko compatible use mencoder like this:
mencoder input.avi -sws 2 -ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=300 -vf rotate=2,scale=240:320 -oac mp3lame -lameopts br=64:cbr -o output2.avi
It will rotate the video, scale it and encode it to mpeg4 with a bitrate of 300kBit/s. Works like a charm.