gpt4 book ai didi

ffmpeg - 使用包含专辑封面的 ffmpeg 裁剪 mp3 文件

转载 作者:行者123 更新时间:2023-12-04 23:14:28 30 4
gpt4 key购买 nike

为了将 mp3 裁剪到 30 秒,我使用它并且效果很好,直到有人上传了带有专辑封面的 mp3 文件

ffmpeg -t 30 -i in.mp3 -acodec copy out.mp3

现在我有了这个:
enter image description here

有什么建议么?

最佳答案

看起来您的 ffmpeg 版本没有 PNG 编码器。

利用

ffmpeg -t 30 -i in.mp3 -c:v copy -c:a copy out.mp3

关于ffmpeg - 使用包含专辑封面的 ffmpeg 裁剪 mp3 文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52204426/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com