Beiträge von Lordmau5
-
-
Alright, took me a while to build x264 from source and get everything setup, but I've built the example x264 encoder plugin from the CodecPlugin folder.
I've built both a version with and without the following code:
The one without that property set shows like this in the deliver page:
The one with it set looks like this:
Seems like the "hasAlpha" flag is in charge of whether or not the checkbox is visible (and I assume whether DaVinci sends over the alpha data, too?)
Now, I can't really test that with the x264 encoder... and I am not knowledged enough to add support for, say, ffmpeg let alone a single codec that would support alpha... But that's all the findings I could do with the limited coding knowledge I have in this regard 😅
-
How did you manage to get it working with Voukoder Classic so it shows the Export Alpha checkbox?
YUVA instead of AYUV?
Because as I've seen when I made the screenshots for the previous post, Voukoder Classic with YUVA works properly and shows the Export Alpha checkbox
(Side-note: I know pretty much nothing about DaVinci Resolve's plugin system so apologies if I say something wrong haha)
___
Having a quick look at the Developer Documentation and the example plugin, I spotted these 2 lines in the "ComponentOrder" enum
CodeclrUYAVYA, // Interleaved 422 YUV with Alpha (8, 16 bit) clrAYUV, // Interleaved YUV with Alpha channel. Supported subsampling: 444 (8, 16 bit)
As well as the following "IO Prop" in the IOPluginProps.h
Codestatic PropertyID pIOPropHasAlpha = "hasAlpha"; // uint8_t 0 - alpha present but meaningless, absent - alpha channel is absent, 1 - present and used
There's 1 more method and boolean variable inside the "HostCodecConfigCommon".
But that seems to be all the (from what I can tell) documented parts of where Alpha would be used / checked against in code...
I don't know if they have more Developer Documentation available somewhere?
-
Thanks! Well, I've planned to fix all confirmed, open issues in the next release. What are the usual steps that have to be done to export a clip with a transparent background in DVR?
It's actually pretty simple in steps
Create a new timeline and optimally set the Viewer Background to Checkerboard (so you know when it actually has transparency)
After that, go to Effects -> Toolbox on the left -> Generators -> Solid Color and drag it onto the timeline
Then click on the Solid Color effect in the timeline, make sure Inspector is enabled in the top right, then click on the Settings tab and then change the Zoom to be smaller (so it shows transparency in the background)
After that, head to the Deliver tab and select a format and codec that support Alpha (one example would be QuickTime with GoPro CineForm and RGB 16-bit)
It will show the Export Alpha checkbox like so
Voukoder Classic (if using the Studio version that is, since otherwise plugins won't work) with YUVA also shows the Export Alpha checkbox
(Additionally, the Color Format in Voukoder Classic needs to be set to YUVA as well - I've selected VP9 in the codec tab, and for the Audio codec I've selected Opus, then for the container I selected WEBM - dragging the resulting file into a browser tab and changing the background-color to, say, red or something else should properly show the transparent background)
-
Just made an account and want to say thank you so much for offering such fine-tunable export capabilities in various editing software!
I see it's been a while since the "In Progress" label was added but I'm curious - If I may ask, how far out is a fix for this? I've tried with the newest version (1.3.0) and DaVinci Resolve 19.0 and I also don't see an "Export Alpha" checkbox with VoukoderPro selected
For now I've reverted to using the non-pro Voukoder plugin and not having a custom preset option for it means I keep forgetting to set it up properly for the export settings I need haha