[libav-api] I-Frame extraction

Ronald S. Bultje rsbultje at gmail.com
Thu Nov 3 16:48:08 CET 2011


Hi,

On Thu, Nov 3, 2011 at 8:00 AM, Alessandro Greco <alegreco.27 at gmail.com> wrote:
> I want to extract only the I-frames from a MPEG2-TS file and save them as
> PNG or JPEG.
>
> I'm using the following command:
>
> ffmpeg -i test.mpg -intra -t 10 -r 1 -f image2 img-%03d.jpg

Use -skip_frame nokey (before -i test.mpg).

Ronald


More information about the libav-api mailing list