DESPERATELY NEED HELP

Quick backstory - I stream games for a living.

I have Xfinity. It's been mostly fine for 3+years. About a month ago, I started having issues where I would start dropping frames. In the beginning, it would happen every 3-4 minutes, and last about 10 seconds or so. This would be rinse/repeat for literally hours, all stream long. I would do test streams and find that these connection issues would still happen during the day and morning, but were MUCH more prolific at night (when I'm streaming).
As you can imagine, this is detrimental to my stream and therefore my livelihood.

I feel like I've tried literally everything and I just don't know what to do/what I might be missing at a certain point.
So far I've:
  • Had 4 Xfinity techs come out, including a supervisor. They all said they saw no problems. Thing is, they usually come around the afternoon, latest 4PM. That's not when the problems usually start happening. They even put a monitor on my modem to "ping" it every 10 minutes for a week. They saw no issues.
  • Recreated the problem on:
    • Two different PCs
    • Two different streaming software
    • A fresh install of said streaming software
    • Two different ethernet cables
    • Wifi AND wired connection
    • Two different modem/router setups. One was the the one Xfinity gave me, the other setup was my own with an S33 modem.
I've ordered a new coax cable to see if maybe that might be it, but I'm not hopeful.

PS: The encoding lag in the log is expected. I do something at the end of the stream very briefly which always incurs that.
PSPS: Some streams are worse than others, some times, we'll have 10+ lag sessions, sometimes, we'll have 2.

Does anyone have any ideas? I'm willing to try absolutely anything at this point.
 

Attachments

  • 2024-10-02 17-53-37.txt
    547.7 KB · Views: 13

qhobbes

Active Member
You got 3 streams going:
6160 twitch stream with Dynamic Bitrate
6320 YouTube vertical stream
14320 Aitum YouTube stream
That's 26,800 total
Your YouTube streams are dropping the frames because Dynamic Bitrate only works on the main stream.

I would get rid of your vertical stream and tell you viewers to hold their phones sideways.

Dropped frames are only caused by a failure in your internet connection or your networking hardware. They are not caused by OBS. Follow the troubleshooting steps at: Dropped Frames and General Connection Issues.
 

JWweather829

New Member
I've had the same issue with Xfinity for 2 years now. This mostly started after my area had a huge storm and knocked out most of the cities power. I can't run a simple 4000kbps stream 24/7 without an occasional segment of the stream dropping out (0kbps for 2-3 mins) or even the internet going out completely for 5+ mins. It's really frustrating and I've tried and tried again to find the issue. I've tried allowing rtsp port in firewall, all the network settings in obs, new coax cable from the main line, new router, nothing has worked so far.

I did read a forum recently of a guy with this issue and the problem was he was connected to a line with 500 customers. Gas stations, supermarkets, offices, etc and that was causing the dropped network frames for him. He got comcast to switch him to a line of only 50 customers and he says he's had 0 dropped network frames since then. If this issue isn't solved for me by 2025 I am going to try that method. Make sure to be clear with your issue to try and get xfinity to get you on a call for an engineer that knows what you're talking about. If you pay for the ordinary tech visits they're just going to test your speeds and say you're all good. But this is an RTMP issue so again be clear with that.

I also notice the times of dropped network frames are mostly during weekends and midday on weekdays. I assume this is because the network is overloaded with customers watching tv (tv is mostly online nowadays), using smartphones on wifi, gaming, etc. Hope we can find a solid solution in the very near future!
 
You got 3 streams going:
6160 twitch stream with Dynamic Bitrate
6320 YouTube vertical stream
14320 Aitum YouTube stream
That's 26,800 total
Your YouTube streams are dropping the frames because Dynamic Bitrate only works on the main stream.

I would get rid of your vertical stream and tell you viewers to hold their phones sideways.

Dropped frames are only caused by a failure in your internet connection or your networking hardware. They are not caused by OBS. Follow the troubleshooting steps at: Dropped Frames and General Connection Issues.
I'm not sure why the log would say that. I only have two: Twitch at 6k, and Youtube (landscape) at 14k.
that's 20mbs. I have 250 upload.

Not to mention, Youtube is actually a better viewing experience when the lag sessions hit because Youtube reduces frame rate instead of bitrate, which is a much more tolerable viewing experience.
 

