[libav-api] I-Frame extraction

Alessandro Greco alegreco.27 at gmail.com
Thu Nov 3 16:00:50 CET 2011

Good morning to all,

I'm new to ffmpeg and I need help.

I want to extract only the I-frames from a MPEG2-TS file and save them as

I'm using the following command:

ffmpeg -i test.mpg -intra -t 10 -r 1 -f image2 img-%03d.jpg

Although I use "-intra" (which is for the encoding step), I don't know if
the frames I extract are intra ora not. DO you have such information?

Also, I need to extract to associate the timestamp to the frames; the idea
is to save each frame as TIMESTAMP.jpg

Can somebody help me??

Thank you in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libav.org/pipermail/libav-api/attachments/20111103/3b9d52f4/attachment.html>

More information about the libav-api mailing list