Crossfade WIth Chroma Key in Custom Compositing Mode

Paul-Fisk wrote on 11/14/2023, 5:46 PM

Hello all,

Has anybody had this same problem? I'd like to do a crossfade and some simple fadeouts, but my main source video disappears into the background, which breaks the illusion. I'd hate to be limited to only cuts in future projects. I'm using Boris FX Primatte, which is incredible, but in order to take advantage of its full capabilities, you've got to use it in custom compositing mode.

Thank you for any suggestions.

Paul

 

Comments

mark-y wrote on 11/15/2023, 8:07 PM

Many of the compositing modes in Vegas (and Photoshop) are luminance-dependent, which means if you change the "brightness" by fading, they enter the neutral zone with regards to the Composing Mask.

One obvious example of this is the Difference composing mode. There is a point during a fade of the compositing layer where the difference is zero, thus it disappears.

White bar over a fading background in Difference compositing mode: This is just one of many examples.

Experiment.

Paul-Fisk wrote on 11/16/2023, 5:26 AM

Do you mean that fade in/out will destroy Boris FX Primatte in Custom Compositing Mode?

If so, you'd better render the video first (or create nest project), and then add fade in/out for it.

This is exactly what I was looking for. Thank you!

 

Paul-Fisk wrote on 11/16/2023, 5:43 AM

Try doing a chroma key using Primatte on your primary source (your talent), but make sure that track (the track with the person in it) is set to CUSTOM in the compositing mode choices on that track. (custom is the only way to take full advantage of light wrap and blending modes in Primatte).

Now, do a fade out at the end of a clip on your main source while keyed over the background (the next video clip that's under it, usually), and the person will disappear, and you'll be left with only a background image mid-fade.

Note: fading your background at the same time will not correct the problem. The key is too fast and too sensitive.

But, as others have said, this is a limitation and inherent characteristic of chroma keying. You have to render it before adding any cross-fades if you're going to chroma key.

Dexcon wrote on 11/16/2023, 5:48 AM

If the video events either side of the video event to which BorisFX Primatte has been applied and the pre/post video events do not themselves have Primatte applied, then place the pre and post video events on a track above the Primatte video event and apply the in/out fades only to the non-Primatte video events on the upper track. When using fades in Vegas Pro, there is no need to apply an in/out fade to video events on a lower track - transitions yes, but not fades/dissolves.

If all or most of your video events include Primatte, then the best option is to render each event off as an intermediate and use that intermediate on your project's timeline as suggested by @lan-mLMC .

Cameras: Sony FDR-AX100E; GoPro Hero 11 Black Creator Edition

Installed: Vegas Pro 15, 16, 17, 18, 19, 20, 21 & 22, HitFilm Pro 2021.3, DaVinci Resolve Studio 20, BCC 2025, Mocha Pro 2025.0, NBFX TotalFX 7, Neat NR, DVD Architect 6.0, MAGIX Travel Maps, Sound Forge Pro 16, SpectraLayers Pro 11, iZotope RX11 Advanced and many other iZ plugins, Vegasaur 4.0

Windows 11

Dell Alienware Aurora 11:

10th Gen Intel i9 10900KF - 10 cores (20 threads) - 3.7 to 5.3 GHz

NVIDIA GeForce RTX 2080 SUPER 8GB GDDR6 - liquid cooled

64GB RAM - Dual Channel HyperX FURY DDR4 XMP at 3200MHz

C drive: 2TB Samsung 990 PCIe 4.0 NVMe M.2 PCIe SSD

D: drive: 4TB Samsung 870 SATA SSD (used for media for editing current projects)

E: drive: 2TB Samsung 870 SATA SSD

F: drive: 6TB WD 7200 rpm Black HDD 3.5"

Dell Ultrasharp 32" 4K Color Calibrated Monitor

 

LAPTOP:

Dell Inspiron 5310 EVO 13.3"

i5-11320H CPU

C Drive: 1TB Corsair Gen4 NVMe M.2 2230 SSD (upgraded from the original 500 GB SSD)

Monitor is 2560 x 1600 @ 60 Hz

Paul-Fisk wrote on 11/16/2023, 5:54 AM

If the video events either side of the video event to which BorisFX Primatte has been applied and the pre/post video events do not themselves have Primatte applied, then place the pre and post video events on a track above the Primatte video event and apply the in/out fades only to the non-Primatte video events on the upper track. When using fades in Vegas Pro, there is no need to apply an in/out fade to video events on a lower track - transitions yes, but not fades/dissolves.

If all or most of your video events include Primatte, then the best option is to render each event off as an intermediate and use that intermediate on your project's timeline as suggested by @lan-mLMC .

Ooooh! This is good too. And it seems the least time-consuming. Thank you!

 

EDIT: I should have tead this morw carefully. I added an empty event about the entire timeline, but fade outs don't work like this as Primatte is post under it. Oh, well.

 

I won't be using green screen anymore. It's roo much of a hassle. When I pre-render the video inside Begas, it crashes immediately after saying I don't have permission. Nothing but problems with Primatte. I'm done.

 

Thank-you all.

lan-mLMC wrote on 11/16/2023, 5:59 AM

But, as others have said, this is a limitation and inherent characteristic of chroma keying. You have to render it before adding any cross-fades if you're going to chroma key.

This is related to the composite order in Vegas software.

Cross-fades is belong to the event level, and Custom Compositing Mode is belong to the track level.

Vegas always handles the event level task first, and then the track level task.

If you want to break this order, you must first render or nest the track-level tasks, and then import them back to Vegas for event-level tasks.

Paul-Fisk wrote on 11/16/2023, 6:08 AM

No more green screen for me. Too much of a hassle. Now Vegas tells me I don't have permission to play the clip back after rendering inside.

Screw it.

Thank-you for your suggestions.