qhobbes

Active Member
You don't have 250 RTMPS upload to YouTube or twitch. Upon further review, it appears your twitch stream has 2 audio tracks at 160 so the total is 26,960. Your log clearly shows 3 streams. You can see the start and endings of each below. You can see the twitch stream got down to 100 multiple times, but it didn't dropped any rendered frames.
twitch
Code:
19:05:18.541: [obs-nvenc: 'advanced_video_stream'] settings:
19:05:18.541:     codec:        H264
19:05:18.541:     rate_control: CBR
19:05:18.541:     bitrate:      6000
19:05:18.541:     cqp:          20
19:05:18.541:     keyint:       120
19:05:18.541:     preset:       p5
19:05:18.541:     tuning:       hq
19:05:18.541:     multipass:    qres
19:05:18.541:     profile:      high
19:05:18.541:     width:        1920
19:05:18.541:     height:       1080
19:05:18.541:     b-frames:     2
19:05:18.541:     lookahead:    false
19:05:18.541:     psycho_aq:    true
19:05:18.541:
19:05:18.637: ---------------------------------
19:05:18.637: [FFmpeg aac encoder: 'adv_stream_audio'] bitrate: 160, channels: 2, channel_layout: stereo
19:05:18.637:
19:05:18.639: ---------------------------------
19:05:18.639: [FFmpeg aac encoder: 'adv_archive_audio'] bitrate: 160, channels: 2, channel_layout: stereo
19:05:18.639:
19:05:18.639: [rtmp stream: 'adv_stream'] Dynamic bitrate enabled.  Dropped frames begone!
19:05:18.639: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://usw20.contribute.live-video.net/app...
19:05:18.669: [rtmp stream: 'adv_stream'] Interface: Intel(R) Ethernet Connection (7) I219-V (ethernet, 1000↓/1000↑ mbps)
19:05:19.627: [rtmp stream: 'adv_stream'] Connection to rtmp://usw20.contribute.live-video.net/app (54.244.42.219) successful
19:05:19.627: [rtmp stream: 'adv_stream'] Socket send buffer is 65536 bytes
19:05:19.636: ==== Streaming Start ===============================================
...
21:24:32.392: [rtmp stream: 'adv_stream'] bitrate decreased to: 100
...
21:24:36.396: [rtmp stream: 'adv_stream'] bitrate decreased to: 100
...
21:24:40.413: [rtmp stream: 'adv_stream'] bitrate decreased to: 100
...
23:19:47.119: [rtmp stream: 'adv_stream'] User stopped the stream
23:19:47.119: [rtmp stream: 'adv_stream'] Socket send buffer is 1048576 bytes
23:19:47.119: Output 'adv_stream': stopping
23:19:47.119: Output 'adv_stream': Total frames output: 915256
23:19:47.119: Output 'adv_stream': Total drawn frames: 914894 (916108 attempted)
23:19:47.119: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 1214 (0.1%)
23:19:47.120: [rtmp stream: 'adv_stream'] Freeing 1 remaining packets
23:19:47.120: Video stopped, number of skipped frames due to encoding lag: 3155/915269 (0.3%)

