Topic: FFMPEG Presets

technical-grid said:
Whenever i have to convert mp4 to webm, i just use this (seems to work good enough for me without any visible loss of quality)

for ffmpeg to do webm encoding i use this

ffmpeg -i input.mp4 -c:v libvpx-vp9 -crf 16 -b:v 0 -row-mt 1 -pass 1 -an -y -f null NUL
ffmpeg -i input.mp4 -c:v libvpx-vp9 -crf 16 -b:v 0 -row-mt 1 -pass 2 -b:a 128k -c:a libopus Output.webm

and this one if it has no audio

ffmpeg -i input.mp4 -c:v libvpx-vp9 -crf 16 -b:v 0 -row-mt 1 -pass 1 -an -y -f null NUL
ffmpeg -i input.mp4 -c:v libvpx-vp9 -crf 16 -b:v 0 -row-mt 1 -pass 2 -an Output-no-audio.webm