It took a surprisingly long time to track down a working combination of arguments for this, so here's one that's known working in an actual project. This is using Unity version 2022.3.36 and FFMPEG version 7.0.x. Allowing the asset to re-encode worked fine on all platforms we tried, including all consoles, except the SteamDeck somehow. We ended up disabling re-encode on PC for that reason.
ffmpeg -framerate 30 -i Frames\Blink\Blink_%%02d.png -b:v 8M -c:v libvpx -pix_fmt yuva420p -metadata:s:v:0 alpha_mode="1" -auto-alt-ref 0 Videos\Blink_VidAlpha.webm
No comments:
Post a Comment