使用 afconvert 将 iPhone 的 wav 转换为 caf 时出错
这是我在终端窗口中输入的命令:
afconvert -f caff -d LEI16@44100 -c 1 buzzer.wav buzzer.caf
Error: ExtAudioFileOpenURL failed ('dta?')
请注意,buzzer.wav 是我的声音文件。
怎么了? 我应该如何进行转换?
Here's the command I'm typing in a Terminal window:
afconvert -f caff -d LEI16@44100 -c 1 buzzer.wav buzzer.caf
Error: ExtAudioFileOpenURL failed ('dta?')
Notice that buzzer.wav is my sound file.
What's wrong? How should I do the conversion?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
并非所有波形 (.wav) 文件都是相似的。 有些实际上是一些无法识别的文件格式。 对我来说解决这个问题的方法是在 Audacity 中打开文件,然后以波形格式导出声音; 然后使用afconvert。
Not all wave (.wav) files are alike. Some are actually some unrecognized file format. What fixed it for me was to open the file in Audacity and then export the sound in wave format; then use afconvert.