[MPlayer-users] [OT] Creating a slide show

Robert Nichols rnicholsNOSPAM at comcast.net
Sun Feb 10 23:36:27 CET 2008


cga2000 wrote:
> On Sun, Feb 10, 2008 at 11:23:41AM EST, RC wrote:
>> On Sun, 10 Feb 2008 11:10:58 -0500
>> cga2000 <cga2000 at gmail.com> wrote:
>>
>>> What command line tool(s) should I use to create a video file that has
>>> a few pics and a CD track?
>> If you don't care about exact timing, you can use mencoder with  mf://
>> and -audiofile
> 
> Thanks, much appreciated.
> 
> Problem I have is that with just two jpegs the resulting .avi is so
> short that the sound track does not even get a chance to start playing!
> 
> :-)
> 
> For the record I typed the following at the prompt:
> 
> $ mencoder "mf://*.jpg" -mf fps=2 -audiofile test.wav -oac copy -ovc
>   raw -o test.avi
> 
> Also tried with fps=0 just in case .. but it just hangs.

Sure, "fps=0" means "display each frame for an infinite time."

What you probably want is more like "fps=0.1".  You'll also want to
add a blank slide at the end.  The player will quit immediately after
displaying the last slide (i.e., without waiting 1/fps seconds).

-- 
Bob Nichols     "NOSPAM" is really part of my email address.
                 Do NOT delete it.




More information about the MPlayer-users mailing list