问题
How can i change the Tone frequency. This Example only pitch it by keeping the old tone frequency and only decrease the length of File.
For Example i have a constant 100 Herz tone (as mp3) and i want it to change 90 Herz
ffmpeg -i 100h.mp3 -af atempo=100/90 90h.mp3
This Example not works for me, it sounds same
inputfile Mp3
outputfile Mp3
回答1:
Basic method is
ffmpeg -i 100h.mp3 -af asetrate=44100*0.9,aresample=44100 90h.mp3
where 44100
should be replaced with the input sample rate.
回答2:
finally this works by keeping also the audio length
ffmpeg -i test.mp3 -af asetrate=44100*0.9,aresample=44100,atempo=1.1 output.mp3
来源:https://stackoverflow.com/questions/53374590/ffmpeg-change-tone-frequency-pitch-audio