0
I want to extract two kind of frames from a tv stream using ffmpeg at the same time.
My question is how can I get two two I and P frames using one single command?
e.g : command to get all keyframes in ffmpeg :
ffmpeg -i http://my-tv-stream.m3u8 -vf "select=eq(pict_type\,I)" -vsync vfr -qscale:v 2 thumbnails-%02d.jpeg
I forgot to ask about this issue as well. how can I indicate the type of output images by the type of frames then? – Seyed Vahid Hashemi – 2016-08-03T11:57:00.407
Edited into answer. – Gyan – 2016-08-03T13:16:55.760