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

2009-04-19 Thread Lothar Behrens

Am 14.04.2009 um 23:08 schrieb drac2000:



 ...
 Hey and when you use vdr (http://de.wikipedia.org/wiki/Video_Disk_Recorder
 ) and a plugin to transcode it for small screens, you could watch tv
 live!
 ...


 I am a big Vdr fun
 I am trying to make it work on vdr playback first
 When you say watch tv live what do you mean by that ? You're gonna  
 kill me if you tell me that you are watching live Vdr on your FR

I can watch german DVB-T stream live on my Neo :-)

But not yet recorded videos, because I havent found a plugin for vdr  
to transcode recordings AND stream them.
An option would be a client that browses a samba share of recorded  
videos, but then the transcodings must be processed
anyhow beforehand.

I have created a video about that showing it working in parallel to my  
Mac showing news. But the video is currently about 2Gig :-(
Not compressed VGA size. There is also other report about the neo and  
it's usability - but german - I haven't yet translated the video
to english.

This + shrinking the size costs another day of work I think.

What could I use to get it ready for youtube (Linux or mac)?

I have created the video with my Nicon S500 camera and done the cut  
with HyperEngine-AV on my Mac.
Not good, but you see it working :-)

Some issues with navit I reported are not correct at all for now. so I  
think I will cut them out and create only a short one for vdr + neo  
issue.

Lothar



 -- 
 View this message in context: 
 http://n2.nabble.com/Watching-videos-on-neo-freerunner-%28openmoko-2008.12%29-mplayer-glamo-tp2141404p2635374.html
 Sent from the Openmoko Community mailing list archive at Nabble.com.


 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


-- | Rapid Prototyping | XSLT Codegeneration | http://www.lollisoft.de
Lothar Behrens
Heinrich-Scheufelen-Platz 2
73252 Lenningen









___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


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

2009-04-19 Thread Marcel
Am Montag, 20. April 2009 00:39:38 schrieb Lothar Behrens:
 This + shrinking the size costs another day of work I think.

 What could I use to get it ready for youtube (Linux or mac)?

ffmpeg and/or kdenlive are great. Kdenlive tends to segfault though, which is 
not too bad because it records every step and never lost work already done 
yet. :)

--
Marcel

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


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

2009-04-16 Thread c_c

Hi,
 I've made a really basic mplayer gui and packaged the glamo patched version of 
mplayer and the config files. The ipk in available here .
  The software is alpha - so be warned!

-- 
View this message in context: 
http://n2.nabble.com/Watching-videos-on-neo-freerunner-%28openmoko-2008.12%29-mplayer-glamo-tp2141404p2642945.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


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

2009-04-14 Thread drac2000


...
Hey and when you use vdr (http://de.wikipedia.org/wiki/Video_Disk_Recorder 
) and a plugin to transcode it for small screens, you could watch tv  
live!
...


I am a big Vdr fun
I am trying to make it work on vdr playback first
When you say watch tv live what do you mean by that ? You're gonna kill me if 
you tell me that you are watching live Vdr on your FR 

-- 
View this message in context: 
http://n2.nabble.com/Watching-videos-on-neo-freerunner-%28openmoko-2008.12%29-mplayer-glamo-tp2141404p2635374.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


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

2009-04-08 Thread Lothar Behrens
This is really good news!

I have measured about 70% to 80% with mplayer.

Hey and when you use vdr (http://de.wikipedia.org/wiki/Video_Disk_Recorder 
) and a plugin to transcode it for small screens, you could watch tv  
live!

I have tried that and it works very well. Now I have made a small  
video, recording the Neo and in paralell my Mac with sound.
Indeed my sound on the neo is routed to my Jabra 3030 BT device, so it  
is a nice TV for looking in bed, before giong to sleep.

What about the law to publish the video?

How small should it be - 1 minute?

It's german news from today at about 13:15 from ZDF.

We could do such stuff - right and legal to demonstrate the features  
and try to bring such presentations to the press.
As I read an article, most companies would be likely show only the  
positive things in their advertisement and wrap the
not so good features with long technical specifications. This is a  
marketing trick.

