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
PNG or JPEG.

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!
Alessandro
_______________________________________________
libav-api mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-api

Reply via email to