YouTube Vertical Canvas
Code:
19:05:19.668: [obs-nvenc: 'vertical_canvas_video_encoder'] settings:
19:05:19.668:     codec:        H264
19:05:19.668:     rate_control: CBR
19:05:19.668:     bitrate:      6000
19:05:19.668:     cqp:          20
19:05:19.668:     keyint:       250
19:05:19.668:     preset:       p5
19:05:19.668:     tuning:       hq
19:05:19.668:     multipass:    qres
19:05:19.668:     profile:      high
19:05:19.668:     width:        1080
19:05:19.668:     height:       1920
19:05:19.668:     b-frames:     2
19:05:19.668:     lookahead:    false
19:05:19.668:     psycho_aq:    true
19:05:19.668:
19:05:19.737: ---------------------------------
19:05:19.738: [FFmpeg aac encoder: 'vertical_canvas_audio_encoder'] bitrate: 320, channels: 2, channel_layout: stereo
19:05:19.738:
19:05:19.738: [rtmp stream: 'vertical_canvas_stream_YT SHORTS'] Connecting to RTMP URL rtmp://x.rtmp.youtube.com/live2...
19:05:19.765: [rtmp stream: 'vertical_canvas_stream_YT SHORTS'] Interface: Intel(R) Ethernet Connection (7) I219-V (ethernet, 1000↓/1000↑ mbps)
19:05:20.000: [rtmp stream: 'vertical_canvas_stream_YT SHORTS'] Connection to rtmp://x.rtmp.youtube.com/live2 (2607:f8b0:4006:821::200c) successful
19:05:20.001: [rtmp stream: 'vertical_canvas_stream_YT SHORTS'] Socket send buffer is 65536 bytes
...
23:19:46.699: ==== Shutting down ==================================================
23:19:46.772: [Vertical Canvas] Saved settings
23:19:46.778: [rtmp stream: 'vertical_canvas_stream_YT SHORTS'] User stopped the stream
23:19:46.778: [rtmp stream: 'vertical_canvas_stream_YT SHORTS'] Socket send buffer is 1048576 bytes
23:19:46.778: Output 'vertical_canvas_stream_YT SHORTS': stopping
23:19:46.778: Output 'vertical_canvas_stream_YT SHORTS': Total frames output: 914576 (915246 attempted)
23:19:46.778: Output 'vertical_canvas_stream_YT SHORTS': Total drawn frames: 914809 (916023 attempted)
23:19:46.778: Output 'vertical_canvas_stream_YT SHORTS': Number of lagged frames due to rendering lag/stalls: 1214 (0.1%)
23:19:46.778: Output 'vertical_canvas_stream_YT SHORTS': Number of dropped frames due to insufficient bandwidth/connection stalls: 670 (0.1%)
23:19:46.779: Video stopped, number of skipped frames due to encoding lag: 3144/915258 (0.3%)

Aitum Multi Video YouTube Output
Code:
19:16:20.770: [obs-nvenc: 'aitum_multi_video_encoder_YouTube Output'] settings:
19:16:20.770:     codec:        H264
19:16:20.770:     rate_control: CBR
19:16:20.770:     bitrate:      14000
19:16:20.770:     cqp:          20
19:16:20.770:     keyint:       250
19:16:20.770:     preset:       p5
19:16:20.770:     tuning:       hq
19:16:20.770:     multipass:    qres
19:16:20.770:     profile:      high
19:16:20.770:     width:        2560
19:16:20.770:     height:       1440
19:16:20.770:     b-frames:     2
19:16:20.770:     lookahead:    false
19:16:20.770:     psycho_aq:    true
19:16:20.770:
19:16:20.848: ---------------------------------
19:16:20.848: [FFmpeg aac encoder: 'aitum_multi_audio_encoder_YouTube Output'] bitrate: 320, channels: 2, channel_layout: stereo
19:16:20.848:
19:16:20.849: [rtmp stream: 'aitum_multi_output_YouTube Output'] Connecting to RTMP URL rtmps://a.rtmps.youtube.com:443/live2...
19:16:20.892: [rtmp stream: 'aitum_multi_output_YouTube Output'] Interface: Intel(R) Ethernet Connection (7) I219-V (ethernet, 1000↓/1000↑ mbps)
19:16:21.252: [rtmp stream: 'aitum_multi_output_YouTube Output'] Connection to rtmps://a.rtmps.youtube.com:443/live2 (2607:f8b0:4006:806::200c) successful
19:16:21.253: [rtmp stream: 'aitum_multi_output_YouTube Output'] Socket send buffer is 65536 bytes
...
23:19:47.335: [rtmp stream: 'aitum_multi_output_YouTube Output'] User stopped the stream
23:19:47.335: [rtmp stream: 'aitum_multi_output_YouTube Output'] Socket send buffer is 2097152 bytes
23:19:47.335: Output 'aitum_multi_output_YouTube Output': stopping
23:19:47.335: Output 'aitum_multi_output_YouTube Output': Total frames output: 873945 (875552 attempted)
23:19:47.335: Output 'aitum_multi_output_YouTube Output': Total drawn frames: 875181 (876389 attempted)
23:19:47.335: Output 'aitum_multi_output_YouTube Output': Number of lagged frames due to rendering lag/stalls: 1208 (0.1%)
23:19:47.335: Output 'aitum_multi_output_YouTube Output': Number of dropped frames due to insufficient bandwidth/connection stalls: 1607 (0.2%)
23:19:47.335: Video stopped, number of skipped frames due to encoding lag: 3124/875565 (0.4%)
 