Here, the heise publisher reports about the tricks: 
http://www.heise.de/ct/Spar-Schweinereien--/artikel/135132
I don't know, if this article is also published in english.

So keep on going to produce 'good' press materal and find sponsors to  
publish them!

Or even simply keep staying legal with the content.

What do you think?

The video that is recorded is about 1GB. I can try to work on it, but  
I need some ideas about the length the TV recordings must be at maximum.

Lothar

Am 08.04.2009 um 11:50 schrieb Leonti Bielski:

 Denis, thanks a lot!
 I've put your config file on wiki.

 Now I can play video from memory card using only 15% of CPU!

 Leonti

 On Tue, Apr 7, 2009 at 11:50 PM, Denis Shulyaka shuly...@gmail.com  
 wrote:
 2009/4/8 Ivan Shirokov ivanshirok...@gmail.com:
 Does it work for FSO? Somehow it hangs up my FR. And there's  
 something like
 Your system is too slow in the console =(

 Actually, the mplayer build that is suggested in the wiki uses mp3lib
 for decoding mp3 audio tracks by default. I suggest you adding
 afm=ffmpeg line to ~/.mplayer/config file to force using ffmpeg's
 internal mp3 decoder, or use a build without mp3lib support. It
 appears to be more than 3 times faster on my FR!
 Here is my ~/.mplayer/config file:

 vo=xover:glamo,x11
 display=:0
 afm=ffmpeg
 fs=1
 quiet=1
 osdlevel=0
 noautosub=1
 stop-xscreensaver=1

 Hope it helps.

 ___
 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


-- | Rapid Prototyping | XSLT Codegeneration | http://www.lollisoft.de
Lothar Behrens
Heinrich-Scheufelen-Platz 2
73252 Lenningen









___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


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

2009-04-08 Thread Risto H. Kurppa
On Wed, Apr 8, 2009 at 2:40 PM, Lothar Behrens
lothar.behr...@lollisoft.de wrote:
 Hey and when you use vdr (http://de.wikipedia.org/wiki/Video_Disk_Recorder
 ) and a plugin to transcode it for small screens, you could watch tv
 live!

 I have tried that and it works very well. Now I have made a small
 video, recording the Neo and in paralell my Mac with sound.
 Indeed my sound on the neo is routed to my Jabra 3030 BT device, so it
 is a nice TV for looking in bed, before giong to sleep.

Have you documented the setup somewhere (openmoko wiki?) , I'd like to
see how do you do it..

r

-- 
| risto h. kurppa
| risto at kurppa dot fi
| http://risto.kurppa.fi

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


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

2009-04-08 Thread Leonti Bielski
Denis, thanks a lot!
I've put your config file on wiki.

Now I can play video from memory card using only 15% of CPU!

Leonti

On Tue, Apr 7, 2009 at 11:50 PM, Denis Shulyaka shuly...@gmail.com wrote:
 2009/4/8 Ivan Shirokov ivanshirok...@gmail.com:
 Does it work for FSO? Somehow it hangs up my FR. And there's something like
 Your system is too slow in the console =(

 Actually, the mplayer build that is suggested in the wiki uses mp3lib
 for decoding mp3 audio tracks by default. I suggest you adding
 afm=ffmpeg line to ~/.mplayer/config file to force using ffmpeg's
 internal mp3 decoder, or use a build without mp3lib support. It
 appears to be more than 3 times faster on my FR!
 Here is my ~/.mplayer/config file:

 vo=xover:glamo,x11
 display=:0
 afm=ffmpeg
 fs=1
 quiet=1
 osdlevel=0
 noautosub=1
 stop-xscreensaver=1

 Hope it helps.

 ___
 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


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

2009-04-08 Thread Lothar Behrens
Not yet. I have grabbed the information from what was available.

So maybe I seek the places and think about these descriptions to  
concentrate it or simply
link them as the steps to do.

Thus I have to backup my settings, grab those needed for the  
functionality and replay the setup
procedure to approve it before writing from my stuff in brain.

I vagually remember a mail I have sent about the Jabra BT issue here.  
I must search for it :-)

Lothar

Am 08.04.2009 um 14:10 schrieb Risto H. Kurppa:

 On Wed, Apr 8, 2009 at 2:40 PM, Lothar Behrens
 lothar.behr...@lollisoft.de wrote:
 Hey and when you use vdr (http://de.wikipedia.org/wiki/Video_Disk_Recorder
 ) and a plugin to transcode it for small screens, you could watch tv
 live!

 I have tried that and it works very well. Now I have made a small
 video, recording the Neo and in paralell my Mac with sound.
 Indeed my sound on the neo is routed to my Jabra 3030 BT device, so  
 it
 is a nice TV for looking in bed, before giong to sleep.

 Have you documented the setup somewhere (openmoko wiki?) , I'd like to
 see how do you do it..

 r

 -- 
 | risto h. kurppa
 | risto at kurppa dot fi
 | http://risto.kurppa.fi

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


-- | Rapid Prototyping | XSLT Codegeneration | http://www.lollisoft.de
Lothar Behrens
Heinrich-Scheufelen-Platz 2
73252 Lenningen









___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Watching videos on neo freerunner (openmoko 2008.12) mplayer-glamo (Was Re: Jabra BT3030 experience anywhere ?)

2009-04-08 Thread Lothar Behrens
Here it is, what I have published that time:

Searching for 'Jabra' on the wiki gave no result and searching for  
'Bluetooth' gave no headline regarding to Jabra, but I
know, there is a A2DP page (http://wiki.openmoko.org/wiki/A2DP). The  
Jabra 3030 BT isn't reported there to work.

So before I do, has it been put by someone at the wiki or anywhere?

Lothar

Am 19.01.2009 um 14:34 schrieb Lothar Behrens:

 Hi,

 now I have got the Jabra BT3030 working. Excelent sound, no crushing  
 noices as experienced with my Mac OS X :-)

 I also have successfully tested connection with a second phone to  
 test incoming calls. I'll hear a ring and I could accept
 and speak.

 Once the mplayer didn't come back with sound. I'll figure out the  
 cause if I have time. Restarting helped to solve.

 The installation steps, Steven has explained, are correct, but on  
 the 2008.12 are some packages not installed.

 I am using mplayer. And there is a working description as of post  
 from Glen at 29. Dezember 2008 04:27:48 MEZ.
 There was only an issue with the libgcc library that was too old,  
 thus sdl couldn't be installed, what mplayer caused to
 be not startable. (At least today)

 After installing the following package, sdl was installable and  
 mplayer would work.

 http://www.angstrom-distribution.org/feeds/2008/ipk/glibc/armv4t/base/libgcc1_4.2.4-r5.1_armv4t.ipk

 Also missing is the bluez-utils-alsa package. Mplayer couldn't find

 These are my packets:

 r...@om-gta02:~# opkg list_installed | grep blue
 bluez-audio - 3.33-r3 -
 bluez-hcidump - 1.42-r0 -
 bluez-utils - 3.33-r3 -
 bluez-utils-alsa - 3.33-r3 -
 bluez-utils-compat - 3.33-r3 -
 kernel-module-bluetooth -  
 3:2.6.24+gitr76014+fb42ce6724576fc173faf8abfb04aa2c36d213b7-r2.01 -
 libbluetooth2 - 3.33-r0 -

 The other packages are as reported from Glen.

 Here is my script to use the headset. (The bluetooth device must be  
 activated, or added as a line):

 #!/bin/sh

 export DEVICE=XX:XX:XX:XX:XX:XX

 /etc/init.d/bluetooth stop
 /etc/init.d/bluetooth start

 sleep 1
 passkey-agent --default  

 sleep 1
 echo Create bonding
 dbus-send --system --type=method_call --print-reply -- 
 dest=org.bluez /org/bluez/hci0 org.bluez.Adapter.CreateBonding  
 string:$DEVICE

 sleep 1
 echo Activating service audio
 dbus-send --system --print-reply --dest=org.bluez /org/bluez  
 org.bluez.Manager.ActivateService string:audio

 sleep 1
 echo Creating device
 dbus-send --system --type=method_call --print-reply -- 
 dest=org.bluez /org/bluez/audio org.bluez.audio.Manager.CreateDevice  
 string:$DEVICE

 sleep 1
 echo Connecting sink
 dbus-send --system --type=method_call --print-reply --dest=org.bluez  
 /org/bluez/audio/device0 org.bluez.audio.Sink.Connect


 To use the bluetooth audio device, the player has to started with  
 the correct parameters.

 Have fun - I have :-)

 Lothar

 -- | Rapid Prototyping | XSLT Codegeneration | http://www.lollisoft.de
 Lothar Behrens
 Heinrich-Scheufelen-Platz 2
 73252 Lenningen









 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

