FastFlix icon indicating copy to clipboard operation
FastFlix copied to clipboard

Add alpha channel

Open subof opened this issue 2 years ago • 4 comments

Add a setting for the alpha channel for VP9, AV1 and STV-AV1, please.

subof avatar Aug 01 '24 16:08 subof

AV1 spec does not support transparency to my knowledge (AVIF does but not the video encoders), and a quick look at the encoders in ffmpeg they don't support yuva420p like VP9 does.

I have tried several times to pass through transparency from one webm to another encoded vp9 video without luck. What would we have to do other than ffmpeg -i in.webm -c:v libvpx-vp9 -pix_fmt yuva420p -b:v 0 -crf:v 31 -quality:v good out.webm to get it working?

cdgriffith avatar Aug 06 '24 03:08 cdgriffith

Perhaps it should be a separate layer in the format.webm, not in the codec itself.

subof avatar Aug 06 '24 11:08 subof

I am adding that format to VP9 options just to have it in case it can work for you or others. Currently in beta https://github.com/cdgriffith/FastFlix/releases/tag/5.8.0b0 if you want to test!

cdgriffith avatar Aug 09 '24 15:08 cdgriffith

Added in 5.8.0! https://github.com/cdgriffith/FastFlix/releases/tag/5.8.0

cdgriffith avatar Aug 09 '24 19:08 cdgriffith