The WebM video format popularity is increasing steadily, which is designed to provide users with high-quality video compression to use with HTML5. In this page, I will show you a brief tutorial explaining how to convert all video formats supported by FFMPEG to WebM.

Under Ubuntu or any Debian-based system, install FFMPEG with the following command:

sudo apt-get install ffmpeg

The standard command for converting videos to WebM is the following:

 ffmpeg -i input.avi output.webm

Replace "input.avi" with your original video name. The generated video will be named "output.webm".

For more video converting options, you can use this command:

ffmpeg -i input.avi -acodec libvorbis -ac 2 -ab 96k -ar 44100 -b 345k -s 640x360 output.webm

That's it!

Post a Comment