Author Archives: jdriselvato

(FFmpeg) How to trim ‘x’ seconds from the start of an audio track?

Here we’ll use an input file with a 1 minute duration with a 5 second introduction of silence. To remove that silence, it’s important to identify these two numbers because trimming requires tricky subtraction. Let’s look at the example below: … Continue reading

Posted in Programming, Tutorial | Tagged | 2 Comments

(FFmpeg) How to record a MacOS Screen with terminal?

In this post you’ll learn how to record the screen of your Mac with terminal using FFMPEG. FFMPEG is able to use avfoundation (the audio and video library) to access webcams, audio devices and to record the screen. FFMPEG doesn’t … Continue reading

Posted in Programming, Tutorial | Tagged | Comments Off on (FFmpeg) How to record a MacOS Screen with terminal?

(FFmpeg) How to merge multiple mp3s into one track?

Merging audio with FFMPEG is one of the most searched questions on the internet and couldn’t be any easier. The only difference is a txt file with a list of mp3 tracks must be made before the merging can begin. … Continue reading

Posted in Programming, Tutorial | Tagged | Comments Off on (FFmpeg) How to merge multiple mp3s into one track?

(FFmpeg) How to convert wav to mp3?

WAV is probably the most common audio format next to MP3. The WAV format has been developed and maintained by Microsoft and IBM since its initial release in 1991. wav files are known for their large file size due to … Continue reading

Posted in Programming, Tutorial | Tagged | Comments Off on (FFmpeg) How to convert wav to mp3?

(FFmpeg) How to convert FLAC to mp3?

FLAC (Free Lossless Audio Codec) is another free audio codec and container that is known for it’s lossless audio quality. Oddly enough, FLAC is also maintained and developed by the xiph.org foundation. Other than FLACs inconvenience of player support, audiophiles … Continue reading

Posted in Programming, Tutorial | Tagged | 1 Comment

(FFmpeg) How to convert ogg to mp3?

ogg is an open container format by the xiph.org foundation with no restrictions of software patents. ogg does have a higher quality of audio at smaller file sizes but not commonly supported on physical devices natively (MP3 players, iPhone, etc).  … Continue reading

Posted in Tutorial, Programming | Tagged | 2 Comments

(FFmpeg) How to extract audio from a video?

At times, you may have a video that you wish to extract the audio from. This is easily done by simply converting the video into an audio format. For example: A new argument -vn (no video) is used to ensure … Continue reading

Posted in Tutorial, Programming | Tagged | Comments Off on (FFmpeg) How to extract audio from a video?

(FFmpeg) How to convert an entire directory/folder?

Before getting into learning how to use all the amazing and powerful filters, let’s learn one more useful trick; converting an entire directory. Whether it’s to convert an entire folder or apply a filter to multiple files, cycling through files … Continue reading

Posted in Programming, Tutorial | Tagged | Comments Off on (FFmpeg) How to convert an entire directory/folder?

What is map in FFmpeg? Map explained

The -map functionality is an advanced feature that allows the user to select specific input audio or video that is sent to the output. In addition, virtual streams can be created to apply complex manipulations which can be accessed with … Continue reading

Posted in Programming, Tutorial | Tagged | 2 Comments

(FFmpeg) How to use filter_complex without losing video quality?

This is one of the most asked questions on google about FFMPEG and for a good reason, by default automatic compression is added depending on the filter. This is usually done to perform the filter quicker as the higher the … Continue reading

Posted in Tutorial, Programming | Tagged | 1 Comment