Last edited:
You don't have 250 RTMPS upload to YouTube or twitch. Upon further review, it appears your twitch stream has 2 audio tracks at 160 so the total is 26,960. Your log clearly shows 3 streams. You can see the start and endings of each below. You can see the twitch stream got down to 100 multiple times, but it didn't dropped any rendered frames.
twitch
Code:
19:05:18.541: [obs-nvenc: 'advanced_video_stream'] settings:
19:05:18.541:     codec:        H264
19:05:18.541:     rate_control: CBR
19:05:18.541:     bitrate:      6000
19:05:18.541:     cqp:          20
19:05:18.541:     keyint:       120
19:05:18.541:     preset:       p5
19:05:18.541:     tuning:       hq
19:05:18.541:     multipass:    qres
19:05:18.541:     profile:      high
19:05:18.541:     width:        1920
19:05:18.541:     height:       1080
19:05:18.541:     b-frames:     2
19:05:18.541:     lookahead:    false
19:05:18.541:     psycho_aq:    true
19:05:18.541:
19:05:18.637: ---------------------------------
19:05:18.637: [FFmpeg aac encoder: 'adv_stream_audio'] bitrate: 160, channels: 2, channel_layout: stereo
19:05:18.637:
19:05:18.639: ---------------------------------
19:05:18.639: [FFmpeg aac encoder: 'adv_archive_audio'] bitrate: 160, channels: 2, channel_layout: stereo
19:05:18.639:
19:05:18.639: [rtmp stream: 'adv_stream'] Dynamic bitrate enabled.  Dropped frames begone!
19:05:18.639: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://usw20.contribute.live-video.net/app...
19:05:18.669: [rtmp stream: 'adv_stream'] Interface: Intel(R) Ethernet Connection (7) I219-V (ethernet, 1000↓/1000↑ mbps)
19:05:19.627: [rtmp stream: 'adv_stream'] Connection to rtmp://usw20.contribute.live-video.net/app (54.244.42.219) successful
19:05:19.627: [rtmp stream: 'adv_stream'] Socket send buffer is 65536 bytes
19:05:19.636: ==== Streaming Start ===============================================
...
21:24:32.392: [rtmp stream: 'adv_stream'] bitrate decreased to: 100
...
21:24:36.396: [rtmp stream: 'adv_stream'] bitrate decreased to: 100
...
21:24:40.413: [rtmp stream: 'adv_stream'] bitrate decreased to: 100
...
23:19:47.119: [rtmp stream: 'adv_stream'] User stopped the stream
23:19:47.119: [rtmp stream: 'adv_stream'] Socket send buffer is 1048576 bytes
23:19:47.119: Output 'adv_stream': stopping
23:19:47.119: Output 'adv_stream': Total frames output: 915256
23:19:47.119: Output 'adv_stream': Total drawn frames: 914894 (916108 attempted)
23:19:47.119: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 1214 (0.1%)
23:19:47.120: [rtmp stream: 'adv_stream'] Freeing 1 remaining packets
23:19:47.120: Video stopped, number of skipped frames due to encoding lag: 3155/915269 (0.3%)

