开发者

Audio effects in ffmpeg [closed]

开发者 https://www.devze.com 2023-02-18 15:44 出处:网络
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed. This question is off-topic. It is not currently accepting answers.

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

开发者_运维问答

Closed 10 years ago.

Improve this question

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!


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号