maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Usefull Mplayer options (https://talk.maemo.org/showthread.php?t=3035)

bsterix 2006-09-10 19:15

Usefull Mplayer options
 
Hi,
which are the best options for Mplayer for N770?
In the much to big Mplayer-thread there seem to be many different mplayer call.

Thanks
bsterix

bsterix 2006-09-11 15:00

Is it best to call Mplayer without any options at all???

Milhouse 2006-09-11 16:06

I find the following works well for 400x240 videso (this is all from memory, will correct any mistakes tonight):

Code:

-vo x11 -ao gst -ac dspmp3 -framedrop -autosync 1 -volstep 10 -cache 2048
or in /home/user/.mplayer/config:
Code:

vo=x11
ao=gst
ac=dspmp3
framedrop=true
autosync=1
volstep=10
cache=2048


smackpotato 2006-09-11 18:18

there are times you will want to use -playlist

bsterix 2006-12-20 14:46

any new options with mplayer rc1.5 (except -vo nokia770)?

brendan 2006-12-20 17:05

i tried to open a .wmv file with mplayer, and got jibberish and no video. was this version not compiled with the wmv extensions enabled or am i missing a config option?

Serge 2006-12-20 19:22

Quote:

Originally Posted by bsterix
any new options with mplayer rc1.5 (except -vo nokia770)?

No other options yet, if they were added, they would be added for some reason (implementing some new feature), and that new feature would be announced for sure :)

As for complete reference of existing maemo mplayer additional options, I may update maemo mplayer webpage and add this information there if I find some spare time for this. The original plan was to have a wiki page for documenting these options, but apparently garage wiki can be modified by developers only and that defeats the whole idea :(

Serge 2006-12-20 19:44

Quote:

Originally Posted by brendan
i tried to open a .wmv file with mplayer, and got jibberish and no video. was this version not compiled with the wmv extensions enabled or am i missing a config option?

I tried to find some .wmv samples and test them on Nokia 770 a few minutes ago (took sample from http://www.jhepple.com/support/sample_movies1.htm), it seems to me that everything is compiled in properly. But I would not call it very much usable as unfortunately wmv files seem to contain wma audio in them, and wma is not optimized for architectures without hardware floating point support in ffmpeg library (the engine that is used for mplayer) see some more details here: http://maemo.org/pipermail/maemo-dev...er/006437.html

What result exactly did you get with your wmv file? Can it be watched if you disable audio (using '-nosound' option)?

I wonder how many people would like to have .wmv video support in mplayer? Is it worth trying to fix it at all?

By the way, I found some link to a discussion about fixed point wma decoder patches: http://www.rockbox.org/tracker/4984 (it may be interesting to those who would like to experiment with optimizing wma playback)

Texrat 2006-12-20 19:54

I'd love to see the ability to select multiple media files to play one after the other.

Serge 2006-12-20 20:44

Quote:

Originally Posted by Texrat
I'd love to see the ability to select multiple media files to play one after the other.

Yes, it would be a nice feature. It would be very good if somebody skilled in GUI development decided to join our team to work on user interface usability. That would turn MPlayer into a killer multimedia application for Nokia 770.

bsterix 2006-12-21 09:21

Quote:

Originally Posted by smackpotato
there are times you will want to use -playlist

Is there any documentation of this option? what is it good for?

thanks
bsterix

Serge 2006-12-26 15:03

MPlayer supports -playlist option, its usage is described in mplayer documentation: http://www.mplayerhq.hu/DOCS/HTML/en/index.html

But generally you need to create a text file which contains names of your media files, one file name per line (playlist.txt for example). Then you need to run MPlayer with -playlist option:
mplayer -playlist playlist.txt

Some other useful options are -shuffle (randomize order) and -loop (play files in a loop). For example the following command line uses all these options to infinitely play files from some playlist in random order:
mplayer -loop 0 -shuffle -playlist playlist.txt

PS. You need the latest version on MPlayer (at least mplayer_1.0rc1-maemo.6) as the older versions had a bug that prevented from playing more than one file per mplayer run.

bnk1999 2007-06-29 17:25

Re: Usefull Mplayer options
 
Quote:

Originally Posted by Serge (Post 27272)
MPlayer supports -playlist option, its usage is described in mplayer documentation: http://www.mplayerhq.hu/DOCS/HTML/en/index.html

But generally you need to create a text file which contains names of your media files, one file name per line (playlist.txt for example). Then you need to run MPlayer with -playlist option:
mplayer -playlist playlist.txt

Some other useful options are -shuffle (randomize order) and -loop (play files in a loop). For example the following command line uses all these options to infinitely play files from some playlist in random order:
mplayer -loop 0 -shuffle -playlist playlist.txt

PS. You need the latest version on MPlayer (at least mplayer_1.0rc1-maemo.6) as the older versions had a bug that prevented from playing more than one file per mplayer run.

How do you create a "text file which contains names of your media files"? Which program(s) on the N800 do you use? I am a newbie to working with mplayer, Could you guide me through the process of creating and playing a playlist step by step? Thanking you in advance for any help that you can provide.

rcull 2007-06-29 18:16

Re: Usefull Mplayer options
 
bnk1999
If you have installed Xterm ( look it up ) and your music ( for instance ) is in
Code:

/media/mmc1/mp3
then from the command line

Code:

find /media/mmc1/mp3/Gary_Moore -print > plist.txt
to give a playlist of just the one sub directory or for everything under /media/mmc1/mp3 then

Code:

find /media/mmc1/mp3 -print > plist.txt
then

Code:

mplayer -loop 0 -shuffle -playlist plist.txt
Rick

bnk1999 2007-06-29 19:49

Re: Usefull Mplayer options
 
Thanks rcull. I will try this out when I get home tonight.

bnk1999 2007-07-03 01:26

Re: Usefull Mplayer options
 
:D Works great! Thanks for your help.


All times are GMT. The time now is 12:48.

vBulletin® Version 3.8.8