新版本ffmpeg编译
来源:互联网 发布:爱迅纺织软件 编辑:程序博客网 时间:2024/06/02 07:28
Compile ffmpeg for iOS 6, support Simulator & armv7 & armv7s
- 博客分类:
- iphone & ipad
iOSffmpeg
In the posts, I will show how to use ffmpeg on iOS.
This posts is a document for this project:
https://github.com/lvjian700/ffmpegc-demo
Now, ffmpec support x264 module. If you use the script before, please check your version first.
What is ffmpeg ?
FFmpeg is a complete, across-platform solution to record, convert and stream audio and video.
Why use ffmpeg?
- Play h.264 video
- encoding capture video to h.264 video(It need ffmpeg h.264 module.)
- publish a av stream
- subscribe a rtsp av stream
Before use ffmpegc-demo, you should download and compile ffmpeg:
I made a repository to make the step easy:
- git clone git@github.com:lvjian700/ffmpegc.git
- cd ffmpegc
- ./install-ffmpeg.sh
If compile complete, you can find universal library in ffmpeg/build folder:
1. ffmpeg core library:
2. ffmpeg x264 module. x264 is a H.264/MPEG-4 AVC encoder
Using ffmpeg
1. Clone project first:
- git@github.com:lvjian700/ffmpegc-demo.git
2.Open in XCode and copy build/*.a and x264/build/*.a to libs/ folder of the project:
3. Add them to project link library
Project References -> Targets -> Build Phases -> Link Binary With Librarys
4. Add dependences library:
Project References -> Targets -> Build Phases -> Link Binary With Librarys
Add two library:
- libbz.dylib
- libz.dylib
- libiconv.2.4.0.dylib
5. Add Header Search Paths:
Project References -> Targets -> Build Settings -> Header Search Paths
1. add ffmpeg core header paths:
2. add x264 header paths:
6. Now, run project ...
Some useful document:
《How to prepare your mac for ios development with ffmpeg libraries》
《ffmpeg configure options》 -pdf
http://www.cocoachina.com/bbs/read.php?tid=142628
0 0
- 新版本ffmpeg编译
- 新版本ffmpeg的变动整理
- 编译新版本spice-gtk
- 新版本ffmpeg在Visual Studio中的使用。
- FFMPEG新版本的一些使用问题
- 【FFMPEG】VS2015编译FFMPEG
- 【FFMPEG】VS2013编译ffmpeg
- 新版本Android Souce 编译问题
- ffmpeg编译
- FFmpeg编译
- FFMPEG编译
- ffmpeg编译
- 编译ffmpeg
- ffmpeg 编译
- 编译ffmpeg
- ffmpeg编译
- ffmpeg编译
- 编译ffmpeg
- hadoop中的文件格式
- 判别模型 和 生成模型
- jQuery 获取父窗口元素方法
- ora-39142,ora-39001,ora-39000
- suricata命令行
- 新版本ffmpeg编译
- android 静态连接库引用方法
- 1. 字符串字面量
- win7下的共享文件夹的添加
- Cocos2d-x 线程的使用及线程使用中遇到的问题
- java配置mysql数据库 和 Tomcat 配置mysql数据源(亲测)
- 【翻译】计算机几何基础算法(一)
- 黑马程序员---c 语言 与 c++ 几点区别 (第二章--------第四章)
- 不能根据errno为0与否作为判断错误的依据