Skip to main content
Inspiring
November 24, 2020
Answered

Detecting identical frames.

  • November 24, 2020
  • 1 reply
  • 2962 views

Is there a way to detect consecutive identical frames in footage inside AE? For example, I have a video with frames #100 and #101 that look identical down to every pixel. I would like to get this flagged in some way. So this would be a kind of the opposite to motion detection.

 

I understand that there are ways to do that with python scripts, etc. My question is specifically about doing this inside AE.

This topic has been closed for replies.
Correct answer Roland Kahlenberg

You should be able to use the sampleImage() method. You'll need to think of an algorithm to work with.

1 reply

Andrew Yoole
Inspiring
November 24, 2020

There is no built-in process in AE for duplicate frame detection.

Lloyd Alvarez's script is the most common tool for this process thast I'm aware of.

https://aescripts.com/duplicate-frame-remover/

 

Inspiring
November 25, 2020

Thank you Andrew. This looks like a nice script, but I just need to flag the duplicate frames, not delete them. I wonder if that script uses some built-in function in ExtendScript that can compare frames.

Roland Kahlenberg
Roland KahlenbergCorrect answer
Legend
November 26, 2020

You should be able to use the sampleImage() method. You'll need to think of an algorithm to work with.

Very Advanced After Effects Training | Adaptive & Responsive Toolkits | Intelligent Design Assets (IDAs) | MoGraph Design System DEV