Author Archives: jdriselvato

(FFmpeg) How to Convert MKV to MP4?

The Matroska Multimedia Container or MKV is a free open container format that differs from formats like MOV or MP4. MKV files can store an unlimited amount of video, audio, pictures or subtitle tracks in one file. This stacking of … Continue reading

Posted in Programming, Tutorial | Tagged | Comments Off on (FFmpeg) How to Convert MKV to MP4?

(FFmpeg) How to Convert MOV to MP4?

MOV is a video format developed by Apple but compatible with most software and players. MOV uses the MPEG-4 codec for compression making the conversion between MOV to MP4 very simple, as seen below: Tip: MOV files are usually larger … Continue reading

Posted in Programming, Tutorial | Tagged | Comments Off on (FFmpeg) How to Convert MOV to MP4?

(FFmpeg) How to Replace the Audio on a Video?

There are times when the audio on a video needs to be replaced. Here filters are not even needed to replace audio but the use of ​-map becomes important to understand: Here the video from the first input and the audio from … Continue reading

Posted in Programming, Tutorial | Tagged | Comments Off on (FFmpeg) How to Replace the Audio on a Video?

(FFmpeg) How to Mix Additional Audio into a Video?

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. The command is as follows: A common issue that … Continue reading

Posted in Programming, Tutorial | Tagged | Comments Off on (FFmpeg) How to Mix Additional Audio into a Video?

(FFmpeg) How to Remove Audio From a Video?

Although this next command isn’t exactly a filter, it’s still useful to know how to remove or mute, audio in an MP4. Below is the quickest way to remove audio from any form of video using the ​-an​ option: Tip:​ ​-an​ indicates no … Continue reading

Posted in Programming, Tutorial | Tagged | Comments Off on (FFmpeg) How to Remove Audio From a Video?

(FFmpeg) How to Add a High-Pass Filter to an Audio Track?

A high-pass filter is an audio filter that cuts off frequencies that are lower than the desired cutoff frequency. This is often used to cut out bass from an audio source while leaving the treble side of the audio. The … Continue reading

Posted in Programming, Tutorial | Tagged | Comments Off on (FFmpeg) How to Add a High-Pass Filter to an Audio Track?

(ffmpeg) How to Add a Low-Pass Filter to an Audio Track?

A low-pass filter is an audio filter that cuts off frequencies that are higher than the desired cutoff frequency. This filter is popular in music production as it can be used to soften audio or remove undesired noise.  With FFmpeg … Continue reading

Posted in Programming, Tutorial | Tagged | 1 Comment

How to install flite / flitevox for FFmpeg?

Flitevox or Flitelib is an open source small run time speech engine. Pass it text and create an audio file with a robot saying it. Really cool and useful for some projects. Flitelib is not a native filter available in … Continue reading

Posted in Programming, Tutorial | Tagged | 1 Comment

(FFmpeg) How to Generate Text to Speech Audio?

Tip: You’ll need to enable –enable-libflite for this filter to work.  Generating text to speech is a great feature to have locally on a computer. From using it in a YouTube video to making memes on Twitter, once you learn … Continue reading

Posted in Programming, Tutorial | Tagged | 1 Comment

How to Generate an Audio Tone in FFmpeg?

FFmpeg also has the ability to generate sounds or tones natively. With the right kind of scripting you could make chiptune like music straight from the terminal. In this example, generating a single 2000Hz sound for 10 seconds is enough … Continue reading

Posted in Programming, Tutorial | Tagged | Comments Off on How to Generate an Audio Tone in FFmpeg?