使用FFMPEG库与iPhone SDK进行视频编码 [英] Using FFMPEG library with iPhone SDK for video encoding

查看:221
本文介绍了使用FFMPEG库与iPhone SDK进行视频编码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要将由iphone相机拍摄的几张照片编码成mp4视频文件,我知道FFMPEG可以做到这一点(应用程序TimeLapser和ReelMoments已经做到了)。我计划在我的应用程序iMotion(在appstore中可用)中使用这个。



我用这个链接成功安装和编译了iphone SDK的ffmpeg:
http://lists.mplayerhq.hu/pipermail/ffmpeg-devel /2009-October/076618.html



但现在我被困在我的XCode项目中。使用FFMPEG库进行视频编码时应该怎么做?关于外部库使用的苹果文档很简单,我可以在网上找到任何教程,说明如何做到这一点。



如果有人可以帮助我,我会非常感谢...



谢谢



Aurelien Potier

解决方案

查看github上的 iFrameExtractor 项目。虽然这不是你正在寻找的,它有脚本用于构建ffmpeg库和xcode项目链接库。



这篇博文中的更多信息:



http: //www.codza.com/extracting-frames-from-movies-on-iphone


I need to encode several pictures shot by the iphone camera into a mp4 video file and I know FFMPEG can do this (the application TimeLapser and ReelMoments do it already). I plan to use this in my app iMotion (available in the appstore).

I successfully install and compile the ffmpeg for the iphone SDK with this link : http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2009-October/076618.html

But now I'm stuck here in my XCode project. What should I do next to use the FFMPEG library for video encoding ? The Apple documentation about external library using is very light and I just can find any tutorial on the web wich explain how to do this.

If anybody can help me, I would be very grateful..`

Thanks

Aurelien Potier

解决方案

Check out the iFrameExtractor project on github. While this is not exactly what you are looking for, it has scripts for building the ffmpeg libraries and the xcode project links the libraries.

Some more info in this blog post:

http://www.codza.com/extracting-frames-from-movies-on-iphone

这篇关于使用FFMPEG库与iPhone SDK进行视频编码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