[Ffmpeg-devel] frame extraction
Víctor Paesa
wzrlpy
Fri Jan 5 17:13:20 CET 2007
Hi,
> Is it possible to extract frame uncontinuos ( one each ten for example )
> from an avi and save it in jpg?
> At the moment I'm only able to extract all the frame from a time to
> another.
Yes, if you input AVI is 25fps and you want one of each ten frames
then use as output rate 25/10
$ ffmpeg -i small.avi -r 25/10 -f image2 out%03d.jpg
The result is not exact, there will be maybe a few frames more.
Regards,
V?ctor
More information about the ffmpeg-devel
mailing list