YouTube Vertical Canvas
Code:
19:05:19.668: [obs-nvenc: 'vertical_canvas_video_encoder'] settings:
19:05:19.668:     codec:        H264
19:05:19.668:     rate_control: CBR
19:05:19.668:     bitrate:      6000
19:05:19.668:     cqp:          20
19:05:19.668:     keyint:       250
19:05:19.668:     preset:       p5
19:05:19.668:     tuning:       hq
19:05:19.668:     multipass:    qres
19:05:19.668:     profile:      high
19:05:19.668:     width:        1080
19:05:19.668:     height:       1920
19:05:19.668:     b-frames:     2
19:05:19.668:     lookahead:    false
19:05:19.668:     psycho_aq:    true
19:05:19.668:
19:05:19.737: ---------------------------------
19:05:19.738: [FFmpeg aac encoder: 'vertical_canvas_audio_encoder'] bitrate: 320, channels: 2, channel_layout: stereo
19:05:19.738:
19:05:19.738: [rtmp stream: 'vertical_canvas_stream_YT SHORTS'] Connecting to RTMP URL rtmp://x.rtmp.youtube.com/live2...
19:05:19.765: [rtmp stream: 'vertical_canvas_stream_YT SHORTS'] Interface: Intel(R) Ethernet Connection (7) I219-V (ethernet, 1000↓/1000↑ mbps)
19:05:20.000: [rtmp stream: 'vertical_canvas_stream_YT SHORTS'] Connection to rtmp://x.rtmp.youtube.com/live2 (2607:f8b0:4006:821::200c) successful
19:05:20.001: [rtmp stream: 'vertical_canvas_stream_YT SHORTS'] Socket send buffer is 65536 bytes
...
23:19:46.699: ==== Shutting down ==================================================
23:19:46.772: [Vertical Canvas] Saved settings
23:19:46.778: [rtmp stream: 'vertical_canvas_stream_YT SHORTS'] User stopped the stream
23:19:46.778: [rtmp stream: 'vertical_canvas_stream_YT SHORTS'] Socket send buffer is 1048576 bytes
23:19:46.778: Output 'vertical_canvas_stream_YT SHORTS': stopping
23:19:46.778: Output 'vertical_canvas_stream_YT SHORTS': Total frames output: 914576 (915246 attempted)
23:19:46.778: Output 'vertical_canvas_stream_YT SHORTS': Total drawn frames: 914809 (916023 attempted)
23:19:46.778: Output 'vertical_canvas_stream_YT SHORTS': Number of lagged frames due to rendering lag/stalls: 1214 (0.1%)
23:19:46.778: Output 'vertical_canvas_stream_YT SHORTS': Number of dropped frames due to insufficient bandwidth/connection stalls: 670 (0.1%)
23:19:46.779: Video stopped, number of skipped frames due to encoding lag: 3144/915258 (0.3%)

Aitum Multi Video YouTube Output
Code:
19:16:20.770: [obs-nvenc: 'aitum_multi_video_encoder_YouTube Output'] settings:
19:16:20.770:     codec:        H264
19:16:20.770:     rate_control: CBR
19:16:20.770:     bitrate:      14000
19:16:20.770:     cqp:          20
19:16:20.770:     keyint:       250
19:16:20.770:     preset:       p5
19:16:20.770:     tuning:       hq
19:16:20.770:     multipass:    qres
19:16:20.770:     profile:      high
19:16:20.770:     width:        2560
19:16:20.770:     height:       1440
19:16:20.770:     b-frames:     2
19:16:20.770:     lookahead:    false
19:16:20.770:     psycho_aq:    true
19:16:20.770:
19:16:20.848: ---------------------------------
19:16:20.848: [FFmpeg aac encoder: 'aitum_multi_audio_encoder_YouTube Output'] bitrate: 320, channels: 2, channel_layout: stereo
19:16:20.848:
19:16:20.849: [rtmp stream: 'aitum_multi_output_YouTube Output'] Connecting to RTMP URL rtmps://a.rtmps.youtube.com:443/live2...
19:16:20.892: [rtmp stream: 'aitum_multi_output_YouTube Output'] Interface: Intel(R) Ethernet Connection (7) I219-V (ethernet, 1000↓/1000↑ mbps)
19:16:21.252: [rtmp stream: 'aitum_multi_output_YouTube Output'] Connection to rtmps://a.rtmps.youtube.com:443/live2 (2607:f8b0:4006:806::200c) successful
19:16:21.253: [rtmp stream: 'aitum_multi_output_YouTube Output'] Socket send buffer is 65536 bytes
...
23:19:47.335: [rtmp stream: 'aitum_multi_output_YouTube Output'] User stopped the stream
23:19:47.335: [rtmp stream: 'aitum_multi_output_YouTube Output'] Socket send buffer is 2097152 bytes
23:19:47.335: Output 'aitum_multi_output_YouTube Output': stopping
23:19:47.335: Output 'aitum_multi_output_YouTube Output': Total frames output: 873945 (875552 attempted)
23:19:47.335: Output 'aitum_multi_output_YouTube Output': Total drawn frames: 875181 (876389 attempted)
23:19:47.335: Output 'aitum_multi_output_YouTube Output': Number of lagged frames due to rendering lag/stalls: 1208 (0.1%)
23:19:47.335: Output 'aitum_multi_output_YouTube Output': Number of dropped frames due to insufficient bandwidth/connection stalls: 1607 (0.2%)
23:19:47.335: Video stopped, number of skipped frames due to encoding lag: 3124/875565 (0.4%)
Interesting, I do use Aitum mulistream to stream to twitch and YT - but I'm not intending on streaming to any vertical source. I'm not sure why it would pushing that, maybe some sort of auto live setting within Aitum.

