-
Notifications
You must be signed in to change notification settings - Fork 462
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
下载音频格式,ffmpeg合并后可以正常使用 #5
Comments
本机测试无效,音频存在异常, |
不知道,我测试了两三个视频,可能不通用吧 |
我这边测试直接合成音质有问题 先把音频分离出来 然后把原始视频和上一步得到的aac组装到一起 或者 #4 提到的方法也可以,就是麻烦很多 |
是的,可以把音频转成aac。 |
音频原始格式应该是m4a,也是用mp4容器包装的 可能和来源有关吧,后面有人遇到同样情况可以试试我这个办法 |
亲测成功,非常感谢,我看看怎么整合到工具里面 |
我这里使用ffmpeg.exe 导出音频文件没问题,但是处理视频文件时出现错误,不知道有没有解决方法。 |
我这现在下载下来的音频也是mp4, 不是m4a。迷茫了,不知道该怎么处理 |
建议:下载资源时或许可以检测mime开头是audio,则将后缀设置成mp3或其他
ffmepg合并命令:
ffmpeg -i "${videoPath}" -i "${audioPath}" -vcodec copy "${outputName}"
经测试音频正常,无损合并
The text was updated successfully, but these errors were encountered: