Page 2 of 2 FirstFirst 12
Results 16 to 30 of 30

Thread: Stream dropping to YouTube & Facebook

  1. #16
    Registered User
    Join Date
    Jan 2018
    Location
    Winter Park
    Posts
    413
    Hi,

    I had removed your log after I looked at it but I just had the same error message during one of my streams. What I noticed that was the stream bitrate spiked before the disconnect. I had configured the stream for 5mbit but it spiked to 12mbps in the samples just prior to the disconnect. Talking to the stream provider they did indicate they had configured limits in the server to prevent people from using bitrates higher than they desired.

    I am curious if your stream also jumped up. You would want to look at the last couple entries for [STREAM0] prior to the one I posted.

  2. #17
    Registered User
    Join Date
    Jan 2020
    Location
    Santa Maria, CA
    Posts
    17
    Here is the whole context of one of the 'failed' stream messages; let me know if this is helpful?

    20200115 10:40:12.971 [PS_RN] [ WAIT ] mean=30.729ms +/- 0.49ms, min=29.13ms, max=31.80ms
    20200115 10:40:12.971 [PS_RN] [ RENDER ] mean=2.639ms +/- 0.26ms, min= 2.36ms, max= 3.94ms
    20200115 10:40:12.971 [PS_RN] [FRAME RATE] mean=33.367ms +/- 0.39ms, min=32.42ms, max=34.32ms
    20200115 10:40:16.418 [AM_RN] [ RNDR ] mean=0.061ms +/- 0.03ms, min= 0.04ms, max= 0.20ms
    20200115 10:40:16.418 [AM_RN] [ SEND ] mean=7.390ms +/- 0.06ms, min= 7.08ms, max= 7.69ms
    20200115 10:40:16.418 [AM_RN] [* FR *] mean=7.498ms +/- 0.04ms, min= 7.19ms, max= 7.78ms
    20200115 10:40:19.892 [STREAM0] StopStreaming - restart = False
    20200115 10:40:19.892 [STREAM0] StopStreaming - elapsed time: 1507.93976666667
    20200115 10:40:19.892 [STREAM0] restart check time: 1507.93976666667
    20200115 10:40:19.892 [MUXER] write footer.
    20200115 10:40:19.934 [FILEIO] reset file size to 1998572736.
    20200115 10:40:19.980 [GPU_MEM] avail=3374.05Mb, used=721.95Mb, total=4096.00Mb

  3. #18
    Registered User
    Join Date
    Jan 2020
    Location
    Santa Maria, CA
    Posts
    17
    Here is another more explicit example:

    20200114 09:36:44.393 [STREAM0] size= 555536kB time=00:07:00.10 bitrate=9682.0kbits/s
    20200114 09:36:44.550 [STREAM0] error: [8] Insufficient bandwidth for stream.
    20200114 09:36:44.550 [STREAM0] state: codec_status_error
    20200114 09:36:44.550 [EFLSH] [2020-01-14 09:36.44 (High)] Streaming Channel 1: Streaming Channel 1: Codec error - [8] Insufficient bandwidth for stream.
    20200114 09:36:44.550 [STREAM0] StopStreaming - restart = False
    20200114 09:36:44.551 [STREAM0] StopStreaming - elapsed time: 421.9215
    20200114 09:36:44.551 [STREAM0] restart check time: 421.9215
    20200114 09:36:44.551 [STREAM0] Call PostStopAPIExec for YouTube Live
    20200114 09:36:44.551 [STREAM0] Call PostStopAPIExec for Facebook

  4. #19
    Registered User
    Join Date
    Jan 2018
    Location
    Winter Park
    Posts
    413
    Quote Originally Posted by Web_Admin_HR View Post
    Here is another more explicit example:

    20200114 09:36:44.393 [STREAM0] size= 555536kB time=00:07:00.10 bitrate=9682.0kbits/s

    So I am looking for the size = lines that show the current bitrate in this case 9682 Kbit/s or 9.6mbit. I believe every 2 seconds you should see a log just like it with the current time and bitrate. I am curious if the ones prior to this show a spike like mine. Just before the disconnect it had gone to normal but the two prior to that were out of the expected range.

  5. #20
    Registered User
    Join Date
    Jan 2020
    Location
    Santa Maria, CA
    Posts
    17
    Just before that message, we did have these:

    20200114 09:36:22.135 [STREAM0] size= 526570kB time=00:06:37.85 bitrate=12065.7kbits/s
    ...
    20200114 09:36:24.135 [STREAM0] size= 529827kB time=00:06:39.85 bitrate=13344.3kbits/s
    20200114 09:36:26.135 [STREAM0] size= 533618kB time=00:06:41.85 bitrate=15527.9kbits/s
    ...
    20200114 09:36:28.138 [STREAM0] size= 538129kB time=00:06:43.85 bitrate=18476.7kbits/s
    20200114 09:36:30.148 [STREAM0] size= 542116kB time=00:06:45.86 bitrate=16329.3kbits/s

    Y'think these are the smoking gun?

  6. #21
    Registered User
    Join Date
    Jan 2018
    Location
    Winter Park
    Posts
    413
    I certainly think that the bitrate shouldn't be nearly double the target that is for sure. I opened a fog bugs case for this. I also think it should reconnect automatically but it is not in this work flow.
    Last edited by stp_productions; 01-26-2020 at 05:04 PM.

  7. #22
    Registered User
    Join Date
    Jan 2020
    Location
    Santa Maria, CA
    Posts
    17
    Thanks for the reply!

    What's a "fog" bugs case?

    Best,

  8. #23
    Registered User
    Join Date
    Jan 2018
    Location
    Winter Park
    Posts
    413
    The best way to get bugs fixed as far as I know

    https://forums.newtek.com/showthread...Reporting-Bugs

  9. #24
    Registered User
    Join Date
    Jan 2020
    Location
    Santa Maria, CA
    Posts
    17
    Got'cha; thanks!

  10. #25
    Registered User
    Join Date
    May 2004
    Location
    Vancouver, WA
    Posts
    1,572
    Quote Originally Posted by Web_Admin_HR View Post
    I do wonder, however, how this documentation affects our issue?

    https://developers.facebook.com/docs...-api/reference

    It implies that we could send 9K at 1080p.

    Thoughts?
    That probably depends on if you are using the Facebook plugin which would go through the API on that developers site or if you are using the regular RTMP streaming. Are you using the baked in Facebook plugin or setting up the Facebook stream using a URL and Stream Key?

    Kris
    TriCasters: Mini, 410, 460, 850, 850 Extreme, 855 & 8000
    Replay: 3Play 820
    CG: LiveText3 - With LT[Scoreboards]
    Cameras: Sony NX5
    Macros: YoungMonkey MasterControl, Belkin N52

  11. #26
    Registered User
    Join Date
    May 2004
    Location
    Vancouver, WA
    Posts
    1,572
    Quote Originally Posted by stp_productions View Post
    I certainly think that the bitrate shouldn't be nearly double the target that is for sure. I opened a fog bugs case for this. I also think it should reconnect automatically but it is not in this work flow.
    That is a bit odd. I wonder if it is trying to "catch up" or something. I still think an extended test at or around 4 Mbps is a really good idea here. Just to make sure that works. If it does, you can start cheating up the bitrate until it breaks again.

    Kris
    TriCasters: Mini, 410, 460, 850, 850 Extreme, 855 & 8000
    Replay: 3Play 820
    CG: LiveText3 - With LT[Scoreboards]
    Cameras: Sony NX5
    Macros: YoungMonkey MasterControl, Belkin N52

  12. #27
    Registered User
    Join Date
    Jan 2018
    Location
    Winter Park
    Posts
    413
    Quote Originally Posted by kltv View Post
    That is a bit odd. I wonder if it is trying to "catch up" or something. I still think an extended test at or around 4 Mbps is a really good idea here. Just to make sure that works. If it does, you can start cheating up the bitrate until it breaks again.

    Kris
    Yeah Not really sure but that is why I opened a ticket. In my case I was configured to use 5mbit - The line I was on regularly reports 1 gig up/down and has been very consistent this year.

    Code:
    20200122 18:44:34.552 [STREAM1] size= 3212229kB time=01:24:07.15
    bitrate=5289.4kbits/s
    20200122 18:44:36.572 [STREAM1] size= 3213512kB time=01:24:09.17
    bitrate=5255.0kbits/s
    20200122 18:44:38.584 [STREAM1] size= 3214720kB time=01:24:11.18
    bitrate=4947.8kbits/s
    20200122 18:44:40.590 [STREAM1] size= 3215909kB time=01:24:13.18
    bitrate=4871.9kbits/s
    20200122 18:44:42.590 [STREAM1] size= 3217470kB time=01:24:15.18
    bitrate=6391.3kbits/s
    20200122 18:44:44.596 [STREAM1] size= 3218907kB time=01:24:17.19
    bitrate=5888.9kbits/s
    20200122 18:44:48.888 [STREAM1] size= 3219526kB time=01:24:21.48
    bitrate=2535.5kbits/s
    20200122 18:44:50.888 [STREAM1] size= 3222580kB time=01:24:23.48
    bitrate=12506.0kbits/s
    20200122 18:44:52.905 [STREAM1] size= 3224355kB time=01:24:25.50
    bitrate=7272.5kbits/s
    20200122 18:44:59.114 [STREAM1] error: [8] Insufficient bandwidth for
    stream.
    20200122 18:44:59.114 [STREAM1] state: codec_status_error
    20200122 18:44:59.114 [EFLSH] [2020-01-22 18:44.59 (High)] Streaming
    Channel 2: Streaming Channel 2: Codec error - [8] Insufficient bandwidth
    for stream.
    20200122 18:44:59.118 [STREAM1] StopStreaming - restart = False
    Reaching 12mbit seems just a bit outside the realm of normal.

    What annoys me most is that it sets its self to not resume. As such I had to stop the streaming engine once I noticed the little notification indicator at the top right of the screen the second screen ((I switch from the multiview(now I have a broke mp4 archive)) to resume the broken rtmp that has been down for 5 minutes01. Yes I can export the master recording but that adds another 30+ minutes to my packing up to leave.
    Last edited by stp_productions; 01-26-2020 at 05:49 PM.

  13. #28
    Registered User
    Join Date
    Jan 2020
    Location
    Santa Maria, CA
    Posts
    17
    I believe we are using RTMP streaming via TC1 with URL/stream key, so the documentation for the API isn't relevant, right?

  14. #29
    Registered User
    Join Date
    May 2004
    Location
    Vancouver, WA
    Posts
    1,572
    Quote Originally Posted by Web_Admin_HR View Post
    I believe we are using RTMP streaming via TC1 with URL/stream key, so the documentation for the API isn't relevant, right?
    Possibly. I'm not sure if their backend handles them completely differently or not, but it is probably safer to go with the instructions for the type of connection you are running. The previous documentation with the 4 Mbps ceiling was more of the public RTMP instructions.

    Kris
    TriCasters: Mini, 410, 460, 850, 850 Extreme, 855 & 8000
    Replay: 3Play 820
    CG: LiveText3 - With LT[Scoreboards]
    Cameras: Sony NX5
    Macros: YoungMonkey MasterControl, Belkin N52

  15. #30
    Registered User
    Join Date
    Jan 2020
    Location
    Santa Maria, CA
    Posts
    17
    Got'cha!

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •