[libav-api] I-Frame extraction

Alessandro Greco alegreco.27 at gmail.com
Tue Nov 8 15:11:53 CET 2011


Hi,
first of all thankk you very much for your support!

I tried to use -skip_frame nokey (before -i test.mpg) as indicated, but I
cannot extract only the i-frame

When I use the command

*ffmpeg -skip_frame nokey -i video.mpg -re -intra -f image2
ImgTemp/img-%03d.jpg*

I obtain thousands of frame and they're repeated too

Help me, please!

2011/11/3 Ronald S. Bultje <rsbultje at gmail.com>

> 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
> _______________________________________________
> libav-api mailing list
> libav-api at libav.org
> https://lists.libav.org/mailman/listinfo/libav-api
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libav.org/pipermail/libav-api/attachments/20111108/273f11dd/attachment.html>


More information about the libav-api mailing list