Author Archives: jdriselvato

(FFmpeg) How to chain multiple filters ?

As you use FFMPEG one command might get the job done but at times applying multiple filters to a video is needed. It is possible to apply one filter at a time constantly referencing the last output file but ideally, … Continue reading

Posted in Programming, Tutorial | Tagged | Comments Off on (FFmpeg) How to chain multiple filters ?

(FFmpeg) How to mix additional audio in an mp4?

Adding an additional audio source on top of the audio already in a video can be accomplished with the amix filter. This might be useful for adding background music to a commentary video as seen in the example below: A … Continue reading

Posted in Programming, Tutorial | Tagged | Comments Off on (FFmpeg) How to mix additional audio in an mp4?

(FFmpeg) How to use filters (-vf/-af vs -filter_complex)?

Converting between one file format to another is extremely useful and might be all that’s needed for your use of FFMPEG but where the real fun begins is in the filters. Filters are used to manipulate audio and video with … Continue reading

Posted in Programming, Tutorial | Tagged | Comments Off on (FFmpeg) How to use filters (-vf/-af vs -filter_complex)?

How to install FFmpeg on Linux?

On Ubuntu or Debian based linux operating systems using apt-get installed makes installation of FFMPEG is easy: This will install the latest FFMPEG package but some linux users will want to install from source. FFMPEG requires compilation and installation of … Continue reading

Posted in Programming, Tutorial | Tagged | Comments Off on How to install FFmpeg on Linux?

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: … Continue reading

Posted in Programming, Tutorial | Tagged | Comments Off on How to Install FFmpeg on MacOS?

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 … Continue reading

Posted in Programming, Tutorial | Tagged | Comments Off on How to Check the Installed FFmpeg Version?

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 … Continue reading

Posted in Programming, Tutorial | Tagged | Comments Off on How to Use FFmpeg in Ruby?

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, … Continue reading

Posted in Programming, Tutorial | Tagged | Comments Off on How to check audio / video file information in FFmpeg?

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 … Continue reading

Posted in Programming, Tutorial | Tagged | Comments Off on How to Use FFmpeg in Bash script?

(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 … Continue reading

Posted in Tutorial | Tagged | Comments Off on (FFmpeg) How to copy codecs from one video to another?