cdgriffith / FastFlix

FastFlix is a free GUI for H.264, HEVC and AV1 hardware and software encoding!
https://fastflix.org/
MIT License
1.13k stars 55 forks source link

Add alpha channel #592

Closed subof closed 1 month ago

subof commented 2 months ago

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

cdgriffith commented 1 month ago

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?

subof commented 1 month ago

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

cdgriffith commented 1 month ago

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 commented 1 month ago

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