EDIT #3
The original title of this thread was: "Why is alpha-over node not as good as in the VSE?" and I think the best answer to that is from @troy_s:
You have to remember that the compositor and the VSE operate in radically different ways, so don't expect a correspondence between values.
Since then the discussion has moved on to Key node settings, so I am changing the question. For reference, the original post follows ...
I am making some video presentations of student art work, where the students are keyed over their art.
I started by saving the keyed "talent" as .png sequences and using the VSE to overlay that on top of the art.
This is acceptable considering the video was taken with a tablet, using green corrugated PVC board as a green-screen.
But the process is very time-consuming and I have about 600 shots to do!
So it occurred to me that I should be able to put everything together in the compositor to make it more efficient.
However, the Alpha Over node in the compositor is making parts of the "talent" transparent.
At first I suspected the output from the Keying node. Somehow, it might not be the same as a .png file. So, to trouble-shoot, I tried using the same frame from the .png image sequence instead of the direct output, but the result is the same either way.
So, before I go back to saving everything as .png sequences, can anyone tell me a way to get the Alpha Over node to behave the same as the Alpha Over VSE effect?
EDIT #1
Thanks to @cegaton for getting involved. Here is the .png image.
And here is the original node setup before I started trouble-shooting.
I really can't see how the .png could be the problem because:
- Originally, I was trying to take the output directly from the Key node without saving to a .png; and
- The .png sequence works as expected in the VSE - it produced the (acceptable) image at the top of the page.
In fact saving to a .png sequence solves the problem (in that I can use it in the VSE) rather than causing it. But I'd prefer to avoid that as it's time-consuming.
EDIT #2
@cegaton Oh dear! I really wish I'd made no mention of PNG as it has been a distraction.
To clarify:
- If you look at the original node setup (i.e. the one after EDIT #1) there is no hint of a PNG image anywhere.
- The problem is that, using that node setup, I noticed that the keyed output had some bleed through from the background image.
- I didn't know whether the problem was with the Key node or the Alpha Over node, so I used a standard trouble-shooting technique to find which one was the culprit.
- It was only then that I tried replacing the Key node with the Image node, since the PNG sequence worked well in the VSE.
- I actually suspected that my Key node settings were at fault, and was surprised that replacing the Key node with the Image node produced exactly the same results!
- So, since a) the Key node and Image node produced the same results in the compositor, and b) the Alpha Over effect in the VSE produced much better results, the logical conclusion is that either:
- the Alpha Over node is somehow different to the Alpha Over effect in the VSE; or
- the VSE is feeding the Alpha Over effect differently to the way the compositor feeds the Alpha Over node.
So, not using PNG images cannot be part of the solution because I wasn't using them in the compositor before I started trouble-shooting.
However, I think @cegaton is probably right in that the solution is in adjusting the Key node settings. I suspect what is actually happening is that the VSE is somehow disguising the problem with the keying.
I just wish I could find a way to replicate whatever the VSE is doing in the compositor!
EDIT #4
Thanks to all for the contributions so far. Here is a screenshot of the original video.
As you can see, the variation in green colour makes keying very difficult. I am used to chromakey where there is a setting called "tolerance" or something similar. I also vaguely remember stacking chromakeys in Kdenlive for severe cases such as this where the bottom panel is so much darker than the others.
The Key node in Blender is much better because it has "Despill" but I do miss the tolerance setting. Reading the Blender manual, I think I need to replace the single "Key Color" with a range, but I'm not sure how to do that.
As usual any advice would be most appreciated.