Log in

View Full Version : Combining two sources


Floatingshed
23rd March 2020, 18:13
I have two recordings of the same footage.
One is OK quality but has a tv logo in the top left corner, the second is inferior quality but logo-free.
Is it possible to replace the logo'd area with the corresponding area of the logo-free clip?

Thanks.

poisondeathray
23rd March 2020, 18:45
You can crop the no logo version down to the top left corner and overlay that on top of the version with the logo, to "cover" it up

Overlay(withlogo, nologo)

Everything has to match in terms of frame rate, frames. Otherwise you might have to sync it up or do other manipulations . Sometimes there are other issues such as color or noise mismatch that you might have to compensate for . But it depends on what you have exactly

johnmeyer
23rd March 2020, 23:09
This is one of those things that might come out better looking if your NLE supports compositing. In Vegas, I can draw a loop around the logo and then put the logo-free version of the video underneath.

The advantages of doing it in the NLE rather than trying to do it with AVISynth are:

1. I can draw the loop so that it nicely matches the logo area. It can be any shape I want.

2. I can adjust the gamma and color interactively to get a better match. Most likely, the two videos will not look the same.

3. I can adjust for any differences in resolution.

4. I can shift the two captures so that they register exactly.

5. I can easily feather the edges of the overlay so it doesn't call attention to itself.

Doing these things would take less time than it took me to write the above.

Floatingshed
24th March 2020, 15:50
Thanks.
Using Vegas sounds like it would be the best option but I don't have it and it would be a Hell of a learning curve.
I'd like to attempt it with avisynth, are there better tools for the job than overlay?

poisondeathray
24th March 2020, 16:06
Thanks.
Using Vegas sounds like it would be the best option but I don't have it and it would be a Hell of a learning curve.
I'd like to attempt it with avisynth, are there better tools for the job than overlay?

"Better" in what way ?

If they are matching versions, not slightly different, then overlay is the ideal / easiest/ fastest method


You can do some manipulations in avisynth too, such as feather by using a mask, blurring the mask edges . There are avisynth plugins to attempt to match colors , plugins to scale/position , color match automatically e.g. autooverlay

https://forum.doom9.org/showthread.php?t=175247
http://avisynth.nl/index.php/AutoOverlay

johnmeyer
25th March 2020, 00:04
You don't have to use Vegas. Many other NLEs have similar features. What do you use to edit videos?