<p>I have some fundamental questions on shots and I-frames. When we apply shot detection on a video, how many I-frames will exist in a shot? How many frames exist between two I-frames? And does the shot always start with an I-frame?</p>

CC BY-SA 4.0
2020-08-20T00:05:22.783Z
It depends on the length of the shot, and the capture device and its settings. The GOP length(the length between I-frames) is not set in stone, it is one of the settings that can be adjusted when compressing video, and it can change within a shot. Perhaps you could specify what you're using to capture the video.
stib
CC BY-SA 4.0
2020-08-20T03:17:12.737Z
It's basically some movies, and I don't know the capture device. And I use FFmpeg to spli it into shots. I just realized it's more than 1s.
angel_30
<video><video-capture><keyframes>
How many I-frames are in a single shot?
angel_30
# How many I-frames are in a single shot?

(Asked by: username_0 on 2020-08-19)

I have some fundamental questions on shots and I-frames. When we apply shot detection on a video, how many I-frames will exist in a shot? How many frames exist between two I-frames? And does the shot always start with an I-frame?

**Tags:** video, video-capture, keyframes

> **Comments:**
> **username_1**: It depends on the length of the shot, and the capture device and its settings. The GOP length(the length between I-frames) is not set in stone, it is one of the settings that can be adjusted when compressing video, and it can change within a shot. Perhaps you could specify what you're using to capture the video.  
> **username_0**: It's basically some movies, and I don't know the capture device. And I use FFmpeg to spli it into shots. I just realized it's more than 1s.  

---

## 0 answers

