Since 2016-07-13, it’s possible to encode VP9/webm videos with alpha channel (VP9a). However, the command you use here will create a VP8a video. Assuming you got a copy of ffmpeg compiled after that date, all you need is change the libvpx
to libvpx-vp9
. You don’t need the yuva420p
conversion either (is selected by default).