Previous topicNext topic

Video transparency?

Questions, comments, feedback, etc.
Post Reply
adrmmusic
Posts: 1
Joined: Fri Dec 09, 2016 4:22 pm

Video transparency?

Post by adrmmusic »

Is there a way to make video transparency? For example, can I import a logo intro animation video and just have the background transparent?
Or import a video of particles and blend the particles with another background layer?

Currently the only thing I had success with is using the transparency feature in magic. Is there other blending options that works better?
JEL
Posts: 11
Joined: Sun Oct 30, 2016 1:11 pm

Re: Video transparency?

Post by JEL »

Look for nodes such as Mask, Luma key, Blend mode.
artnik
Posts: 268
Joined: Tue Jan 05, 2016 5:33 pm

Re: Video transparency?

Post by artnik »

With the modules JEL mentioned it's fairly trivial, as long as you have prepared the logo animation with a good solid colour as the background.

Luma Key (If the background is pure black and there's no pure black in the logo itself), and Chroma Key (if your background is pure green or pure blue).

A third option is to render a second animation containing the transparency information and use the Mask module to apply it.
blackdot
Posts: 528
Joined: Sun Jul 06, 2014 10:18 pm

Re: Video transparency?

Post by blackdot »

and a fourth option would be to use a picture or video that does actually support and contain an alpha channel like png (for image) or 'quicktime animation' or 'hap alpha' codec for videos (there are others but I forgot them)
artnik
Posts: 268
Joined: Tue Jan 05, 2016 5:33 pm

Re: Video transparency?

Post by artnik »

@blackdot True that.

Wouldn't it be nice if the JPEGFolder was instead a generic IMAGEFolder that would allow you to load a series of alpha-channeled PNGs, or other format? :-)
blackdot
Posts: 528
Joined: Sun Jul 06, 2014 10:18 pm

Re: Video transparency?

Post by blackdot »

artnik wrote:@blackdot True that.

Wouldn't it be nice if the JPEGFolder was instead a generic IMAGEFolder that would allow you to load a series of alpha-channeled PNGs, or other format? :-)
actually I think Eric said something about the jpg's being able to be run really fast and png's not. some kind of hardware accelleration. so that's why he settled for jpg's only.

instead you can just run 2 sequences, one the color sequence, the other the mask sequence and put them together. at least that's how i do it. you can even safe by exporting your mask sequence into bw only and not rgb.
artnik
Posts: 268
Joined: Tue Jan 05, 2016 5:33 pm

Re: Video transparency?

Post by artnik »

Nice! Thanks for the suggestion – I never considered two folders of JPEGs for this.
Magic
Site Admin
Posts: 3441
Joined: Wed Apr 09, 2014 9:28 pm

Re: Video transparency?

Post by Magic »

actually I think Eric said something about the jpg's being able to be run really fast and png's not. some kind of hardware accelleration. so that's why he settled for jpg's only.
Yeah, here's the post where we were talking about it :): viewtopic.php?f=2&t=738
artnik
Posts: 268
Joined: Tue Jan 05, 2016 5:33 pm

Re: Video transparency?

Post by artnik »

Thanks Eric!
Post Reply