samfisher5986
New Member
Hi Everyone
I've successfully run my nginx obs live stream locally but I've run into a problem.
There seems to be a chance, especially on first run that it will stop working after 5+ users connect and. Most of the time when I click "start live stream" again, it will keep going without issues and 15+ people can connect without issues. Its hard to make it happen on purpose though.
Nginx and OBS itself does not crash, but the live stream shows 0 kbps and a red icon, instead of 3000kbps and a green icon.
My keyframe interval is 2, my resolution is 720p and I have a lot of spare computer power (AMD 3900x and Nvidia 2060)
I feel like its something network related because it seems to happen when people join, its generally only using 40mbit of my 1000mbit gigabit lan connection though.
Has anyone run into anything similar? Is there something I can do to make it run more reliably?
I ran the "Tweak-Optimize tcpip parameters for nginx connections.reg" that came with it, but now I'm wondering if I should increase the limits higher, they already seem very high though.
-------
Here is my log for the period where it stopped working. It does show dropped frames, but some users are watching via wifi etc so that should be their end.
9:06:30 AM.646: [ffmpeg muxer: 'adv_file_output'] Output of file 'D:/OBS Recordings/2020-05-28 08-57-14.mkv' stopped
9:06:30 AM.646: Output 'adv_file_output': stopping
9:06:30 AM.646: Output 'adv_file_output': Total frames output: 16630
9:06:30 AM.646: Output 'adv_file_output': Total drawn frames: 16677
9:06:30 AM.647: ==== Recording Stop ================================================
9:06:30 AM.647: warning: 2 frames left in the queue on closing
9:06:34 AM.733: [rtmp stream: 'adv_stream'] User stopped the stream
9:06:34 AM.733: Output 'adv_stream': stopping
9:06:34 AM.733: Output 'adv_stream': Total frames output: 16443 (17712 attempted)
9:06:34 AM.733: Output 'adv_stream': Total drawn frames: 17749
9:06:34 AM.733: Output 'adv_stream': Number of dropped frames due to insufficient bandwidth/connection stalls: 1269 (7.2%)
9:06:34 AM.733: [rtmp stream: 'adv_stream'] Freeing 210 remaining packets
9:06:34 AM.737: ==== Streaming Stop ================================================
9:06:34 AM.770: warning: 2 frames left in the queue on closing
9:06:38 AM.490: ---------------------------------
9:06:38 AM.490: [x264 encoder: 'streaming_h264'] preset: veryfast
9:06:38 AM.490: [x264 encoder: 'streaming_h264'] settings:
9:06:38 AM.490: rate_control: CBR
9:06:38 AM.490: bitrate: 3000
9:06:38 AM.490: buffer size: 3000
9:06:38 AM.490: crf: 0
9:06:38 AM.490: fps_num: 30
9:06:38 AM.490: fps_den: 1
9:06:38 AM.490: width: 1280
9:06:38 AM.490: height: 720
9:06:38 AM.490: keyint: 60
9:06:38 AM.490:
9:06:38 AM.494: ---------------------------------
9:06:38 AM.494: [FFmpeg aac encoder: 'Track1'] bitrate: 160, channels: 2, channel_layout: 3
9:06:38 AM.494:
I've successfully run my nginx obs live stream locally but I've run into a problem.
There seems to be a chance, especially on first run that it will stop working after 5+ users connect and. Most of the time when I click "start live stream" again, it will keep going without issues and 15+ people can connect without issues. Its hard to make it happen on purpose though.
Nginx and OBS itself does not crash, but the live stream shows 0 kbps and a red icon, instead of 3000kbps and a green icon.
My keyframe interval is 2, my resolution is 720p and I have a lot of spare computer power (AMD 3900x and Nvidia 2060)
I feel like its something network related because it seems to happen when people join, its generally only using 40mbit of my 1000mbit gigabit lan connection though.
Has anyone run into anything similar? Is there something I can do to make it run more reliably?
I ran the "Tweak-Optimize tcpip parameters for nginx connections.reg" that came with it, but now I'm wondering if I should increase the limits higher, they already seem very high though.
-------
Here is my log for the period where it stopped working. It does show dropped frames, but some users are watching via wifi etc so that should be their end.
9:06:30 AM.646: [ffmpeg muxer: 'adv_file_output'] Output of file 'D:/OBS Recordings/2020-05-28 08-57-14.mkv' stopped
9:06:30 AM.646: Output 'adv_file_output': stopping
9:06:30 AM.646: Output 'adv_file_output': Total frames output: 16630
9:06:30 AM.646: Output 'adv_file_output': Total drawn frames: 16677
9:06:30 AM.647: ==== Recording Stop ================================================
9:06:30 AM.647: warning: 2 frames left in the queue on closing
9:06:34 AM.733: [rtmp stream: 'adv_stream'] User stopped the stream
9:06:34 AM.733: Output 'adv_stream': stopping
9:06:34 AM.733: Output 'adv_stream': Total frames output: 16443 (17712 attempted)
9:06:34 AM.733: Output 'adv_stream': Total drawn frames: 17749
9:06:34 AM.733: Output 'adv_stream': Number of dropped frames due to insufficient bandwidth/connection stalls: 1269 (7.2%)
9:06:34 AM.733: [rtmp stream: 'adv_stream'] Freeing 210 remaining packets
9:06:34 AM.737: ==== Streaming Stop ================================================
9:06:34 AM.770: warning: 2 frames left in the queue on closing
9:06:38 AM.490: ---------------------------------
9:06:38 AM.490: [x264 encoder: 'streaming_h264'] preset: veryfast
9:06:38 AM.490: [x264 encoder: 'streaming_h264'] settings:
9:06:38 AM.490: rate_control: CBR
9:06:38 AM.490: bitrate: 3000
9:06:38 AM.490: buffer size: 3000
9:06:38 AM.490: crf: 0
9:06:38 AM.490: fps_num: 30
9:06:38 AM.490: fps_den: 1
9:06:38 AM.490: width: 1280
9:06:38 AM.490: height: 720
9:06:38 AM.490: keyint: 60
9:06:38 AM.490:
9:06:38 AM.494: ---------------------------------
9:06:38 AM.494: [FFmpeg aac encoder: 'Track1'] bitrate: 160, channels: 2, channel_layout: 3
9:06:38 AM.494: