[MPlayer-users] JPEG to MPEG2

Guillaume POIRIER poirierg at gmail.com
Tue Sep 27 11:50:57 CEST 2005


Hi,

On 9/27/05, Alexandre CONRAD <aconrad.tlv at magic.fr> wrote:
> >>I want to encode a single JPEG file to an MPEG-2 video file. But I
> >>want  to display the picture for 10 seconds.
>
> So it is possible to have mpeg2 output with mplayer, right ? (some
> people are wondering and are using transcode).

Yes.


> Is there a syntax example somewhere for doing this ? There are so many
> options. I want to convert a 720x576 JPEG image (PAL) to a short MPEG2
> video file and be able to have a trick with mplayer for reading the file
> in a loop. Maybe someone already has a script for that...

You should read and adapt this doc:
http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-vcd-dvd.html and this
one: http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-enc-images.html


> > How about -fps 0.1 -ofps 24 (or something similar)?  I'm not sure if the
> > bug was fixed with mencoder discarding the last image, so you might have
> > to include the image twice: image.jpg,image.jpg  if the standard way
> > isn't working...
>
> Humm... I'll have a look at these options. Thanks.


Cheers,

Guillaume
--
Reading doesn't hurt, really!
  -- Dominik 'Rathann' Mierzejewski




More information about the MPlayer-users mailing list