读书人

How to use ffmpeg on iOS 六, suppor

发布时间: 2012-12-27 10:17:10 作者: rapoo

How to use ffmpeg on iOS 6, support Simulator & armv7

This is my first english posts. In this posts, I will show how to use ffmpeg on iOS.

?

This posts is a document for this project:?

https://github.com/lvjian700/ffmpegc-demo

?

What is ffmpeg ?

FFmpeg is a complete, across-platform solution to record, convert and stream audio and video.?

Why use ffmpeg?Play h.264 videoencoding capture video to h.264 video(It need ffmpeg h.264 module.)publish a av streamsubscribe a rtsp av streamAfter use ffmpegc-demo, you should download and compile ffmpeg:I made a repository to make the step easy:


Using ffmpeg1. Clone project first:

?3. Add them to project link libraryProject References?-> Targets -> Build Phases -> Link Binary With Librarys
How to use ffmpeg on iOS 六, support Simulator & armv7
?4. Add dependences library:Project References -> Targets -> Build Phases -> Link Binary With LibrarysAdd two library:libbz.dyliblibz.dylibHow to use ffmpeg on iOS 六, support Simulator & armv7
?5. Add Header Search Paths:Project References -> Targets -> Build Settings ->?Header Search Paths
How to use ffmpeg on iOS 六, support Simulator & armv7
?

?

6. Now, run project ...

How to use ffmpeg on iOS 六, support Simulator & armv7

?

?

读书人网 >操作系统

热点推荐