video to webm ffmpeg code example
Example: ffmpeg mp4 to webm
# lower -crf value = higher quality & larger output
ffmpeg -i input.mp4 -c:v libvpx-vp9 -crf 30 -b:v 0 -b:a 128k -c:a libvorbis output.webm
# lower -crf value = higher quality & larger output
ffmpeg -i input.mp4 -c:v libvpx-vp9 -crf 30 -b:v 0 -b:a 128k -c:a libvorbis output.webm