[FFmpeg-user] ffmpeg streaming to rtmps fails on Mac

Nam Giang kyng at ece.ubc.ca
Wed Jun 5 00:39:59 EEST 2019

Hi there,

Is there anyone success with streaming to rtmps destination using ffmpeg on
a Mac? (Facebook recently enforces this to be the only protocol they

My try:

> ffmpeg -v verbose -f avfoundation -r 29.97 -s 1280x720 -i "0:0" -preset
ultrafast -vcodec libx264 -tune zerolatency -f flv "rtmps://

It always stale after a sec. On FB it said it hasn't received the data for
some time.

Using the nightly build at ffmpeg.org. Error looks like:

[tls @ 0x7f8c8cf1b720] IO Error: -9806

I tried to build it myself with gnutls and still no luck:

[tcp @ 0x7f7f89c5d3c0] Starting connection attempt to port 443
[tcp @ 0x7f7f89c5d3c0] Successfully connected to port 443
[rtmps @ 0x7f7f89c40000] Cannot open connection tls://

Resource temporarily unavailable


More information about the ffmpeg-user mailing list