I am not able to import a VP9 clip with alpha.
(nor to export any movie containing alpha)
png works well, however, alpha seems to be ignored and
shows only plain black. I attache the file. It comes from this
discussion from another forum since i was not able to make it.
WIN 10 Pro Shotcut 18.05.08
I imported the test_alpha_fire.webm video into Shotcut successfully. Added a Chroma Key filter to it to remove the black and it plays in Shotcut.
However I cannot export it. Tried 6 exports and all failed.
An hour later I converted the webm VP9 clip to mp4 added a Chroma Key filter to it to remove the black and exported successfully with the default export.
The Chroma Key is just a workaround. In this case it works, but I think the clip should just behave like a PNG with alpha. There should be no need for for a Chroma Key.
Without the Chroma key the clip will have a black background.
The clip does not behave like a png with alpha. I put the clip in Kdenlive and it still needed a Chroma key filter. And the Kdenlive render to webm failed.
With Shotcut you can also use the Track blend mode add or screen to remove the BG.
Maybe one of the developers will take a look at the test file you submitted and figure out why it’s not exporting in Shotcut in webm fomat, but exports when converted to mp4.
The vp9 sample you provided has pixel format yuv420p, which does not include an alpha channel. If it did, it would say “yuva420p”
(nor to export any movie containing alpha)
This is advanced usage of Shotcut. There is no way to remove the black background in the Timeline, but you can work on a purely clip-based project and export it. After importing your webm and applying a chroma key filter to remove the black, you can export it with alpha by:
go to Export
choose your clip in Source player from the From dropdown
choose “mov” from the Format dropdown
click the Video tab
choose 'qtrle" from the Codec dropdown
click the Audio tab
check Disable audio
click the Other tab
add “pix_fmt=argb” to the Other text box
click Export File
This creates a Quicktime Animation, and there might be a way to output other formats with alpha, but this works.
Hmm. Previously, I tested with jpeg on V1 and the original webm with Chroma Key Simple on V2. Now, I just tested with the QTRLE MOV on V2, and that works for me too. I am using Windows 10 too.
EDIT: I just now reproduced it by placing the QTRLE MOV at the very beginning of V2. Previously, it was in the middle. I’ll see what I can do.