Re: Video on Freerunner?
Tim Dobson wrote: For example: go to youtube - download video to sd card - transcode it to the needed format(how long does it take, by the way) - watch it? Is it useable? Does someone watch videos often on the freerunner? Are there any new developments for the video playback sinse that wiki page is updated? you tube video are possible on the free runner. though not instantly... Youtube is possible also without any transcoding... I can seee youtube videos in my Freerunner without modifying the video and streaming it directly from the web. You only need to install mplayer from the official repositories. Then for streaming directly the youtube video I use a php script I wrote long time ago (when I discovered how to download the original quality video format from YT, thing that now Google has blocked) [1], but you can use also youtube-dl to get the real flv path. Then do something like: mplayer -vo xv -fs -vf framestep=2 \ http://3v1n0.net/youtube-full-dl/index.php?ytv=POiNqP4savIdownload=flv It should stream well. In some videos, if you seen them in landscape mode, it's better to use framestep=3. A wrapper youtube-mplay script could be: #!/bin/sh if [ -z $DISPLAY ]; then echo Specify a DISPLAY exit 1 fi if [ -z $1 ]; then echo Specify a youtube video ID exit 1 else ytv=$1 fi xres=$(expr $(xrandr) : .*current \([0-9]\{3\}\)) if [ $xres = 640 ]; then fstep=3; else fstep=2; fi mplayer -vo xv -fs -vf framestep=$fstep \ http://3v1n0.net/youtube-full-dl/?download=flvytv=$ytv; Using that you'll have only to do youtube-mplay POiNqP4savI ;) Unfortunately the flv standard format is the best that we can stream on FR. Mp4 formats are too bad or too good, also for mplayer-glamo! [1] http://3v1n0.net/youtube-full-dl/ -- Treviño's World - Life and Linux http://www.3v1n0.net/ ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Video on Freerunner?
Mikko Rauhala rašė: Quoting Tim Dobson[EMAIL PROTECTED]: you tube video are possible on the free runner. though not instantly... See my earlier mail on Youtube offering mp4 versions of their videos. I still don't know if anyone's verified how balrog-kun's referenced glamo-accelerated mplayer plays them (or if the glamo output has received further finetuning). I am trying to play a 20 min short movie. Transcoding it from 640x352 WMA 170MB video according to http://wiki.openmoko.org/wiki/Video_Player#Playback_using_480x640_.2F_640x480 Resulting one I tried many sizes, ranging 50-150 in MegaBytes. But running with mplayer output.avi -sws 0 -nodouble -vo sdl -fs -framedrop [ -autosync 30 -vf scale -zoom -xy 640 -vf rotate=1 ] mplayer crashes Running with glamo mplayer (http://downloads.tuxfamily.org/3v1deb/openmoko/mplayer-glamo.tar.bz2) with `-vo glamo' it writes out Badly interleaved AVI file detected - switching to -ni mode... And then I can see the video only after seeking, but it is incredibly slow. Strange, why is it badly interleaved, I have transcoded it with wiki's mencodersourcefile -otargetfile.avi -ofps 13 -vf scale -zoom -xy 640 -af channels=1:0:0:1:0 -oac lavc -ovc lavc -lavcopts acodec=libmp3lame:vcodec=h263p:autoaspect=1:vbitrate=300:abitrate=32 The best performance (~4 fps) I have achieved was with transcoding into the ~210x100 final video and running opkg installed non-glamo mplayer. Tried -vo fbdev (-vo sdl does not work), too. Also mplayer crashes were also occasional. I am launching a movie from an SD card. Maybe it may slow some things down, too. Has anyone gone any better than this, please share. -- sledge ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Video on Freerunner?
Leonti wrote: Here is the page describing how to play videos on Freerunner: http://wiki.openmoko.org/wiki/Video_Player So I have some questions: Did anyone tried to transcode videos on the Freerunner itself? For example: go to youtube - download video to sd card - transcode it to the needed format(how long does it take, by the way) - watch it? Is it useable? Does someone watch videos often on the freerunner? Are there any new developments for the video playback sinse that wiki page is updated? you tube video are possible on the free runner. though not instantly... on your home computer install clive and configure it to transcode flv to mpg then copy across and use mplayer and quasar from the angstrom repositories to play. (tested on 2007.4) Sorry, i don't really have a better answer... it works. but is far from perfect... -- www.tdobson.net If each of us have one object, and we exchange them, then each of us still has one object. If each of us have one idea, and we exchange them, then each of us now has two ideas. - George Bernard Shaw ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Video on Freerunner?
Quoting Tim Dobson [EMAIL PROTECTED]: you tube video are possible on the free runner. though not instantly... See my earlier mail on Youtube offering mp4 versions of their videos. I still don't know if anyone's verified how balrog-kun's referenced glamo-accelerated mplayer plays them (or if the glamo output has received further finetuning). But anyway, there certainly is potential to play youtube stuff more or less realtime. http://lists.openmoko.org/pipermail/community/2008-June/020056.html -- Mikko Rauhala - [EMAIL PROTECTED] - URL:http://www.iki.fi/mjr/ Transhumanist - WTA member - URL:http://www.transhumanism.org/ Singularitarian - SIAI supporter - URL:http://www.singinst.org/ ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Video on Freerunner?
See my earlier mail on Youtube offering mp4 versions of their videos. more interesting would be what parameters are used to encode them, fps, resolution, ... ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community