[FFmpeg Cmd]AudioSpeed调节音频流播放速度

http://muzso.hu/2015/04/25/how-to-speed-up-slow-down-an-audio-stream-with-ffmpeg

How to speed up / slow down an audio stream with ffmpeg

Sat, 2015.04.25 - 23:59 — müzso
https://trac.ffmpeg.org/wiki/How%20to%20speed%20up%20/%20slow%20down%20a%20videoUse the "atempo" filter:

ffmpeg -i input.mp4 -filter:a "atempo=0.5" -vn output.aac
The above example will extract the audio stream from the input video, slow it down by 2 and reencode it into an AAC audio file.
The parameter for atempo must be between 0.5 and 2.0. If you want to slow it down even more, you can use the atempo filter more than once.
Eg. to slow it down by 4:

ffmpeg -i input.mp4 -filter:a "atempo=0.5,atempo=0.5" -vn output.aac

音频用asetpts=PTS/2.0 是没用的

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容