如何对 iPhone 中的视频进行编码和流式传输

发布于 2024-09-06 21:46:01 字数 162 浏览 5 评论 0原文

我正在 iPhone 3GS 3.1.3 上使用 UIGetScreenImage() 捕获 CGImageRef 帧,并希望以任何适当的、众所周知的格式通过互联网进行流式传输。

有哪些视频编解码器库可以让我将原始像素数据编码到视频中? (我不太熟悉视频编解码器,但熟悉网络编程来实际发送数据)

I'm capturing CGImageRef frames using UIGetScreenImage() on an iPhone 3GS 3.1.3 and want to stream this over the interwebs in any appropriate, well known format.

What video codec libraries are available that would allow me to encode the raw pixel data into a video? (i'm not too familiar with video codecs, but am familiar with network programming to actually send the data out)

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

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

发布评论

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

评论(1

横笛休吹塞上声 2024-09-13 21:46:01

我不建议在客户端进行编码。服务器上的可用视频已经编码并使用 MPMoviePlayerController 来呈现它:

有关如何流式传输视频的好教程:

http://buildmobilesoftware.com/2010/08/09/how-to-stream-videos-on-the-iphone-or-ipad /

I wouldn't recommend encoding on the client. Have the video available on the server already encoded and use MPMoviePlayerController to present it:

good tutorial on how to stream video:

http://buildmobilesoftware.com/2010/08/09/how-to-stream-videos-on-the-iphone-or-ipad/

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