However, I'd done test streams with brand new OBS installs (no plugins) with one stream going of 6,000 bitrate. Problem still happens.

I'm not sure what you mean by "You don't have 250 RTMPS upload to YouTube or twitch", but I believe with 300mbps upload, my internet should be able to flawlessly be live even at 3 streams totaling 27,000 kbps.
 

JWweather829

New Member
I have come up with a solution for this issue. It's working for me anyways. In the Xfinity Xfi app, go to port forwarding settings (which is in the advanced settings), and forward the RTMP port for the device you're using to live stream to youtube. RTMP port number is 1935 and select tcp/udp for port type. I did a 14 hour test stream to youtube 5000 bitrate and 0 dropped frames. Going to do several more test streams to make sure this is a permanent solution. Let me know if it works for you.
 
I have come up with a solution for this issue. It's working for me anyways. In the Xfinity Xfi app, go to port forwarding settings (which is in the advanced settings), and forward the RTMP port for the device you're using to live stream to youtube. RTMP port number is 1935 and select tcp/udp for port type. I did a 14 hour test stream to youtube 5000 bitrate and 0 dropped frames. Going to do several more test streams to make sure this is a permanent solution. Let me know if it works for you.
Let me know if this has continued to work for you. I'm STILL struggling nearly every stream with this same problem.
 

Benman2785

Member
just built your "own" streaming server (root)with nginx and rtmp module that pushes your streams to twitch, youtube, facebook and other sites
= your reduced bandwidth will take TCP pacing stress from your Network and will minimize dropped frames due to network

if you pay some cash each month your root-server will even be able to re-encode your 20mbit/s stream to fit each sites limitation: twitch 6000 vs youtube 9000 etc
 
You don't have 250 RTMPS upload to YouTube or twitch. Upon further review, it appears your twitch stream has 2 audio tracks at 160 so the total is 26,960. Your log clearly shows 3 streams. You can see the start and endings of each below. You can see the twitch stream got down to 100 multiple times, but it didn't dropped any rendered frames.
twitch
Code:
19:05:18.541: [obs-nvenc: 'advanced_video_stream'] settings:
19:05:18.541:     codec:        H264
19:05:18.541:     rate_control: CBR
19:05:18.541:     bitrate:      6000
19:05:18.541:     cqp:          20
19:05:18.541:     keyint:       120
19:05:18.541:     preset:       p5
19:05:18.541:     tuning:       hq
19:05:18.541:     multipass:    qres
19:05:18.541:     profile:      high
19:05:18.541:     width:        1920
19:05:18.541:     height:       1080
19:05:18.541:     b-frames:     2
19:05:18.541:     lookahead:    false
19:05:18.541:     psycho_aq:    true
19:05:18.541:
19:05:18.637: ---------------------------------
19:05:18.637: [FFmpeg aac encoder: 'adv_stream_audio'] bitrate: 160, channels: 2, channel_layout: stereo
19:05:18.637:
19:05:18.639: ---------------------------------
19:05:18.639: [FFmpeg aac encoder: 'adv_archive_audio'] bitrate: 160, channels: 2, channel_layout: stereo
19:05:18.639:
19:05:18.639: [rtmp stream: 'adv_stream'] Dynamic bitrate enabled.  Dropped frames begone!
19:05:18.639: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://usw20.contribute.live-video.net/app...
19:05:18.669: [rtmp stream: 'adv_stream'] Interface: Intel(R) Ethernet Connection (7) I219-V (ethernet, 1000↓/1000↑ mbps)
19:05:19.627: [rtmp stream: 'adv_stream'] Connection to rtmp://usw20.contribute.live-video.net/app (54.244.42.219) successful
19:05:19.627: [rtmp stream: 'adv_stream'] Socket send buffer is 65536 bytes
19:05:19.636: ==== Streaming Start ===============================================
...
21:24:32.392: [rtmp stream: 'adv_stream'] bitrate decreased to: 100
...
21:24:36.396: [rtmp stream: 'adv_stream'] bitrate decreased to: 100
...
21:24:40.413: [rtmp stream: 'adv_stream'] bitrate decreased to: 100
...
23:19:47.119: [rtmp stream: 'adv_stream'] User stopped the stream
23:19:47.119: [rtmp stream: 'adv_stream'] Socket send buffer is 1048576 bytes
23:19:47.119: Output 'adv_stream': stopping
23:19:47.119: Output 'adv_stream': Total frames output: 915256
23:19:47.119: Output 'adv_stream': Total drawn frames: 914894 (916108 attempted)
23:19:47.119: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 1214 (0.1%)
23:19:47.120: [rtmp stream: 'adv_stream'] Freeing 1 remaining packets
23:19:47.120: Video stopped, number of skipped frames due to encoding lag: 3155/915269 (0.3%)

