Cannot export a video with a transparent background

Get answers to your questions about color grading, editing and finishing with DaVinci Resolve.
  • Author
  • Message
Offline

Karmalution

  • Posts: 4
  • Joined: Sun May 02, 2021 6:04 am
  • Real Name: David Cripps

Cannot export a video with a transparent background

PostWed Dec 07, 2022 6:31 pm

Hi, I've searched for days for a video or post to answer this and found nothing. I have removed the green from a green screen effect video using the delta keyer in fusion. While in the fusion page I get the checkerboard background which seems to suggest I have transparency but in the color/edit/deliver pages I have a black background. I've added an alpha output to the color page nodes window and connected the blue square to the blue circle. I've also set the deliver page to quicktime, DNxHR DNxHR 444 12bit and checked enable alpha. I've also tried CinePro 16bit. I'm still getting a black screen. I've put the exported video onto a Davinci Resolve time line to test and imported into Blender so I'm certain there's no transparency.

In another post it was suggested that there should be a background layer with opacity set to zero. Tried this, no luck.

What am I missing?

I find it peculiar that the Delta Keyer should be so simple to use (the easiest chroma key system I've seen) but exporting transparency should be such a mystery.

I want to drop the video into a Blender scene so it needs to show only the subject.

Looking forward to the answer :-)

Dave
Offline

DavySilva

  • Posts: 201
  • Joined: Thu Mar 03, 2022 12:36 pm
  • Location: UK and Ireland, sometimes EU.
  • Real Name: Davy Silva

Re: Cannot export a video with a transparent background

PostWed Dec 07, 2022 9:53 pm

Can you use Save node and export from Fusion?
Online Editor and Colourist.
“Never stop learning because life never stops teaching”
Offline

Steve Alexander

  • Posts: 5672
  • Joined: Mon Mar 23, 2015 2:15 am

Re: Cannot export a video with a transparent background

PostWed Dec 07, 2022 10:20 pm

I'll give it a shot when I get a chance.
aka Barkinmadd
Resolve Studio 20 | Fusion Studio 20 | 16" MacBook Pro M1 MAX, 32 GPU cores, 64 GB RAM, 2 TB SSD, Sequoia 15.4.1
Offline
User avatar

Robert Niessner

  • Posts: 5627
  • Joined: Thu Feb 21, 2013 9:51 am
  • Location: Graz, Austria

Re: Cannot export a video with a transparent background

PostWed Dec 07, 2022 11:30 pm

I had the same problem like you, but was using the 3D keyer in the edit page timeline.

Do the following:

Export format must be Quicktime MOV
Codec: GoPro Cineform RGB 16bit

[X] Export Alpha
Alpha Mode: Premultiplied

Quality: High

Data Levels: Auto

Alternative option:

Export format must be Quicktime MOV
Codec: Grass Valley HQX

[X] Export Alpha
Alpha Mode: Premultiplied

Quality: High

Data Levels: Auto
[X] Retain sub-black and super-white


To get Resolve output your alpha channel in the color page:

Right click and select "Add Alpha Output"
Connect the blue alpha out from your node to the blue Alpha Output

It might be that you have to send your alpha out from the Fusion page, too - but that I don't know how to do, yet.
Saying "Thx for help!" is not a crime.
--------------------------------
Robert Niessner
LAUFBILDkommission
Graz / Austria
--------------------------------
Blackmagic Camera Blog (German):
http://laufbildkommission.wordpress.com

Read the blog in English via Google Translate:
http://tinyurl.com/pjf6a3m
Offline

Steve Alexander

  • Posts: 5672
  • Joined: Mon Mar 23, 2015 2:15 am

Re: Cannot export a video with a transparent background

PostThu Dec 08, 2022 12:58 am

You don't appear to need to add an alpha channel on the Color page, nor do you need to add an alpha output on the Fusion page. I place a green screen clip on the timeline, entered Fusion, added a delta keyed, keyed the green then went to the Delivery page and exported as DNxHR 444 with the 'include alpha' checked. Exported and then brought it back into Resolve and dropped it over a background media - the alpha channel was present.

Did this on my MacBook (see signature).

Add - Tried with Grass Valley and Cineform as you suggested and got good results as well.

Cheers
aka Barkinmadd
Resolve Studio 20 | Fusion Studio 20 | 16" MacBook Pro M1 MAX, 32 GPU cores, 64 GB RAM, 2 TB SSD, Sequoia 15.4.1
Offline

