[FFmpeg-devel] [PATCH] Add an usage example for extracting images from a video in the docs
Víctor Paesa
wzrlpy
Tue Aug 12 07:40:14 CEST 2008
Hi,
Stefano Sabatini said:
> Hi, as in subject.
> +* You can extract images from a video:
> +
> + at example
> +ffmpeg -i foo.avi -r 1 -s WxH -f image2 foo%03d.jpeg
> + at end example
> +
> +This will extract one video frame per second from the video and will
> +output them in files named like @file{foo-001.jpeg}, @file{foo-002.jpeg},
> +etc. Images are rescaled to fit the new WxH values.
Hmm, won't files end up named as "foo001.jpeg" instead of "foo-001.jpeg" ?
Regards,
V?ctor
More information about the ffmpeg-devel
mailing list