can someone package this in an opkg? pottwal4 wrote: > Hi again. >> pottwal4 wrote: >> >>> r...@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 > "http://wiki.openmoko.org/wiki/Video_Player"): > > 1. Download an unpack mplayer-glamo > (http://downloads.tuxfamily.org/3v1deb/openmoko/mplayer-glamo.tar.bz2) > > 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)): > #!/bin/sh > DISPLAY=:0 > xrandr -display :0 --output default --mode 240x320 > mplayer -vo glamo "$1" > /dev/null > xrandr -display :0 --output default --mode 480x640 > reset > > 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 r...@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 > > _______________________________________________ > Openmoko community mailing list > community@lists.openmoko.org > http://lists.openmoko.org/mailman/listinfo/community
_______________________________________________ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community