logo Sign In

Comparing 2 videos using Avisynth

Author
Time

Can some of you Avisynth experts help me with this one?

I started a youtube channel where I try to post comparison videos of the classic Star Trek episodes, https://www.youtube.com/channel/UCYVO_FV66VctfXLf9ClmrEg .

I have an avisynth script prepared which stacks the 2 videos side by side, but I have to do a manual comparison of both videos. Because it's manual work, it takes a lot of time and there is a BIG chance I will miss some of the changes. Is there a way how to do this in Avisynth?

I thought that I could maybe do something with overlays or something similar ....

What I am trying to achieve is a video, which will FOR EXAMPLE be black when the two videos are identical, and FOR EXAMPLE be white when there is ANY change on that frame.

In other words, I want to know immediately if the frame is identical in both versions or if there are any differences (the black and white frames are just examples, I don't care HOW will I get the information). Or maybe is there a chance to write a LOG FILE from Avisynth? You know, a file which would contain just the numbers of the frames which are different?

Could somebody help me with this? Thanks a lot

Author
Time

I would do something like this:

Overlay(cgiclip,nocgiclip,mode="difference",opacity=1)

This isn't exactly what you are looking for but any pixels that don't match each other will immediately jump out at you while you are watching.

Luke threw twice…maybe.

Author
Time

Interesting, I'll try it and let you know if it's helpful :)

Author
Time

I did something like this to compare the censored and uncensored versions of Roger Rabbit. My intention was to to have the two sources cancel out leaving a grey screen, with any changes appearing as black or white artefacts.

It wasn't that successful as the sources didn't line up precisely, but you can see some examples here.

Guidelines for post content and general behaviour: read announcement here

Max. allowable image sizes in signatures: reminder here