简体   繁体   English

直接在iPhone上编码H.264视频(或类似图像)?

[英]encoding H.264 video (or similar) on the iPhone directly?

What's the best way to encode video (with audio) on the iPhone? 在iPhone上编码视频(带有音频)的最佳方法是什么? It looks like QTKit isn't available... so I might have to link with ffmpeg, but ffmpeg doesn't look like it encodes H.264 (judging from their home page.) 看来QTKit不可用...所以我可能不得不链接到ffmpeg,但是ffmpeg看起来并不像它编码的H.264(从它们的主页判断)。

If it is possible, I'm also curious how fast I can expect it to perform on the ARM. 如果有可能,我也很好奇我期望它能在ARM上执行的速度。 I imagine it might take minutes to encode a 20sec movie. 我想编码一部20秒的电影可能要花几分钟。

x264结合使用时,ffmpeg和mencoder都将对H2.264视频进行编码,但是我想让它全部运行在iPhone上绝对是一场噩梦,更不用说它在运行时的性能了。

A while ago I wrote an AVI encoder for the iPhone that used raw file I/O. 不久前,我为iPhone编写了一个AVI编码器,该编码器使用了原始文件I / O。 I just started work on a QuickTime encoder that encodes BMP data into a quicktime container. 我刚刚开始研究QuickTime编码器,该编码器将BMP数据编码到quicktime容器中。 If it is H.264 you want to encode, I would try making a server that uses QTKit and having your app connect to that for conversion. 如果您要编码的是H.264,我会尝试制作一个使用QTKit的服务器,并使您的应用程序连接到该服务器进行转换。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 是否可以在可可或iPhone中将视频编码从H.263转换为H.264 - Is it possible to convert video encoding to H.264 from H.263 in cocoa or iPhone 从wifi h.264相机直接直播到iPhone - live streaming from wifi h.264 camera directly to iPhone iPhone“无法播放”.mp4 H.264 视频文件 - iPhone "cannot play" .mp4 H.264 video file H.264 over RTP/RTSP (iPhone) - H.264 over RTP/RTSP (iPhone) 通过RTSP将实时H.264视频流式传输到iphone确实有效! 瓦特/示例 - Streaming live H.264 video via RTSP to iphone does work! w/example 我们如何从 iPhone Camera 中获取 H.264 编码的视频 stream? - How can we get H.264 encoded video stream from iPhone Camera? 硬件加速h.264解码到iOS中的纹理,叠加或类似 - Hardware accelerated h.264 decoding to texture, overlay or similar in iOS 在iOS中使用FFMPEG进行H.264编码时找不到编解码器 - Codec not found while H.264 encoding using FFMPEG in iOS iPhone 摄像头使用 AVCaptureSession 拍摄视频并使用 ffmpeg CMSampleBufferRef 更改 h.264 格式是问题所在。 请指教 - iPhone camera shooting video using the AVCaptureSession and using ffmpeg CMSampleBufferRef a change in h.264 format is the issue. please advice 将H.264 I帧放入AVSampleBufferDisplayLayer,但不显示视频图像 - Putting an H.264 I frame to AVSampleBufferDisplayLayer but no video image is displayed
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM