How can I render a video using FFmpeg or any other tool to get a video with google's vp9 webm codec?

The closest I have got was using openShot to get a vp8 webm video.


The easiest method using FFmpeg is to use something like the following:

ffmpeg -i input.mp4 \
       -c:v libvpx-vp9 -crf 30 -b:v 0 \
       -c:a libopus -b:a 96k \

This will output Constant Quality video and is a great choice if you are not fussed about file size. The recommended -crf setting is between 15-31 with lower numbers meaning better quality.

Much more detail is available on the FFmpeg trac site:


The vpx-tools package includes VP8 and VP9 encoding/decoding tools.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.