如何对 iPhone 中的视频进行编码和流式传输
我正在 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不建议在客户端进行编码。服务器上的可用视频已经编码并使用 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/