On 01/27/2017 11:11 AM, Moritz Barsnick wrote:
On Thu, Jan 26, 2017 at 20:56:48 -0700, JD wrote:
Have a video in which the audio's pitch (and speed) are just slightly
higher than normal.
How can I reduce the pitch and speed in small increments until I get it
right?
The asetrate filter is designed for that:
https://ffmpeg.org/ffmpeg-filters.html#asetrate
Unfortunately, it doesn't take the input rate as a variable, but if you
know your input is 48000 Hz, you can do:
$ ffmpeg -i video.mp4 -af asetrate=47000 -c:v copy -c:a aac output.mp4
If the output audio stream needs to be 48000 (or something "standard"
again, you have to resample:
$ ffmpeg -i video.mp4 -af asetrate=47000,aresample=48000 -c:v copy -c:a aac
output.mp4
Hope this helps,
Moritz
Thanx Moritz. Will try it.
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".