Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add alpha channel #592

Closed
subof opened this issue Aug 1, 2024 · 4 comments
Closed

Add alpha channel #592

subof opened this issue Aug 1, 2024 · 4 comments
Labels
feature request New idea for project

Comments

@subof
Copy link

subof commented Aug 1, 2024

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

@subof subof added the feature request New idea for project label Aug 1, 2024
@cdgriffith
Copy link
Owner

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
Copy link
Author

subof commented Aug 6, 2024

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

@cdgriffith
Copy link
Owner

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 added a commit that referenced this issue Aug 9, 2024
* Adding #283 support for experimental DTS (dca) audio by adding -strict -2 (thanks to Sub7)
* Adding #354 M1 support (thanks to Nhunz and Anton)
* Adding #536 Improve Profiles - save advanced options (thanks to CelticTaonga and DCNerds)
* Adding #568 center app on startup (thanks to Viet-Duc Le)
* Adding #589 support for pydantic 2.x (thanks to dmo marillat)
* Adding #592 Add alpha channel for VP9 (thjanks to subof)
* Fixing #185 audio channels not being set properly and resetting on encoder change (thanks to Tupsi)
* Fixing #522 add file fails - fixed as of 5.7.0 (thanks to pcl5x2008)
* Fixing #531 list limitation in readme that FFmpeg must support the software encoders listed (thanks to brunoais)
* Fixing #567 Profiles for WebP did not work (nor GIF dither) (thanks to jpert)
* Fixing #582 BT.2020-10 Color transfer not maintained (thanks to Ryushin)
* Fixing #585 error when trying to return a video from queue that has the video track after audio or subtitiles (thanks to Hankuu)
* Fixing #586 audio channels being set incorrectly (thanks to Hankuu)
* Fixing #588 audio and subtitle dispositions were not set from source (thanks to GeZorTenPlotZ)
@cdgriffith
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New idea for project
Projects
None yet
Development

No branches or pull requests

2 participants