remove duplicate frames from a movie

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

remove duplicate frames from a movie

Henny Zandbergen
I have a movie in which each frame is repeated 9 to 18 times (it
varies). Is there a plugin that compares the subsequent frames and
removes all the duplicate ones?
--
--------------------------------
Henny Zandbergen, tel 31-15-2782266, fax 31-15-2786600
Reply | Threaded
Open this post in threaded view
|

Re: remove duplicate frames from a movie

dscho
Hi,

On Sun, 26 Dec 2010, Henny Zandbergen wrote:

> I have a movie in which each frame is repeated 9 to 18 times (it
> varies). Is there a plugin that compares the subsequent frames and
> removes all the duplicate ones?

The easiest way is probably to write a Javascript which takes the
difference between two consecutive frames and uses the maximum value of
the difference as measure for equality. Then you just remove the redundant
frames with the "Delete Slice" command (IJ.run(imp, "Delete Slice");).

Ciao,
Johannes