How to convert RTSP streams to Http Live Streaming using lighttpd?

I have a problem. I want to play RSTP on iPad and iphone. but I find out that it will be much easier if I use Http Live Streaming. I want to convert an RTSP stream to Http streaming using lighttpd. but I really don't know how to do this. Make lighttpd accetp rtsp streaming url as input? Can anyone help? thanks!

+4
source share
2 answers

You have two options:

1) Start a server on your network that retransmits rtsp as hls.

a) wowza - popular, dear b) live 555 - for free, a lot of work d) ffserver - free and basic, because he gets a lot of work to do the work.

Advantage: No bandwidth limits for cellular or Wi-Fi playing with native players in apples

Inconvenience

High server bandwidth - if you pay for server time, you can watch this. high distance - forget about any kind of live video.

2) Run the player based on FFmpeg on the device

Benefits

:

a) It is much easier than before, we do it all the time b) deal with the lgpl license, clear instructions on ffmpeg.org, and not with a huge hassle c) everything on the device, problems with loading the server.

disadvantages

Limited bandwidth compared to celluar (about 10 minute intervals), unlimited Wi-Fi

+3
source

lighttpd does not accept RTSP as input. You will need your translator program to read the rtsp stream and output the files to the website repository. I think you could do this with the avconv / ffmpeg program.

+1
source

All Articles