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.
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
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 \ output.webm
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:
vpx-tools package includes VP8 and VP9 encoding/decoding tools.