<p>I'm trying to solve an issue.</p>

<p>I've recorder using an Atomos the Ultra HD 60p HDMI output from Chromecast with some Google Stadia Games.</p>

<p>Now I have some proRes file @60 fps, but the games are not of course at 60p. There are some frame drops for connection, and some frame variance according to the scene rendered.</p>

<p>I need to put on a chart the "real fps", so for every second I have to discard dubbed frames, remove from the "60 frame per seconds" the "dropped frames for second" and log the result in a time chart.</p>

<p>I know that using <code>mpdecimate</code> I can drop frames that do not differ greatly from the previous frame in order to reduce frame rate, and could be useful for me. </p>

<p>Do you know if there is something similar or a better way to do this?</p>

CC BY-SA 4.0
2019-12-11T19:00:37.737Z
If you only need to identify the dupes, see freezedetect filter.
Gyan
CC BY-SA 4.0
2019-12-11T21:38:37.953Z
@Gyan I want the FPS
Roberto Pezzali
CC BY-SA 4.0
2019-12-12T05:09:04.160Z
There's no concept of a 'real' FPS. You identify the duplicated frames with their timings, and then calculate the number of non-dupes in each time interval of interest.
Gyan
<ffmpeg>
How to log duplicated frames using FFmpeg?
Roberto Pezzali
# How to log duplicated frames using FFmpeg?

(Asked by: username_0 on 2019-12-11)

I'm trying to solve an issue.

I've recorder using an Atomos the Ultra HD 60p HDMI output from Chromecast with some Google Stadia Games.

Now I have some proRes file @60 fps, but the games are not of course at 60p. There are some frame drops for connection, and some frame variance according to the scene rendered.

I need to put on a chart the "real fps", so for every second I have to discard dubbed frames, remove from the "60 frame per seconds" the "dropped frames for second" and log the result in a time chart.

I know that using `mpdecimate` I can drop frames that do not differ greatly from the previous frame in order to reduce frame rate, and could be useful for me.

Do you know if there is something similar or a better way to do this?

**Tags:** ffmpeg

> **Comments:**
> **username_1**: If you only need to identify the dupes, see freezedetect filter.  
> **username_0**: @username_1 I want the FPS  
> **username_1**: There's no concept of a 'real' FPS. You identify the duplicated frames with their timings, and then calculate the number of non-dupes in each time interval of interest.  

---

## 0 answers

