[maemo-developers] command line mplayer under OS2007HE - basic shell scripts to run audio or video

From: Darius Jack dariusjack2006 at yahoo.ie
Date: Mon Jun 30 16:14:03 EEST 2008
Thanks.
Frankly speaking mplayer buttons don't work when I  play a game as a gui application.
Can't sound up/down with "-" / "+" upper button, running mplayer as command line application but I would still prefer to.

Just got some basic options
Can play mp3 file from url address http://..../*.mp3

Any chance to set volume up/down with "+" / "-" button emulated by a shell script code or have other button/s combination enabled by shell script?
With terminal opened I can play with arrows.

Unfortunately playing mp3 file from the Internet maemo hangs on and 
buttons don't play at all.
Memory/ graphics problems ?

Darius

"
mplayer lacks an option for selecting files in a reverse order. So here is a quick way to playback all mp3 files in reverse order:
$ ls -1 -r *.mp3 > mp3.rev
$ mplayer -playlist mp3.rev
Where,

    * -r reverse order while sorting
    * -1 list one file per line
    * -playlist file : Play files according to a playlist file



Seeks to 56 seconds:

$ mplayer movie.avi -ss 56

seeks to 1 hour 10 minutes:

$ mplayer movie.avi -ss 01:10:00
"

________
Running the new MPlayer
MPlayer can be run just as before. However, it can now open "rtsp://" URLs:

    mplayer rtsp://<servername>/<filename>
_______________




--- On Mon, 30/6/08, Neil Jerram <neiljerram at googlemail.com> wrote:

> From: Neil Jerram <neiljerram at googlemail.com>
> Subject: Re: command line mplayer under OS2007HE - basic shell scripts to run audio or video
> To: dariusjack2006 at yahoo.ie
> Cc: maemo-developers at maemo.org
> Date: Monday, 30 June, 2008, 2:13 PM
> 2008/6/30 Darius Jack <dariusjack2006 at yahoo.ie>:
> > Hi,
> >
> > installed, upgraded mplayer and can run it with
> GMPlauncher
> > and looking for some basic shell scripts to run
> mplayer from command line.
> 
> It sounds like you're looking for mplayer's
> "slave" mode.
> 
> > Please refer me to a nice place with some examples of
> shell scripts.
> 
> I'm afraid I don't have any such scripts or links
> myself.  Googling
> for "mplayer slave" may give you some starting
> points, though.
> 
>      Neil

Send instant messages to your online friends http://uk.messenger.yahoo.com 

More information about the maemo-developers mailing list