Random bitrate dips during stream. Caused by Enhanced Broadcasting?

Valdevia

New Member
Hey there!
Twice in the past week, I've had my stream bitrate suddenly drop for a minute or two, long enough for the Twitch broadcast to drop out entirely, while my internet was in perfect health. In this last stream, it happened twice. I have a feeling it might be associated with Enhanced Broadcasting since it's the only recent change I've made to my OBS setup.
I have attached the relevant Log File. Crashes happen at 6:25:29 and 7:07:58. I don't quite understand what the problem is but it looks to be related to the multitrack video encoding. Can someone help me make sense of it? Here's the relevant section from the first crash:

06:25:39.257: WriteN, RTMP send error 10054 (3844 bytes)
06:25:39.257: WriteN, RTMP send error 10038 (629 bytes)
06:25:39.257: WriteN, RTMP send error 10038 (42 bytes)
06:25:39.257: [rtmp stream: 'rtmp multitrack video'] Disconnected from rtmp://mad01.contribute.live-video.net/app
06:25:39.257: Output 'rtmp multitrack video': stopping
06:25:39.257: Output 'rtmp multitrack video': Total frames output: 2184318 (2197129 attempted)
06:25:39.258: Output 'rtmp multitrack video': Total drawn frames: 439431 (439499 attempted)
06:25:39.258: Output 'rtmp multitrack video': Number of lagged frames due to rendering lag/stalls: 68 (0.0%)
06:25:39.258: Output 'rtmp multitrack video': Number of dropped frames due to insufficient bandwidth/connection stalls: 12811 (0.6%)
06:25:39.258: Output 'rtmp multitrack video': Reconnecting in 2.00 seconds..
06:25:39.258: [rtmp stream: 'rtmp multitrack video'] Freeing 1257 remaining packets
06:25:39.259: Video stopped, number of skipped frames due to encoding lag: 68/439452 (0.0%)
06:25:39.367: [obs-browser: 'Chat StreamElements'] Error: TypeError: classString.split is not a function (https://streamelements.com/overlay/scripts/vendor.js:61333)
06:25:39.410: Video stopped, number of skipped frames due to encoding lag: 68/439456 (0.0%)
06:25:39.494: Video stopped, number of skipped frames due to encoding lag: 68/439459 (0.0%)
06:25:39.530: Video stopped, number of skipped frames due to encoding lag: 68/439460 (0.0%)
06:25:39.565: Video stopped, number of skipped frames due to encoding lag: 68/439461 (0.0%)
06:25:39.594: warning: 2 frames left in the queue on closing
06:25:41.301: [obs-nvenc: 'multitrack video video encoder 0'] settings:
06:25:41.301: codec: H264
06:25:41.301: rate_control: CBR
06:25:41.301: bitrate: 6000
06:25:41.301: cqp: 20
06:25:41.301: keyint: 60
06:25:41.301: preset: p6
06:25:41.301: tuning: hq
06:25:41.301: multipass: qres
06:25:41.301: profile: high
06:25:41.301: width: 1920
06:25:41.301: height: 1080
06:25:41.301: b-frames: 3
06:25:41.301: lookahead: true
06:25:41.301: psycho_aq: true
06:25:41.301:
06:25:41.375: NV12 texture support enabled
06:25:41.375: P010 texture support not available
06:25:41.377: [obs-nvenc] GPU scaling enabled
06:25:41.403: [obs-nvenc: 'multitrack video video encoder 1'] settings:
06:25:41.403: codec: H264
06:25:41.403: rate_control: CBR
06:25:41.403: bitrate: 2500
06:25:41.403: cqp: 20
06:25:41.403: keyint: 60
06:25:41.403: preset: p6
06:25:41.403: tuning: hq
06:25:41.403: multipass: qres
06:25:41.403: profile: high
06:25:41.403: width: 1280
06:25:41.403: height: 720
06:25:41.403: b-frames: 3
06:25:41.403: lookahead: true
06:25:41.403: psycho_aq: false
06:25:41.403:
06:25:41.448: NV12 texture support enabled
06:25:41.448: P010 texture support not available
06:25:41.449: [obs-nvenc] GPU scaling enabled
06:25:41.468: [obs-nvenc: 'multitrack video video encoder 2'] settings:
06:25:41.468: codec: H264
06:25:41.468: rate_control: CBR
06:25:41.468: bitrate: 1000
06:25:41.468: cqp: 20
06:25:41.468: keyint: 60
06:25:41.468: preset: p5
06:25:41.468: tuning: hq
06:25:41.468: multipass: qres
06:25:41.468: profile: high
06:25:41.468: width: 852
06:25:41.468: height: 480
06:25:41.468: b-frames: 3
06:25:41.468: lookahead: false
06:25:41.468: psycho_aq: false
06:25:41.468:
06:25:41.502: NV12 texture support enabled
06:25:41.502: P010 texture support not available
06:25:41.503: [obs-nvenc] GPU scaling enabled
06:25:41.521: [obs-nvenc: 'multitrack video video encoder 3'] settings:
06:25:41.521: codec: H264
06:25:41.521: rate_control: CBR
06:25:41.521: bitrate: 500
06:25:41.521: cqp: 20
06:25:41.521: keyint: 60
06:25:41.521: preset: p5
06:25:41.521: tuning: hq
06:25:41.521: multipass: qres
06:25:41.521: profile: main
06:25:41.521: width: 640
06:25:41.521: height: 360
06:25:41.521: b-frames: 3
06:25:41.521: lookahead: false
06:25:41.521: psycho_aq: false
06:25:41.521:
06:25:41.552: NV12 texture support enabled
06:25:41.552: P010 texture support not available
06:25:41.553: [obs-nvenc] GPU scaling enabled
06:25:41.573: [obs-nvenc: 'multitrack video video encoder 4'] settings:
06:25:41.573: codec: H264
06:25:41.573: rate_control: CBR
06:25:41.573: bitrate: 200
06:25:41.573: cqp: 20
06:25:41.573: keyint: 60
06:25:41.573: preset: p5
06:25:41.573: tuning: hq
06:25:41.573: multipass: qres
06:25:41.573: profile: main
06:25:41.573: width: 284
06:25:41.573: height: 160
06:25:41.573: b-frames: 3
06:25:41.573: lookahead: false
06:25:41.573: psycho_aq: false
06:25:41.573:
06:25:41.603: ---------------------------------
06:25:41.603: [FFmpeg aac encoder: 'multitrack video live audio 0'] bitrate: 160, channels: 2, channel_layout: stereo
06:25:41.603:
06:25:41.604: [rtmp stream: 'rtmp multitrack video'] Connecting to RTMP URL rtmp://mad01.contribute.live-video.net/app...
06:25:41.621: [rtmp stream: 'rtmp multitrack video'] Interface: Realtek Gaming 2.5GbE Family Controller (ethernet, 1000↓/1000↑ mbps)
06:25:43.352: [rtmp stream: 'rtmp multitrack video'] Connection to rtmp://mad01.contribute.live-video.net/app (52.223.197.221) successful
 

Attachments

  • 2024-09-25 02-01-05.txt
    145 KB · Views: 13

rockbottom

Active Member
Sure looks like it, dropped frames ranged from 0.6 to 1.8%. The last session had none. With the multi-stream, you're uploading roughly 12000kbps (12Mbps), double of just running a single stream.

Also, take a look at your log, there's a ton of SE errors & caption errors. They waste resources & should be fixed or removed.
 

Valdevia

New Member
Sure looks like it, dropped frames ranged from 0.6 to 1.8%. The last session had none. With the multi-stream, you're uploading roughly 12000kbps (12Mbps), double of just running a single stream.

Also, take a look at your log, there's a ton of SE errors & caption errors. They waste resources & should be fixed or removed.
Thank you for confirming it! I have no idea if the problem with it is on my end or theirs, but I'll turn off enhanced broadcasting for now and hope that helps.
About the other errors, do you have any clue of what they could be or how they could be fixed? I've tried tweaking the settings of the streamelements source to no avail
 

rockbottom

Active Member
Not really, I never used SE but they're mostly browser sources. You may need to check with their support. If they can't be fixed, they should be removed.
 
Top