[英]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.