YouTube Vertical Canvas
Code:
19:05:19.668: [obs-nvenc: 'vertical_canvas_video_encoder'] settings:
19:05:19.668:     codec:        H264
19:05:19.668:     rate_control: CBR
19:05:19.668:     bitrate:      6000
19:05:19.668:     cqp:          20
19:05:19.668:     keyint:       250
19:05:19.668:     preset:       p5
19:05:19.668:     tuning:       hq
19:05:19.668:     multipass:    qres
19:05:19.668:     profile:      high
19:05:19.668:     width:        1080
19:05:19.668:     height:       1920
19:05:19.668:     b-frames:     2
19:05:19.668:     lookahead:    false
19:05:19.668:     psycho_aq:    true
19:05:19.668:
19:05:19.737: ---------------------------------
19:05:19.738: [FFmpeg aac encoder: 'vertical_canvas_audio_encoder'] bitrate: 320, channels: 2, channel_layout: stereo
19:05:19.738:
19:05:19.738: [rtmp stream: 'vertical_canvas_stream_YT SHORTS'] Connecting to RTMP URL rtmp://x.rtmp.youtube.com/live2...
19:05:19.765: [rtmp stream: 'vertical_canvas_stream_YT SHORTS'] Interface: Intel(R) Ethernet Connection (7) I219-V (ethernet, 1000↓/1000↑ mbps)
19:05:20.000: [rtmp stream: 'vertical_canvas_stream_YT SHORTS'] Connection to rtmp://x.rtmp.youtube.com/live2 (2607:f8b0:4006:821::200c) successful
19:05:20.001: [rtmp stream: 'vertical_canvas_stream_YT SHORTS'] Socket send buffer is 65536 bytes
...
23:19:46.699: ==== Shutting down ==================================================
23:19:46.772: [Vertical Canvas] Saved settings
23:19:46.778: [rtmp stream: 'vertical_canvas_stream_YT SHORTS'] User stopped the stream
23:19:46.778: [rtmp stream: 'vertical_canvas_stream_YT SHORTS'] Socket send buffer is 1048576 bytes
23:19:46.778: Output 'vertical_canvas_stream_YT SHORTS': stopping
23:19:46.778: Output 'vertical_canvas_stream_YT SHORTS': Total frames output: 914576 (915246 attempted)
23:19:46.778: Output 'vertical_canvas_stream_YT SHORTS': Total drawn frames: 914809 (916023 attempted)
23:19:46.778: Output 'vertical_canvas_stream_YT SHORTS': Number of lagged frames due to rendering lag/stalls: 1214 (0.1%)
23:19:46.778: Output 'vertical_canvas_stream_YT SHORTS': Number of dropped frames due to insufficient bandwidth/connection stalls: 670 (0.1%)
23:19:46.779: Video stopped, number of skipped frames due to encoding lag: 3144/915258 (0.3%)

