简体   繁体   中英

How to stream and convert live video into mp-4. How to use FFMPEG?

I am developing iphone application which requires live video stream (Flash or any other) to be run on iphone. Can anybody help me to stream live video using HTTPLiveStreaming. And i want to use FFMPEG converter for converting video into mp4. Is there any step by step documentation to use ffmpeg into iphone sdk?

Any help would be appreciable. Thanks in Advance.

For live streams, Apple provides a free tool to make media segment files and playlists from live MPEG-2 transport streams carrying H.264 video, AAC audio, or MP3 audio. There are a number of hardware and software encoders that can create MPEG-2 transport streams carrying MPEG-4 video and AAC audio in real time.

There is no reason to use a huge FFMPEG library. If you send live video to iOS device then this video should be compatible with iOS (and most likely it will already be such as MP4). You just send this video stream to media player(MPMoviePlayerController) and all will works fine. See also HTTP Live Streaming Overview

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM