如何在 MPEG 基本音频文件中编码 MP3?

发布于 2024-09-24 17:57:54 字数 644 浏览 0 评论 0原文

如何在 MPEG 基本音频文件中编码 MP3?我想将 MP3 音频文件从网络服务器流式传输到 iPhone。根据Apple文档中显示的过程,

http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/StreamingMediaGuide/HTTPStreamingArchitecture/HTTPStreamingArchitecture.html#//apple_ref/doc/uid/ TP40008332-CH101-SW3 他们说媒体编码器从音频视频设备获取实时信号,对媒体进行编码,并将其封装以进行传输。现在我的疑问是如何对媒体文件进行编码?例如,如果 MP3 是音频文件,我需要将其编码为 MPEG 基本音频文件。怎样才能达到呢??请帮忙。

谢谢。

How to encode MP3 in MPEG elementary audio file? i want to stream an MP3 audio file from web server to iPhone. As per the procedure shown in Apple document,

http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/StreamingMediaGuide/HTTPStreamingArchitecture/HTTPStreamingArchitecture.html#//apple_ref/doc/uid/TP40008332-CH101-SW3
they say that the media encoder takes a real-time signal from an audio-video device, encodes the media, and encapsulates it for transport. Now my doubt is how to encode a media file? for example if MP3 is the audio file, i need to encode it into MPEG Elementary Audio file. How to achive it?? please help.

Thank You.

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

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

发布评论

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

评论(1

初见你 2024-10-01 17:57:54

您可以使用 ffmpeg 或自己编写应用程序并使用 LAME 库 进行 MP3 编码。

You can use an ffmpeg or write an application yourself and use LAME library to do MP3 encoding.

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