Author Archives: jdriselvato

(FFmpeg) How to Change the Pitch / Sample Rate of an Audio Track (Mp3)?

Changing the pitch of an audio track means the tempo stays the same but the audio pitch increases/decreases. There isn’t a native way to change the pitch without also changing the playback speed. Luckily, chaining the atempo and asetrate filters … Continue reading

Posted in Programming, Tutorial | Tagged | Comments Off on (FFmpeg) How to Change the Pitch / Sample Rate of an Audio Track (Mp3)?

(FFmpeg) How to Change the Tempo of an (Mp3) Audio Track?

Changing the tempo of an audio file is easy with atempo. This filter only accepts one value, a number between 0.5 and 100. In this example, the audio tempo is increased by 50%: So how does 1.50 equal 50%? That’s … Continue reading

Posted in Programming, Tutorial | Tagged | Comments Off on (FFmpeg) How to Change the Tempo of an (Mp3) Audio Track?

(FFmpeg) How to Add an Echo to an Audio Track?

Adding an echo (or reflected sound) to an audio track is a great way to add more ambience or smoothness to a choppy playback. It’s a personal desired effect but for how simple it is to use, it’s a nice … Continue reading

Posted in Programming, Tutorial | Tagged | Comments Off on (FFmpeg) How to Add an Echo to an Audio Track?

(FFmpeg) How to normalize audio?

Ever get an audio file that just isn’t loud enough but when the volume is edited it peaks? The solution for this problem is to run the audio through a normalization algorithm. Normalization with loudnorm, uses a true peak loudness … Continue reading

Posted in Programming, Tutorial | Tagged | Comments Off on (FFmpeg) How to normalize audio?

(FFmpeg) How to Stream a File to YouTube?

Part 1: (FFMPEG) HOW TO OBTAIN A YOUTUBE STREAMING KEY? Streaming a local file to YouTube is extremely easy and actually a feature that really takes your FFmpeg skills to the next level with little effort.  With the minimal amount … Continue reading

Posted in Programming, Tutorial | Tagged | 1 Comment

(FFmpeg) How to obtain a YouTube Streaming key?

Before working on the FFmpeg For Beginners Book, the experience I had with streaming with FFmpeg was zero but I reached out to the FFmpeg community and everyone was saying I needed to cover this topic. Fortunately for me, streaming … Continue reading

Posted in Programming, Tutorial | Tagged | 1 Comment

(FFmpeg) How to cross fade two mp3 tracks?

In this section we’ll learn various useful audio filters specifically to audio but all filters will work on video as well. Since this is just an audio section, -af instead of -filter_complex unless multiple audio input sources are required. See … Continue reading

Posted in Tutorial, Programming | Tagged | Comments Off on (FFmpeg) How to cross fade two mp3 tracks?

(FFmpeg) How to adjust volume of an mp3?

In this section we’ll learn various useful audio filters specifically to audio but all filters will work on video as well. Since this is just an audio section, -af instead of -filter_complex unless multiple audio input sources are required. See … Continue reading

Posted in Programming, Tutorial | Tagged | Comments Off on (FFmpeg) How to adjust volume of an mp3?

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

The last two questions covered trimming the start of an audio track and trimming the end, but what does the command look like combined?  In this example, the input file is 1 minute long with the requirement of 10 seconds … Continue reading

Posted in Programming, Tutorial | Tagged | Comments Off on (FFmpeg) How to trim ‘x’ seconds from start and end of an audio track?

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

Note: Trimming at this point should be easily understood but for a refresher refer to answers in How to trim ‘x’ seconds from the start of an audio track?.  Trimming a couple of seconds off the end of a track … Continue reading

Posted in Programming, Tutorial | Tagged | Comments Off on (FFmpeg) How to trim ‘x’ seconds from the end of an audio track?