Convert Videos (MP4, MPEG, or MOV) to WEBM
In an effort to make the web and media more efficient, developers and corporations everywhere are investing effort in creating better file formats and delivery streams. One of the more impressive video formats I've seen is the WEBM file format. WEBM files are quite small but the quality is still impressive. If you're ready to support and serve WEBM, here's how you can convert your traditional file format videos to WEBM!
You're going to use ffmpeg, as you could probably guess. Thanks to a tip from the Theme Foundry, here's the shell command magic that will convert your video to WEBM:
ffmpeg -i trailer.mov -c:v libvpx -crf 10 -b:v 1M -c:a libvorbis trailer.webm
A comparison of quality is the same but the comparison in file size is fractional.
Supporting WEBM on Apache Servers
You may need to add support to your Apache server for WEBM since it's a newer format. Here's how I added WEBM support via .htaccess:
AddType video/webm webm
WEBM will be a great format moving forward and I look forward to seeing our legacy formats leave while new formats take over. It's a true sign that the future is mobile!
![How I Stopped WordPress Comment Spam]()
I love almost every part of being a tech blogger: learning, preaching, bantering, researching. The one part about blogging that I absolutely loathe: dealing with SPAM comments. For the past two years, my blog has registered 8,000+ SPAM comments per day. PER DAY. Bloating my database...
![CSS Gradients]()
With CSS border-radius, I showed you how CSS can bridge the gap between design and development by adding rounded corners to elements. CSS gradients are another step in that direction. Now that CSS gradients are supported in Internet Explorer 8+, Firefox, Safari, and Chrome...
![Redacted Font]()
Back when I created client websites, one of the many things that frustrated me was the initial design handoff. It would always go like this:
Work hard to incorporate client's ideas, dream up awesome design.
Create said design, using Lorem Ipsum text
Send initial design concept to the client...
![RealTime Stock Quotes with MooTools Request.Stocks and YQL]()
It goes without saying but MooTools' inheritance pattern allows for creation of small, simple classes that possess immense power. One example of that power is a class that inherits from Request, Request.JSON, and Request.JSONP: Request.Stocks. Created by Enrique Erne, this great MooTools class acts as...
WebM is indeed an impressive format that only needs some wider support, starting from Microsoft – but it won’t happen any time soon, I guess. Same story for WebP, that could replace png, jpeg and even animated gifs.
Supposedly mozjpeg is better than webp too!
Hi,
Is there anyway to create webm video from pptx?
First time commenter, long time reader…
I used FireFogg to generate webm videos as well: http://firefogg.org/
Awesome! I just learned how to edit webm files from this: http://www.videostudiopro.com/en/pages/webm-file/ and I wanted to convert some mp4 files to webm and practice a bit. I tried your way and it works great! Thanks for the tip!
Thank you for these instructions, really helpful!! I used to convert MP4 video to Webm video with Acethinker video converter, It is a cloud based software to convert videos without install any software in your device. Share it here as an alternative method.