The entire Facebook RTMPS URL must be enclosed in double quotes, from rtmps:// to the end of your command.I need to stream to both YouTube and Facebook. I can get YouTube to work just fine...but Facebook always give me errors
Any Suggestions?
In my testing, FFmpeg would quit automatically upon losing network connection, so I imagine you could create an infinite loop that would automatically restart FFmpeg for you if it ever has to quit for any reason. Unfortunately, since FFmpeg must be started before starting the local RTMP stream to avoid adding very high latency, this might require additional flags that I don't know much about. Try addingIs there any way to automatically restart stream if connection was lost?
-fflags nobuffer
before your -i
, and then make the whole command into a .bat file that restarts itself unless you manually exit it:
Code:
:loop
start /WAIT ffmpeg -fflags nobuffer -i rtmp:// the rest of your command goes here
goto loop
If they accept RTMP inputs, yes.Is it possible to stream OBS to SessionsLive and facebook at the same time?