[MPlayer-users] mplayer 1.0pre5
g0tcha
g0tcha at webmail.co.za
Mon Sep 6 15:31:08 CEST 2004
Hi
The command works great but as stipulated in your email doesn't loop it
plays everything once and then stop on " PLAYING dev/null "
Is it possible to use a perl script to go through a playlist an run the
media according to the playlist !!!
Any ideas on how I can go about doing this
-----Original Message-----
From: mplayer-users-bounces at mplayerhq.hu
[mailto:mplayer-users-bounces at mplayerhq.hu] On Behalf Of D Richard Felker
III
Sent: Thursday, September 02, 2004 8:06 PM
To: MPlayer usage questions, features, bugreports
Subject: Re: [MPlayer-users] mplayer 1.0pre5
On Thu, Sep 02, 2004 at 04:47:34PM +0200, g0tcha wrote:
> Tested it with mplayer -shuffle * mf://*.jpg -fps 0.1
>
> It still plays videos first then pics :-(
>
> -----Original Message-----
> From: mplayer-users-bounces at mplayerhq.hu
> [mailto:mplayer-users-bounces at mplayerhq.hu] On Behalf Of Ivan Rajkovic
> Sent: Thursday, September 02, 2004 4:26 PM
> To: MPlayer usage questions, features, bugreports
> Subject: Re: [MPlayer-users] mplayer 1.0pre5
>
> On Thu, 2 Sep 2004 16:18:04 +0200
> "g0tcha" <g0tcha at webmail.co.za> wrote:
>
> > Hi
> >
> > Well the command I used that works is
> >
> > Mplayer * mf://* -fps 0.1 -shuffle
> >
> > But the problem with the above command is as Giacomo says " it plays
> > the
> > movies first then the jpegs " even if I have -shuffle enabled.
>
> maybe you should give a '-shuffle' option before the name of the files,
> like
> mplayer -shuffle * mf://*.jpg -fps0.1
the mf:// only qualifies as one file, so it won't get shuffled!!
instead try this:
mplayer -loop 0 -shuffle *.avi *.mpg \
`ls *.jpg | sed 's@^@mf://@;s@$@ -fps 0.1@'` /dev/null
the final /dev/null is needed because of a bug where the last file
doesn't get shuffled (it always plays last).
another problem: i don't think the fps will work with only one image
displayed. :( maybe you can find some way to get each image to display
twice, e.g. making a symlink to each image such that you can match
both with the mf:// pattern.
rich
_______________________________________________
MPlayer-users mailing list
MPlayer-users at mplayerhq.hu
http://mplayerhq.hu/mailman/listinfo/mplayer-users
More information about the MPlayer-users
mailing list