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

Micael Silva micaelsilva at gmail.com
Wed Jun 5 03:52:29 EEST 2019


On Tue, Jun 4, 2019 at 6:40 PM Nam Giang <kyng at ece.ubc.ca> wrote:

> 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
> support)
>
> My try:
>
> > ffmpeg -v verbose -f avfoundation -r 29.97 -s 1280x720 -i "0:0" -preset
> ultrafast -vcodec libx264 -tune zerolatency -f flv "rtmps://
> live-api-s.facebook.com:443/rtmp/<stream_key>"
>
> 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 157.240.3.1 port 443
> [tcp @ 0x7f7f89c5d3c0] Successfully connected to 157.240.3.1 port 443
> [rtmps @ 0x7f7f89c40000] Cannot open connection tls://
> live-api-s.facebook.com:443
>
> Resource temporarily unavailable
>
> Thanks
>

Complete uncut output missing


More information about the ffmpeg-user mailing list