Audio effects in ffmpeg

Are there ffmpeg sound effects like reverb? Can I work with channels (to delay, mix)? If yes, refer to code examples or code examples. thanks in advance!

+3
source share
2 answers

You are looking for a SoX that is similar to ffmpeg for audio.

+2
source

You can use RUBBERBAND to change the pitch and tempo of the sound,

If you want to change / add the effect of the audio from the video file, use the following code with a combination of ffmpeg and rubberband

ffmpeg -i w.mpg -vcodec copy -an tmpVideo.mpg
ffmpeg -i w.mpg tmpAudio.wav
rubberband -p 6 tmpAudio.wav tmpAudioRB.wav
ffmpeg -i tmpVideo.mpg -i tmpAudioRB.wav -vcodec copy finalVideow_6.mpg

This will create a new video file with a pitch change in the audio.

+4
source

All Articles