[MPlayer-dev-eng] [PATCH] mf frames count
Ivan Kalvachev
ikalvachev at gmail.com
Tue Feb 14 08:58:30 CET 2006
2006/2/14, Ötvös Attila <oattila at chello.hu>:
> Hi All!
>
> I created small patch with mf stream.
> The new options:
> count = number frames of one image file
>
> Example:
> mplayer mf://jpeg_files/*.jpg -mf fps=25:type=jpeg:count=100
> or
> mencoder mf://jpeg_files/*.jpg -mf fps=25:type=jpeg:count=100 -ovc ...
>
> Time until change image: 1/fps*count = 1/25*100 = 4s
>
> Create from 1 images to 10min time length video (eg. DVD menu):
> mencoder mf://jpeg_files/001.jpg -mf fps=25:count=15000 -ovc ...
>
> Best regards!
> Attila
Is this an repeat count? meaning that each picture will be repeated
15000 times? You must at least give it proper name.
While looking at your patch I found out that mf:// allows using of
filelist (the syntax is mf://@file.list) but it may seem this
functionality is not finished or at least not work out of the box.
It seems to work if you specify manually the type of the images (e.g.
-mf type=jpeg).
I guess this undocumented functionality could do the same trick (well,
quite slower because it will decode same picture again and again, but
i guess this could be workarounded...)
Best Regards
More information about the MPlayer-dev-eng
mailing list