Karmalution

  • Posts: 4
  • Joined: Sun May 02, 2021 6:04 am
  • Real Name: David Cripps

Re: Cannot export a video with a transparent background

PostThu Dec 08, 2022 9:08 am

Hi, thanks for all the suggestions. They were variations of what I'd already tried but I tried them again, still no alpha channel.

As far as I can tell I have done everything correctly. I wonder if it's a codec issue or a windows issue.

I've attached screenshots.

Cheers
Dave
Fusion Page.png
Fusion Page.png (402.77 KiB) Viewed 14593 times

Fusion Page.png
Fusion Page.png (402.77 KiB) Viewed 14593 times

Fusion Page.png
Fusion Page.png (402.77 KiB) Viewed 14593 times
Attachments
Deliver Page.png
Deliver Page.png (390.86 KiB) Viewed 14593 times
Offline
User avatar

Robert Niessner

  • Posts: 5627
  • Joined: Thu Feb 21, 2013 9:51 am
  • Location: Graz, Austria

Re: Cannot export a video with a transparent background

PostThu Dec 08, 2022 9:11 am

Steve, I did not suggest DNxHR because it seems to be very depended on the application if the alpha channel is working.

See here
viewtopic.php?f=32&t=76702
Saying "Thx for help!" is not a crime.
--------------------------------
Robert Niessner
LAUFBILDkommission
Graz / Austria
--------------------------------
Blackmagic Camera Blog (German):
http://laufbildkommission.wordpress.com

Read the blog in English via Google Translate:
http://tinyurl.com/pjf6a3m
Offline

Steve Alexander

  • Posts: 5672
  • Joined: Mon Mar 23, 2015 2:15 am

Re: Cannot export a video with a transparent background

PostThu Dec 08, 2022 12:52 pm

That's interesting - particularly that Resolve has no problem with it but Adobe does. I suppose the point of my post was not about the codec but about the workflow. Cineform and Grass Valley also worked for me. I'm not presently sharing these files with other apps - just using them within Resolve but glad to know that we have options. If I get a chance, I'll try the same test on my PC to see if there is any difference (again, just within Resolve). Thanks.
aka Barkinmadd
Resolve Studio 20 | Fusion Studio 20 | 16" MacBook Pro M1 MAX, 32 GPU cores, 64 GB RAM, 2 TB SSD, Sequoia 15.4.1
Offline

Karmalution

  • Posts: 4
  • Joined: Sun May 02, 2021 6:04 am
  • Real Name: David Cripps

Re: Cannot export a video with a transparent background

PostFri Dec 09, 2022 4:50 am

Thanks for all your help. I've tried all the suggestions and still only get a black screen on export.

I'm wondering if this is a feature only available in Studio?
Offline

Karmalution

  • Posts: 4
  • Joined: Sun May 02, 2021 6:04 am
  • Real Name: David Cripps

Re: Cannot export a video with a transparent background

PostFri Dec 09, 2022 5:47 am

I've solved it, and of course it was simple!

I needed to change from premultiplied to straight. That was it.

One thing to add. This was all so that I could import a transparent video into a Blender 3D environment however, even though reimporting the video into Davinci Resolve showed a transparent background, it still had a black background in Blender. I had to export as a Tiff then import an image sequence into Blender.

Hey presto, transparent background.

I hope this helps someone else down the line. I still think it's an area for Black Magic to work on.

Cheers
Offline

RobH22

  • Posts: 5
  • Joined: Fri Mar 31, 2023 3:20 am
  • Real Name: Rob Holmes

Re: Cannot export a video with a transparent background

PostThu May 08, 2025 1:00 am

@Karmalution, you saved me on this. I've been tearing my hair out over this as well, but when you said, 'Straight' instead of 'Premultiplied,' it led me to go check something. I had neglected to set that properly. Well, it was correct, then I crashed. When I came back, I never looked at it again since I knew I had set it.
It came back from the crash set improperly. Once I set it correctly, all was fine.

That's why is so helpful when people come back and mention how they solved something. It kicked me in the butt to go check and sure enough, my user error was what was causing the problem.

Thank you....:)
DR Studio 19

Return to DaVinci Resolve

Who is online

Users browsing this forum: anas_colorist, Bing [Bot], Gonzalo Moreno, Google [Bot], M_aria, panos_mts, smunaut, tbmcqueen and 340 guests