Wowza Community

Active stream but can't find stream on Facebook page

I am trying to stream an existing file to Facebook Live using ffmpeg. The stream target says active leaving me no reason to believe that there is an issue with the connection. However, I am not able to see the stream on the Facebook page that I am streaming to.

This is the ffmpeg command I am using:

ffmpeg -i -vf scale=ih*1/1:ih,scale=iw:-2,setsar=1 -f flv “rtmp://localhost:1935/app/video”

The test player shows the stream perfectly how I want it. Can anyone give me an insight on what might be wrong? Is it because my video doesn’t adhere to the Facebook Live requirements?

You are missing multiple options with FFmpeg.

  1. You are not using the “-re” switch to deliver the file in real time.

  2. You are modifying the stream which means that the video will be converted.

  3. The default setting for libx264 is CRF 23 which is not bitrate based. CRF is not supported for streaming media.

We have an article on how to create streaming media compatible VOD content with FFmpeg. The same concepts apply for live.