>>40495663I don't know anything about streamable but
>-crf 10 -b:v 20MThis is fuckton and setting nonzero bitrate doesn't help. Just -crf 12 or -crf 18 should be enough, and usually increasing crf is the best way to shrink the size.
>-an -c:a libvorbisYou either disable audio or encode it with vorbis, not both.
>-fs 3MThis is horrible but if it somehow works in some cases then okay.
>-i output3.webm -vf scale=-1:360Do not recompress previous result, use whatever.mp4 again. Also something like this might save time:
[ $(stat -c%s output.webm) -gt 3145728 ] && ffmpeg -i whatever.mp4 -vf scale=-1:360 -c:v libvpx-vp9 -crf 12 -an output360.webm