OpenCv API to extract I-frames

Viewed 671

Does opencv-python have API to extract I-frames from a video?

I am using ffprobe to extract I-frames from video and passing frame numbers to opencv for manipulating frames but this requires iterate video frames in two steps; one for detecting I-frames and one for manipulating those. so I searched for a direct way to extract I-frames from video using just opencv but nothing found.

If there is a solution, I'll be happy to hear it.

0 Answers
Related