Aitum Multi Video YouTube Output
Code:
19:16:20.770: [obs-nvenc: 'aitum_multi_video_encoder_YouTube Output'] settings:
19:16:20.770:     codec:        H264
19:16:20.770:     rate_control: CBR
19:16:20.770:     bitrate:      14000
19:16:20.770:     cqp:          20
19:16:20.770:     keyint:       250
19:16:20.770:     preset:       p5
19:16:20.770:     tuning:       hq
19:16:20.770:     multipass:    qres
19:16:20.770:     profile:      high
19:16:20.770:     width:        2560
19:16:20.770:     height:       1440
19:16:20.770:     b-frames:     2
19:16:20.770:     lookahead:    false
19:16:20.770:     psycho_aq:    true
19:16:20.770:
19:16:20.848: ---------------------------------
19:16:20.848: [FFmpeg aac encoder: 'aitum_multi_audio_encoder_YouTube Output'] bitrate: 320, channels: 2, channel_layout: stereo
19:16:20.848:
19:16:20.849: [rtmp stream: 'aitum_multi_output_YouTube Output'] Connecting to RTMP URL rtmps://a.rtmps.youtube.com:443/live2...
19:16:20.892: [rtmp stream: 'aitum_multi_output_YouTube Output'] Interface: Intel(R) Ethernet Connection (7) I219-V (ethernet, 1000↓/1000↑ mbps)
19:16:21.252: [rtmp stream: 'aitum_multi_output_YouTube Output'] Connection to rtmps://a.rtmps.youtube.com:443/live2 (2607:f8b0:4006:806::200c) successful
19:16:21.253: [rtmp stream: 'aitum_multi_output_YouTube Output'] Socket send buffer is 65536 bytes
...
23:19:47.335: [rtmp stream: 'aitum_multi_output_YouTube Output'] User stopped the stream
23:19:47.335: [rtmp stream: 'aitum_multi_output_YouTube Output'] Socket send buffer is 2097152 bytes
23:19:47.335: Output 'aitum_multi_output_YouTube Output': stopping
23:19:47.335: Output 'aitum_multi_output_YouTube Output': Total frames output: 873945 (875552 attempted)
23:19:47.335: Output 'aitum_multi_output_YouTube Output': Total drawn frames: 875181 (876389 attempted)
23:19:47.335: Output 'aitum_multi_output_YouTube Output': Number of lagged frames due to rendering lag/stalls: 1208 (0.1%)
23:19:47.335: Output 'aitum_multi_output_YouTube Output': Number of dropped frames due to insufficient bandwidth/connection stalls: 1607 (0.2%)
23:19:47.335: Video stopped, number of skipped frames due to encoding lag: 3124/875565 (0.4%)
BTW, this was a great shout. The Aitum Vertical plugin had a setting enabled that set the live stream to start whenever the main OBS stream started.

Now, that hasn't fixed my issue, I'm still dropping frames every stream. But this was still a great call!
 
just built your "own" streaming server (root)with nginx and rtmp module that pushes your streams to twitch, youtube, facebook and other sites
= your reduced bandwidth will take TCP pacing stress from your Network and will minimize dropped frames due to network

if you pay some cash each month your root-server will even be able to re-encode your 20mbit/s stream to fit each sites limitation: twitch 6000 vs youtube 9000 etc
I'll be honest with you - just building my own streaming server so I can stream without dropping frames seems both completely out of my wheelhouse, while also, what should be, completely unnecessary.
 
FrogSpawns - please provide an speedtest.net result for the location you are streaming too
3f02240a946cd587c8ec14c5ffdf5b0f.png
 
now start all your streams and show CPU and RAM load - and if you are using HWenc also load on video encoder
Respectfully, I have a i5-8600K and a 3080 in a dedicated streaming PC. This is not a resource problem, whatsoever. Also, dropped frames in OBS do not signal resource errors. They only signal network errors.
 

Benman2785

Member
...your resource errors could be either a limited bandwidth or to high loss, to much latency-intense work for your networkcard (that cant be handled "in time"), to high peaks for your bandwidth (3 streams á 20mbit can see peaks of combined 50mbit/s)
 
Top