Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facebook Live: FFmpeg RTMPS error messages #31

Closed
josev814 opened this issue May 21, 2019 · 3 comments
Closed

Facebook Live: FFmpeg RTMPS error messages #31

josev814 opened this issue May 21, 2019 · 3 comments
Labels

Comments

@josev814
Copy link

I was able to successfully stream to YouTube, but when trying to stream to Facebook it fails. I updated the api url to be rtmps://live-api-s.facebook.com:443/rtmp/, since 80 is deprecated. When trying to stream to facebook I get the following issues.

This message repeats a couple times, and then hits 100% of size for rfbufsize and keeps repeating.
[dshow @ 000001d3f3a5c4a0] real-time buffer [Microphone (Realtek High Definition Audio)] [audio input] too full or near too full (63% of size: 3041280 [rtbufsize parameter])! frame dropped!

When stopping the process I get these errors which seem to pertain to the additional query string parameters that facebook provides with it's streaming key:
[tls @ 000001d3f74cbc60] Unable to read from socket [tls @ 000001d3f74cbc60] Failed to send close message rtmps://live-api-s.facebook.com:443/rtmp/150700682599743?s_bl=1: I/O error 's_ps' is not recognized as an internal or external command, operable program or batch file. 's_sml' is not recognized as an internal or external command, operable program or batch file. 's_sw' is not recognized as an internal or external command, operable program or batch file. 's_vt' is not recognized as an internal or external command, operable program or batch file. 'a' is not recognized as an internal or external command, operable program or batch file.

@scivision
Copy link
Owner

scivision commented May 30, 2019

I am also seeing FFmpeg not working to Facebook now that RTMPS is mandatory. I will need to look further.

@scivision
Copy link
Owner

I see different symptoms from Linux and Windows

  • Windows FFmpeg 4.1.3: [rtmps ..] ... Resource temporarily unavailable and no video shown on site
  • Ubuntu 18.04 FFmpeg 3.4.6 [tls ...] ... The specified session has been invalidated for some reason. and a few seconds of video

This happens with just FFmpeg itself from the command line, so I'm tempted to think it's an FFmpeg issue, I've seen others on the web talking about this. Or maybe I'm missing a command line option.

@scivision scivision changed the title Facebook Not Streaming Facebook Live: FFmpeg vis RTMPS error messages Jun 2, 2019
@scivision scivision changed the title Facebook Live: FFmpeg vis RTMPS error messages Facebook Live: FFmpeg RTMPS error messages Jun 2, 2019
@scivision
Copy link
Owner

This appears to be fixed by FFmpeg >= 4.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants