Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Audio effects in ffmpeg [closed]

Does ffmpeg audio effects like reverb? Can I work with the channels (to detain them, mix)? If so please link to code samples or examples of codes. thanks in advance!

like image 710
Kyborg2011 Avatar asked Apr 07 '26 19:04

Kyborg2011


2 Answers

You can use "RUBBERBAND" for changing pitch and tempo of audio,

If you want to change/add effect of audio from video file then use following code with 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 generate a new video file with pitch change in audio

like image 172
Santosh Yadav Avatar answered Apr 12 '26 06:04

Santosh Yadav


You're looking for SoX, which is like ffmpeg for audio.

like image 25
blahdiblah Avatar answered Apr 12 '26 05:04

blahdiblah