28 February 2018

Convert .mov to .mp4 with ffmpeg

I recently wanted to save a Quicktime screen recording .mov file as .mp4.

There are a number of tools online, but why load any of those when you can just run ffmpeg from your terminal! You can download their installer or on a Mac, just run brew install ffmpeg.

To convert it and also compress the result, you can run:

ffmpeg -i my-video.mov -vcodec h264 -acodec mp2 my-video.mp4

This went from a 24MB Quicktime Movie file to a 3.7MB MP4!

Did you find this helpful or fun? Please donate!

donate via btc or eth

btc: 18jCzwsZDGQYcs6Kyv92pd4683cnnxm1Dd
eth: 0xC285F21Cb271Cb4B3F70c4C47B2f7B26063AF590
paypal: paypal.me/mrcoles
comments powered by Disqus

Peter Coles

Peter Coles

is a software engineer who lives in NYC, works at Ringly, and blogs here.
More about Peter »

github · soundcloud · @lethys · rss

It’s time to get big money out of politics. Join the kick-started campaign to put government back in the hands of the people. Pledge mayday.us now