Last active
October 24, 2023 10:51
-
-
Save novogrammer/a34287393452ba915a3990095b178c79 to your computer and use it in GitHub Desktop.
transparent PNG to transparent MOV
This file contains 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
#!/bin/bash | |
# 60fps | |
ffmpeg -r 60 -i input%03d.png -c:v hevc_videotoolbox -colorspace bt2020nc -color_trc bt709 -color_primaries bt2020 -vf setparams=color_primaries=bt2020:color_trc=bt709:colorspace=bt2020nc -alpha_quality 0.9 -vtag hvc1 -b:v 1M output.mov | |
# without colorspace | |
#ffmpeg -r 60 -i input%03d.png -c:v hevc_videotoolbox -alpha_quality 0.9 -vtag hvc1 -crf 10 -b:v 1M output.mov | |
# too large | |
#ffmpeg -r 60 -i input%02d.png -c:v prores_ks output.mov |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment