>>103237697
skill issue
here, you fucking baboon, this will beat any h264 storage waste your silly app can vomit under 4chan limits:
#!/usr/bin/env bash
numThreads=$(nproc --all)
ffmpeg -y -i ${1} -c:v libvpx-vp9 -b:v 0 -crf 30 -sn -dn -pix_fmt yuv420p10le -pass 1 -quality good -profile:v 2 -lag-in-frames 25 -g 300 -cpu-used 0 -auto-alt-ref 6 -arnr-maxframes 15 -arnr-strength 3 -aq-mode 0 -tune-content 0 -tile-rows 0 -tile-columns 0 -enable-tpl 1 -c:a libopus -b:a 64K -row-mt 1 -threads ${numThreads} -passlogfile /tmp/webm-passlog -f webm /dev/null
ffmpeg -y -i ${1} -c:v libvpx-vp9 -b:v 0 -crf 30 -sn -dn -pix_fmt yuv420p10le -pass 2 -quality good -profile:v 2 -lag-in-frames 25 -g 300 -cpu-used 0 -auto-alt-ref 6 -arnr-maxframes 15 -arnr-strength 3 -aq-mode 0 -tune-content 0 -tile-rows 0 -tile-columns 0 -enable-tpl 1 -c:a libopus -b:a 64K -row-mt 1 -threads ${numThreads} -passlogfile /tmp/webm-passlog ${1%.*}.webm