-- | Rapid Prototyping | XSLT Codegeneration | http://www.lollisoft.de
Lothar Behrens
Heinrich-Scheufelen-Platz 2
73252 Lenningen









___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


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

2009-04-08 Thread Ivan Shirokov
nope. I still see something like this in console

r...@om-gta02:~# ./vidplay /media/card/film01-FR.avi
 [AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or
 directory
 DVB card number must be between 1 and 4



 Your system is too SLOW to play this!  


 Possible reasons, problems, workarounds:
 - Most common: broken/buggy _audio_ driver
   - Try -ao sdl or use the OSS emulation of ALSA.
   - Experiment with different values for -autosync, 30 is a good start.
 - Slow video output
   - Try a different -vo driver (-vo help for a list) or try -framedrop!
 - Slow CPU
   - Don't try to play a big DVD/DivX on a slow CPU! Try some of the
 lavdopts,
 e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
 - Broken file
   - Try various combinations of -nobps -ni -forceidx -mc 0.
 - Slow media (NFS/SMB mounts, DVD, VCD etc)
   - Try -cache 8192.
 - Are you using -cache to play a non-interleaved AVI file?
   - Try -nocache.
 Read DOCS/HTML/en/video.html for tuning/speedup tips.
 If none of this helps you, read DOCS/HTML/en/bugreports.html.


And some kind of noise on the FR screen.
I think it can be caused by wrong file converting.
Or maybe I should try OM2008.12 instead of SFO.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


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

2009-04-07 Thread Ivan Shirokov
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 pottw...@web.de 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


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

2009-04-07 Thread Denis Shulyaka
2009/4/8 Ivan Shirokov ivanshirok...@gmail.com:
 Does it work for FSO? Somehow it hangs up my FR. And there's something like
 Your system is too slow in the console =(

Actually, the mplayer build that is suggested in the wiki uses mp3lib
for decoding mp3 audio tracks by default. I suggest you adding
afm=ffmpeg line to ~/.mplayer/config file to force using ffmpeg's
internal mp3 decoder, or use a build without mp3lib support. It
appears to be more than 3 times faster on my FR!
Here is my ~/.mplayer/config file:

vo=xover:glamo,x11
display=:0
afm=ffmpeg
fs=1
quiet=1
osdlevel=0
noautosub=1
stop-xscreensaver=1

Hope it helps.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


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

2009-01-17 Thread Steven **
On Sun, Jan 11, 2009 at 10:31 AM, pottwal4 pottw...@web.de wrote:
 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.

The xover issue you had is only a problem when starting the video over
SSH.  It works just fine with xover when started from the terminal on
the Neo.

Actually, I think it works better.  What that option seems to do is
force the video to the front (ie over everything else).  Without that
option, I can't get the mplayer window to accept input(clicks).  They
pass right through and hit whatever was on the screen before I ran
your script.

-Steven

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


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

2009-01-14 Thread kimaidou
Hi
+1 for the package in opkg
thanks in advance

2009/1/11 Pander pan...@users.sourceforge.net

 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

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


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

2009-01-11 Thread Daniel Nöthen
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

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


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

2009-01-11 Thread pottwal4
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


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

2009-01-11 Thread Pander
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