How to convert MP4 video to MP3 audio using the terminal

Hi Folks,

In this post I cover how to convert a video file in MP4 format to an audio file with MP3 format using the terminal. You can do this by using a tool called FFmpeg is a complete, cross-platform solution to record, convert and stream audio and video. Here’s how to go about it on MacOS.

First, make sure you have FFmpeg installed.

Then, open your terminal

Run the folowing command:

ffmpeg -i your-file.mp4 your-file.mp3

That’s it. It will be converted quickly. That’s all for now.

 

Sources

1. How can I convert MP4 video to MP3 audio with FFmpeg? Super User. https://superuser.com/questions/332347/how-can-i-convert-mp4-video-to-mp3-audio-with-ffmpeg

How to convert .mov file to .mp4 using ffmpeg

Hi Folks,

In this post I go over how to convert a .mov file to a .mp4 file using the terminal. Why should you know this skill? Well, you may have recorded a video using an iPhone. Usually these videos are formatted as .mov files. Let’s imagine you need to convert this to mp4 for whatever reason, how do you go about it?

If you have ffmpeg installed, you can use it for the conversion via the terminal. The command to run looks like:

ffmpeg -i {in-video}.mov -vcodec h264 -acodec aac {out-video}.mp4

That’s all for now. Till next time, happy video conversion!

Reference

convert .mov video to .mp4 with ffmpeg. Super User. https://superuser.com/questions/1155186/convert-mov-video-to-mp4-with-ffmpeg

How to Download Media Files from the Internet

This article discusses an easy way to download media files from the Internet. These include mp3, flv, swf files, etc using Firefox.

Get and install Video Download Helper add-on from https://addons.mozilla.org/en-US/firefox/addon/video-downloadhelper/

After installation, an icon will show on the menu bar. If you browse a web page with downloadable media the icon will light up.

You can then click on the arrow button next to the Video Download Helper icon to see the list of downloadable files·

Then click on the one you want to download. That’s it!