Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Set up a Red5 server with FFmpeg for live streaming to iOS

I'm an app developer and I need to implement FFmpeg to transcode/change an rtmp live stream to an http live stream so that I can play it on any iOS device (iPhone and iPad).

My problem is that I am fairly new when it comes to server, media stuff and FFmpeg. And I need to change the server so that I can transcode the live stream on the server side (which I have read that is possible). Any tips, suggestions, sample code, or tutorials would be of great help.

like image 230
G_Money Avatar asked Oct 07 '22 13:10

G_Money


1 Answers

For streaming to iOS devices via HTTP Live Streaming you will need to convert your media (FFMpeg can take live stream as input with rtmp://) using FFMpeg and then divide them into segments. here is a link that can be of help. I haven't tried myself but I think you need to recompile FFMpeg. You could also try MEncoder.

like image 116
Jit B Avatar answered Oct 13 '22 09:10

Jit B