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

kimaidou kimaidou at gmail.com
Wed Jan 14 13:22:06 CET 2009


Hi
+1 for the package in opkg
thanks in advance

2009/1/11 Pander <pander at users.sourceforge.net>

> can someone package this in an opkg?
>
> pottwal4 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
>
>
> _______________________________________________
> 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/20090114/b6ba6e2b/attachment.htm 


More information about the community mailing list