Tag Archives: FFmpeg

How to Install FFmpeg on MacOS?

Installation on MacOS is simple for users with homebrew installed. Homebrew is the package manager – users always wanted but yet to have natively. Think of it as an equivalent to apt-get on linux.  The installation command is as follows: As of March 25th, 2020, MacOS + homebrew install has disabled native dependencies support. If […]

How to Check the Installed FFmpeg Version?

At this point FFMPEG should be installed on your operating system of choice and ready for use. To double check installation, it’s always good to view the current version installed.  The output not only details the FFMPEG version but also the various configurations enabled and disabled as well as what codec are installed.

How to Use FFmpeg in Ruby?

Command line one-liners are great for quick and one off FFMPEG experiences but sooner or later you’re going to want to start building custom applications for efficiency. FFMPEG can be used with almost any programming language with a couple of simple tricks. Some languages might even have libraries of their own to extend FFMPEG natively. […]

How to check audio / video file information in FFmpeg?

Now that you understand the importance of knowing which codecs your file formats should conform to. It is useful to have the ability to check the input file format before using FFMPEG commands. Luckily this functionality is native to FFMPEG, the command is as follows: After the installed FFMPEG version and configuration information the Input […]

How to Use FFmpeg in Bash script?

Command line one-liners are great for quick and one off FFmpeg experiences but sooner or later you’re going to want to start building custom applications for efficiency. FFmpeg can be used with almost any programming language with a couple of simple tricks. Some languages might even have libraries of their own to extend FFmpeg natively. […]

(FFmpeg) How to copy codecs from one video to another?

Copying a codec from one video to another is easy and convenient as seen below: -c:v also seen as -vcodec sets the video codec, while -c:a or -acodec sets the audio codec. Adding the option copy after each results in FFMPEG using and copying the codec from the input file. It is common to see […]

What are all the formats FFmpeg supports?

Unlike codecs, formats are the digital input / output containers FFMPEG understands. While an mp4 file is the extension we are used to seeing, inside contains encoded video and audio with various codecs. For example, an mp4 file might contain one of the following audio codecs: ACC, AC3, ALS, MP3, ACC or plenty more. Depending […]

What are all the codecs FFmpeg supports?

Since codecs are the backbone of FFMPEG, it is beneficial to know how to access the full list of supported codecs. The command is as follows: Be aware that the output from this command will show hundreds of codecs for both audio and video. For the full list of supported codecs, refer to the section […]

How to Use FFmpeg in Python?

Command line one-liners are great for quick and one off FFMPEG experiences but sooner or later you’re going to want to start building custom applications for efficiency. FFMPEG can be used with almost any programming language with a couple of simple tricks. Some languages might even have libraries of their own to extend FFMPEG natively. […]

(FFmpeg) What is a ‘codec’? Explained

FFMPEG has hundreds of different codecs to edit, convert to and play from. In your journey to mastering FFMPEG you’ll face the word ‘codec’ so often that not understanding what one is, is a disservice to yourself.  Wikipedia explains a codec as:  “… a device or computer program which encodes or decodes a digital data […]