ffserver autostart on boot with input streams

0

I've been trying to configure ffserver to convert four different h264 rtsp streams into mjpeg. Now I have the basics figured out. Now I just have to figure out how to autostart everything when my server boots. I am running debian on the server.

Currently I start the server using ffserver command. And then each stream using:

ffmpeg -i 'rtsp://192.168.1.30/blabla.sdp?' http://127.0.0.1:8090/camera1.ffm

Now I am trying to figure out how to make everything start on boot. I know that I can autostart ffserver using init.d, but I am not sure if I can specify the ffserver inputs in the config file so I don't need to specifically start each stream separately. There is also one other thing - I want this to survive the network going down or something similar.

Any help will be appreciated.

user3082900

Posted 2019-04-20T19:31:03.347

Reputation: 1

No answers