Created
November 22, 2021 23:08
-
-
Save josfaber/f0f1bd655cc02ea205243ea159a2040d to your computer and use it in GitHub Desktop.
Transparent video encoding from ProRes 4444 + alpha with ffmpeg
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| HEVC + alpha (Safari) | |
| ffmpeg -i in.mov -c:v hevc_videotoolbox -allow_sw 1 -alpha_quality 0.75 -vtag hvc1 out.mp4 | |
| VP9 + alpha (Rest of browsers) | |
| ffmpeg -i in.mov -c:v libvpx -b:v 2000k -auto-alt-ref 0 -pix_fmt yuva420p out.webm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment