标记音频和 ogg

发布于 2024-10-18 15:58:10 字数 225 浏览 10 评论 0原文

我尝试使用标签音频。将 mp3 转换为 ogg 使用

ffmpeg -i "123.mp3" "1234.ogg"  

.ogg 的服务器响应内容类型,例如 video/ogg。 我尝试了内容类型音频/ogg 和应用程序/ogg,但它也不起作用。 我认为我的文件格式错误,因为在播放器中它可以工作。 如何在 Linux 控制台中正确将文件从 mp3 转换为 ogg?

I try to use tag audio. Convert mp3 to ogg use

ffmpeg -i "123.mp3" "1234.ogg"  

Server response content-type for .ogg like video/ogg.
I try content-type audio/ogg and application/ogg but it doesn't work too.
I think my file have got wrong format, because in player it works.
How to correct convert file from mp3 to ogg in linux console?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

凉城已无爱 2024-10-25 15:58:10

您可以尝试在文件上使用 file 命令来查看它的内容吗?

只是出于好奇。

我更喜欢自己使用 oggenc 命令。 。我认为没有 1 种正确的方法可以做到这一点。 。像大多数事情一样,有很多方法可以到达那里。

Could you try using the file command on the file to see what it says about the content?

Just out of curiosity.

I prefer to use the oggenc command myself . . I don't think there is 1 correct way to do it . . Like most things there are many ways to get there.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文