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

Ivan Shirokov ivanshirokoff at gmail.com
Tue Apr 7 22:53:05 CEST 2009


Does it work for FSO? Somehow it hangs up my FR. And there's something like
"Your system is too slow" in the console =(

On Sun, Jan 11, 2009 at 9:31 PM, pottwal4 <pottwal4 at web.de> wrote:

> 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
> "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 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
>
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/community/attachments/20090408/e8228c53/attachment.htm 


More information about the community mailing list