Audio effects in ffmpeg [closed]
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
开发者_运维问答Closed 10 years ago.
Improve this questionDoes 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!
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
You're looking for SoX, which is like ffmpeg for audio.
精彩评论