Watching videos on neo freerunner (openmoko 2008.12) mplayer-glamo

pottwal4 pottwal4 at
Sun Jan 11 17:31:27 CET 2009

Hi again.
> pottwal4 wrote:
>> root at om-gta02:~# mplayer -vo xover:glamo -fs /media/card/big_buck_bunny_320.avi
> mplayer doesn't know on which display it should open the video.
> Try (one line):
> DISPLAY=:0 mplayer -vo xover:glamo -fs /media/card/big_buck_bunny_320.avi

Thanks Daniel, you was right! There was a problem concerning the
$DISPLAY-Variable. But there was an other one, which I fixed, choosing
the output device "-vo glamo" instead of "-vo xover:glamo".

So for everyone, how cares this what I do to get the example video
running on the freerunner (inspired by

1. Download an unpack mplayer-glamo

2. Write a short bash-script "vidplay" to start the video (and save it
on the Freerunner and make it executable (with chmod +x vidplay)):
xrandr -display :0 --output default --mode 240x320
mplayer -vo glamo "$1" > /dev/null
xrandr -display :0 --output default --mode 480x640

3. Encode a video-file on my PC with:
mencoder video-file -ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=300
-vf scale=320:240,eq2=1.2:0.5:-.025,rotate=2 -oac mp3lame -lameopts
br=64:cbr -o video-file-FR.avi

4. Transfer this file from PC to Freerunner (using scp)
scp video-file root at phone:/media/card/

5. Considering that the video-start-script and the video-file are now
both located on the Freerunner in directory /media/card/, start the
video with:
cd /media/card
./vidplay video-file

More information about the community mailing list