Can't output a transparent background video

beatokko wrote on 4/20/2020, 2:15 AM

Hi, there folks! I want to output a transparent background video file and can't find a way to do it. It's a transition I want to use in OBS studio.

Source is green screen mp4, have enabled alpha channel in clip properties and also applied chroma keying effect on clip.

Tried .avi and .mov files as render options, but the output alwas has black screen.

Also installed quicktime and enabled its support in the preferences (deprecated), but it doesn't appear as output option in "render as". Please help!

 

Update (2020-04-21):

fr0sty wrote on 4/20/2020, 5:08 AM

You can do avi and go into its customized settings and change the compression type to "uncompressed", just know the file size will be huge. From there, you can specify that it has an alpha channel in the same menu.

This solution works. I will try and find out if Handbrake can convert the output heavy .avi file to a lighter format, but OBS could handle the transition as stinger without a problem.

Thanks!

Comments

fr0sty wrote on 4/20/2020, 3:08 AM

You can do avi and go into its customized settings and change the compression type to "uncompressed", just know the file size will be huge. From there, you can specify that it has an alpha channel in the same menu. For .mov, you want to also set it to "uncompressed", and then under the color settings, make sure it is set to "millions of colors+" (not just millions of colors) which enables the alpha channel.

There are other formats that support alpha, but I'm not sure which of those OBS will decode. I'll look into it and post later if I find a better format. Uncompressed files are huge and can play back slowly on older hardware.

Last changed by fr0sty on 4/20/2020, 3:08 AM, changed a total of 1 times.

Systems:

Desktop

AMD Ryzen 7 1800x 8 core 16 thread at stock speed

64GB 3000mhz DDR4

Geforce RTX 3090

Windows 10

Laptop:

ASUS Zenbook Pro Duo 32GB (9980HK CPU, RTX 2060 GPU, dual 4K touch screens, main one OLED HDR)

EricLNZ wrote on 4/20/2020, 3:14 AM

With mov files if you want an alpha channel you need to customize the QT template choosing a "Video Format' that enables you to select 32 bit in the 'Compression Depth' dropdown box.

fr0sty wrote on 4/20/2020, 3:31 AM

Yes, sorry, I was posting how to do it in AME. I forgot Vegas handles it differently.

Systems:

Desktop

AMD Ryzen 7 1800x 8 core 16 thread at stock speed

64GB 3000mhz DDR4

Geforce RTX 3090

Windows 10

Laptop:

ASUS Zenbook Pro Duo 32GB (9980HK CPU, RTX 2060 GPU, dual 4K touch screens, main one OLED HDR)

wwaag wrote on 4/20/2020, 10:15 AM

Another option is use of HappyOtterScripts. Here's a link to a recent thread that includes a demo tagged as Solution.

https://www.vegascreativesoftware.info/us/forum/rendering-with-transparent-background--119025/#ca742970

AKA the HappyOtter at https://tools4vegas.com/. System 1: Intel i7-8700k with HD 630 graphics plus an Nvidia RTX4070 graphics card. System 2: Intel i7-3770k with HD 4000 graphics plus an AMD RX550 graphics card. System 3: Laptop. Dell Inspiron Plus 16. Intel i7-11800H, Intel Graphics. Current cameras include Panasonic FZ2500, GoPro Hero11 and Hero8 Black plus a myriad of smartPhone, pocket cameras, video cameras and film cameras going back to the original Nikon S.

Musicvid wrote on 4/20/2020, 10:27 AM

When a when a transparent video is played in a player that has a black background, as most of them are, the transparent layer shows as black. Change your player's background color to confirm.