Question / Help How to stream to ffserver?

dims

New Member
I have a device, which was able to play ontly RTSP/TS streams, which ffserver can generate.

How to stream to ffserver from OBS Studio?

I tried dozens of combinations, but most often OBS immidetely says

An unspecified error occured while recording

Log contains various errors like

Error opening 'http://myserver:8090/feed1.ffm': Invalid argument
ffmpeg_data_init failed

On server side I see no attempts to connect.
 
Hi dims,

I have a similar setup.
I use OBS send the stream to a linux machine running nginx with th rtmp module to push the stream to twitch.
That works great.

In my lan I have an SetTopBox from infomir, the MAG 250 who can only reads a RTSP stream.
So I tested with mona server, no success.
I tested it with the rtsp-server, works with lags and dropouts.
I tested it with ffserver, was along way to find the right setup, but now it works great.

I have a little workaround, feeding the ffserver.
I have a secon line in my nginx configuration

nginx conf --snipp

application live-in:
exec ffmpeg -i rtmp://localhost:1935/live-in/STREAMKEY -vcodec libx264......... (generates the stream for twicth)
exec ffmpeg -i rtmp://localhost:1935/live-in/STREAMKEY -c:v copy -c:a copy http://ffserverIP:1234/feed.ffm


with this workaround I can see on the STB with the link RTSP://ffserverIP:1235/test.sdp and it works also.
I can also see the stream with VLC on my windows machine, and with ffplay on my linux machine.
So I can test it with diffrent palyers.

But ideally the solution you are looking for is great, to control the second stream with the record tab in the gui.
I am very interested in to figure it out.

With the record tab and costum ffmpeg command.
I also tried diffrent codecs etc everytime with the error message from OBS.
But an interessting thing is, my ffserver shows that OBS tried to connect...

Michael
 
Last edited:
Top