html5 Icon Logo

Written by me@grafxflow

02 Sep, 2012



Convert videos to ogv format with Apple Mac

UPDATE (10 AUG 2014): I have now found a FREE open-source Mac OS X App (NOT one of those 30 trial apps which flood google pages!) which not only converts OGV but MP4, WebM (vp8) called 'Miro Video Converter' found here. But by all means if you wish to learn how to do this via the terminal read on...

Ever since html5 has been out, there has been speculation about the video format everyone has to agree on using the <video></video> element. Unfortunately nothing has been okayed so you have to convert to one or more of the following codecs mp4, ogv and WebM.

The problem I had using a Mac was for a long time there wasn't any easy way to create ogv videos... until now.

There is ffmpeg2theora which has to be used via the terminal, and is really easy to use.

1. Go into your terminal.

2. Then input the following ffmpeg2theora videoclip.mp4 based on you needing to convert videoclip.mp4. So it will something like the following in the terminal.

Last login: Fri Sep  7 09:11:52 on console
mac:~ username$ ffmpeg2theora videoclip.mp4

3. If you don't know what your video clips location should be in the terminal, then just type ffmpeg2theora (leaving a space after) and drag your video clip onto the line. The location should fill in automatically. So if the videoclip was on your desktop it would look like this.

Last login: Fri Sep  7 09:11:52 on console
mac:~ username$ ffmpeg2theora /Users/username/Desktop/videoclip.mp4

Add comment

Smart Search

132 Following


Hull, United Kingdom

I am a Full-stack Developer who also started delving into the world of UX/UI Design a few years back. I blog and tweet to hopefully share a little bit of knowledge that can help others around the web. Thanks for stopping by!