ffmpeg切割音频

2020-08-06  本文已影响0人  已不再更新_转移到qiita

ffprobe file.aac -hide_banner -show_format

https://imtx.me/archives/2718.html
https://www.jianshu.com/p/7647a55daa18

ffmpeg -ss 00:00:00 -t 00:05:00 -i file.m4a -c copy cut.m4a

ffmpeg -i file.m4a -f segment -segment_time 900 -write_xing 0 -c copy out%03d.m4a

screenflow导出音频


音频的详细信息

ffprobe file.aac -hide_banner -show_format


音频aac转为mp3格式

ffmpeg -i file.m4a -acodec libmp3lame audio.mp3

https://zhuanlan.zhihu.com/p/28008666
https://zhuanlan.zhihu.com/p/27366331


参考:

-write_xing 0
Mac上有ffmpeg切割文件导致Duration的start_time不正确的解决方法

https://zhuanlan.zhihu.com/p/28008666

http://trac.ffmpeg.org/wiki/Seeking

上一篇 下一篇

猜你喜欢

热点阅读