Random static on my AXIS camera live stream.

John Zapf

Member
I have OBS streaming AXIS camera live to YouTube 24/7. https://youtu.be/ITBYocvH8ZU
About every day or 2 I have to reboot the server to clear up static on the sound. I can't figure this out. OBS Studio is the only thing running on the Dell Power Edge 720. It's dedicated to the OBS Server. It hardly use any resources at all. Video card is a Geforce RTX 2080 super. It has 96 gigs of RAM.

I'm gonna attach the log file not sure if this is the right one. There's nothing in the crash report folder. This is kind of frustrating because it happens randomly and unless I check my streams I don't know the sound is all static.

Any ideas? Thanks
 

Attachments

  • 2024-08-16 14-01-23.txt
    47.8 KB · Views: 20
  • 2024-08-22 18-27-33.txt
    16.9 KB · Views: 12

John Zapf

Member
Here are some more log files. I am losing a lot of viewers because of this sound issue. Because it started again last night at 4:30 and I didn't know it was having an issue until 6:30 this morning. Nobody wants to watch it with the sound is crackly and distorted.

It's not coming from the camera it's something that happens in OBS

And there are no errors in windows event viewer.
 

Attachments

  • 2024-09-12 12-31-01.txt
    21.5 KB · Views: 11
  • 2024-09-12 13-27-57.txt
    26.5 KB · Views: 9
  • 2024-09-14 06-34-08.txt
    17.5 KB · Views: 11

John Zapf

Member
Anyone have any ideas, I have to keep checking the sound all day. here are some more log files.
 

Attachments

  • 2024-09-14 06-34-08.txt
    30 KB · Views: 11
  • 2024-09-16 06-49-59.txt
    25.6 KB · Views: 6
  • 2024-09-17 15-58-16.txt
    12.3 KB · Views: 14

rockbottom

Active Member
HAGS should be disabled. Run another test after it's disabled & post the log.

Rendering lag is GPU overload & the audio buffering indicates that your system is more than likely going through some periods of overload as well. Bandwidth, encoding issues too. Troubleshooting links below.

10:00:28.013: Output 'adv_stream': Total frames output: 4748876 (4749387 attempted)
10:00:28.013: Output 'adv_stream': Total drawn frames: 4749413 (4749437 attempted)
10:00:28.013: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 24 (0.0%)
10:00:28.013: Output 'adv_stream': Number of dropped frames due to insufficient bandwidth/connection stalls: 511 (0.0%)
10:00:28.013: Output 'adv_stream': Reconnecting in 2.00 seconds..
10:00:28.014: Video stopped, number of skipped frames due to encoding lag: 28/4749420 (0.0%)

18:26:37.329: Output 'adv_stream': stopping
18:26:37.329: Output 'adv_stream': Total frames output: 931 (1190 attempted)
18:26:37.329: Output 'adv_stream': Total drawn frames: 1262 (1372 attempted)
18:26:37.329: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 110 (8.0%)
18:26:37.329: Output 'adv_stream': Number of dropped frames due to insufficient bandwidth/connection stalls: 259 (21.8%)
18:26:37.338: Video stopped, number of skipped frames due to encoding lag: 120/1277 (9.4%)

17:40:01.176: Source Fountain Cam audio is lagging (over by 793.28 ms) at max audio buffering. Restarting source audio.
17:40:01.206: Source Fountain Cam audio is lagging (over by 793.27 ms) at max audio buffering. Restarting source audio.
17:40:01.222: Source Fountain Cam audio is lagging (over by 793.27 ms) at max audio buffering. Restarting source audio.
17:40:01.253: Source Fountain Cam audio is lagging (over by 793.27 ms) at max audio buffering. Restarting source audio.
17:40:01.269: Source Fountain Cam audio is lagging (over by 793.27 ms) at max audio buffering. Restarting source audio.
17:40:01.314: Source Fountain Cam audio is lagging (over by 793.27 ms) at max audio buffering. Restarting source audio.
17:40:01.345: Source Fountain Cam audio is lagging (over by 793.27 ms) at max audio buffering. Restarting source audio.
17:40:01.361: Source Fountain Cam audio is lagging (over by 793.27 ms) at max audio buffering. Restarting source audio.
17:40:01.407: Source Fountain Cam audio is lagging (over by 793.27 ms) at max audio buffering. Restarting source audio.
17:40:01.453: Source Fountain Cam audio is lagging (over by 793.27 ms) at max audio buffering. Restarting source audio.
17:40:01.485: Source Fountain Cam audio is lagging (over by 793.27 ms) at max audio buffering. Restarting source audio.
17:40:01.501: Source Fountain Cam audio is lagging (over by 793.27 ms) at max audio buffering. Restarting source audio.
17:40:01.548: Source Fountain Cam audio is lagging (over by 793.27 ms) at max audio buffering. Restarting source audio.
17:40:01.626: Source Fountain Cam audio is lagging (over by 793.27 ms) at max audio buffering. Restarting source audio.
17:40:01.642: Source Fountain Cam audio is lagging (over by 793.27 ms) at max audio buffering. Restarting source audio.
17:40:01.674: Source Fountain Cam audio is lagging (over by 793.27 ms) at max audio buffering. Restarting source audio.
17:40:01.720: Source Fountain Cam audio is lagging (over by 793.27 ms) at max audio buffering. Restarting source audio.
17:40:01.735: Source Fountain Cam audio is lagging (over by 793.27 ms) at max audio buffering. Restarting source audio.
17:40:01.782: Source Fountain Cam audio is lagging (over by 793.27 ms) at max audio buffering. Restarting source audio.
17:40:01.813: Source Fountain Cam audio is lagging (over by 793.27 ms) at max audio buffering. Restarting source audio.
17:40:01.829: Source Fountain Cam audio is lagging (over by 793.27 ms) at max audio buffering. Restarting source audio.
17:40:01.875: Source Fountain Cam audio is lagging (over by 793.27 ms) at max audio buffering. Restarting source audio.
17:40:01.922: Source Fountain Cam audio is lagging (over by 793.27 ms) at max audio buffering. Restarting source audio.
17:40:01.968: Source Fountain Cam audio is lagging (over by 793.27 ms) at max audio buffering. Restarting source audio.
17:40:02.013: Source Fountain Cam audio is lagging (over by 793.27 ms) at max audio buffering. Restarting source audio.
17:40:02.089: Source Fountain Cam audio is lagging (over by 793.27 ms) at max audio buffering. Restarting source audio.
17:40:02.104: Source Fountain Cam audio is lagging (over by 793.27 ms) at max audio buffering. Restarting source audio.
17:40:02.152: Source Fountain Cam audio is lagging (over by 793.27 ms) at max audio buffering. Restarting source audio.
17:40:02.184: Source Fountain Cam audio is lagging (over by 793.27 ms) at max audio buffering. Restarting source audio.
17:40:02.200: Source Fountain Cam audio is lagging (over by 793.27 ms) at max audio buffering. Restarting source audio.
17:40:02.246: Source Fountain Cam audio is lagging (over by 793.27 ms) at max audio buffering. Restarting source audio.
19:42:30.557: Last log entry repeated for 118 more lines

19:46:43.706: Source Fountain Cam audio is lagging (over by 54734751.15 ms) at max audio buffering. Restarting source audio.
20:12:26.474: Source Fountain Cam audio is lagging (over by 55203665.88 ms) at max audio buffering. Restarting source audio.
00:07:00.282: Source Feeder Cam audio is lagging (over by 37280907.86 ms) at max audio buffering. Restarting source audio.
09:21:41.462: Source Feeder Cam audio is lagging (over by 47378050.19 ms) at max audio buffering. Restarting source audio.
09:21:41.510: Source Feeder Cam audio is lagging (over by 47378073.41 ms) at max audio buffering. Restarting source audio.
14:24:28.113: Source Feeder Cam audio is lagging (over by 52891666.60 ms) at max audio buffering. Restarting source audio.
14:24:28.160: Source Feeder Cam audio is lagging (over by 52891689.82 ms) at max audio buffering. Restarting source audio.
14:24:28.175: Source Feeder Cam audio is lagging (over by 52891689.82 ms) at max audio buffering. Restarting source audio.
14:24:28.206: Source Feeder Cam audio is lagging (over by 52891689.82 ms) at max audio buffering. Restarting source audio.
14:24:28.252: Source Feeder Cam audio is lagging (over by 52891713.04 ms) at max audio buffering. Restarting source audio.
14:24:28.297: Source Feeder Cam audio is lagging (over by 52891736.26 ms) at max audio buffering. Restarting source audio.
15:20:50.899: Source Fountain Cam audio is lagging (over by 76108171.79 ms) at max audio buffering. Restarting source audio.
15:20:50.945: Source Fountain Cam audio is lagging (over by 76108148.57 ms) at max audio buffering. Restarting source audio.
15:20:50.994: Source Fountain Cam audio is lagging (over by 76108171.79 ms) at max audio buffering. Restarting source audio.
15:20:51.010: Source Fountain Cam audio is lagging (over by 76108171.79 ms) at max audio buffering. Restarting source audio.
15:20:51.040: Source Fountain Cam audio is lagging (over by 76108171.79 ms) at max audio buffering. Restarting source audio.
15:20:51.072: Source Fountain Cam audio is lagging (over by 76108195.01 ms) at max audio buffering. Restarting source audio.
15:20:51.103: Source Fountain Cam audio is lagging (over by 76108195.01 ms) at max audio buffering. Restarting source audio.
15:20:51.151: Source Fountain Cam audio is lagging (over by 76108218.23 ms) at max audio buffering. Restarting source audio.
15:20:51.199: Source Fountain Cam audio is lagging (over by 76108241.45 ms) at max audio buffering. Restarting source audio.
15:46:31.950: Source Olive Cam audio is lagging (over by 426.47 ms) at max audio buffering. Restarting source audio.
16:34:09.671: Source Olive Cam audio is lagging (over by 329184.25 ms) at max audio buffering. Restarting source audio.


 

rockbottom

Active Member
The 2690 is a fossil & is also a huge bottleneck for the 2080 Super. I believe you are seeing the results of that in your logs. GPU can do way more work than the CPU will allow & can get overwhelmed in the process.
 

rockbottom

Active Member
Encoding setting updates but you may need to think about 720p. Bit-rate is plenty high, I recommend zeroing those B frames for better quality. B-frames are for low bit-rate situations.

14:17:10.551: codec: HEVC
14:17:10.551: rate_control: CBR
14:17:10.551: bitrate: 18000 > 16000, lower if needed to eliminate the dropped frames.
14:17:10.551: cqp: 20
14:17:10.551: keyint: 60
14:17:10.551: preset: p7 > p5
14:17:10.551: tuning: hq
14:17:10.551: multipass: fullres > qres
14:17:10.551: profile: main
14:17:10.551: width: 1920
14:17:10.551: height: 1080
14:17:10.551: b-frames: 2 > 0
14:17:10.551: lookahead: true > false
14:17:10.551: psycho_aq: true > false
 

rockbottom

Active Member
Some logs have these java script errors. They can waste resources & there's not much room for waste.

14:24:16.357: [obs-browser: 'Weather'] Error: ApiRequest Error [object Object] (https://cdn.aerisapi.com/sdk/js/latest/aerisweather.min.js:9)
14:24:16.358: [obs-browser: 'Weather'] Error: Uncaught (in promise) TypeError: Cannot destructure property 'ob' of 'result.data' as it is null. (http://absolute/C:/Users/john/Desktop/OLIVE-FILES 07-20-24/camweather2.html:91)
14:24:32.016: Invalid socket settings: No such host is known. (11001). Are you trying to use IPv6 on an IPv4-only interface?
14:24:32.016: Output 'adv_stream': Reconnecting in 141.31 seconds..
14:24:32.017: [rtmp stream: 'adv_stream'] Connection to rtmps://a.rtmps.youtube.com:443/live2 failed: -2
14:25:16.444: [obs-browser: 'Weather'] Error: ApiRequest Error [object Object] (https://cdn.aerisapi.com/sdk/js/latest/aerisweather.min.js:9)
14:25:16.444: [obs-browser: 'Weather'] Error: Uncaught (in promise) TypeError: Cannot destructure property 'ob' of 'result.data' as it is null. (http://absolute/C:/Users/john/Desktop/OLIVE-FILES 07-20-24/camweather2.html:91)
14:26:16.493: [obs-browser: 'Weather'] Error: ApiRequest Error [object Object] (https://cdn.aerisapi.com/sdk/js/latest/aerisweather.min.js:9)
14:26:16.494: [obs-browser: 'Weather'] Error: ApiRequest Error [object Object] (https://cdn.aerisapi.com/sdk/js/latest/aerisweather.min.js:9)
14:26:16.495: [obs-browser: 'Weather'] Error: Uncaught (in promise) TypeError: Cannot destructure property 'ob' of 'result.data' as it is null. (http://absolute/C:/Users/john/Desktop/OLIVE-FILES 07-20-24/camweather2.html:91)
14:26:53.350: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmps://a.rtmps.youtube.com:443/live2...
14:26:53.359: [rtmp stream: 'adv_stream'] Binding to IPv4
14:27:15.191: [obs-browser: 'Weather'] Error: ApiRequest Error [object Object] (https://cdn.aerisapi.com/sdk/js/latest/aerisweather.min.js:9)
14:27:15.192: [obs-browser: 'Weather'] Error: ApiRequest Error [object Object] (https://cdn.aerisapi.com/sdk/js/latest/aerisweather.min.js:9)
14:27:15.192: [obs-browser: 'Weather'] Error: Uncaught (in promise) TypeError: Cannot destructure property 'ob' of 'result.data' as it is null. (http://absolute/C:/Users/john/Desktop/OLIVE-FILES 07-20-24/camweather2.html:91)
14:27:15.246: Invalid socket settings: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server. (11002). Are you trying to use IPv6 on an IPv4-only interface?
14:27:15.247: Output 'adv_stream': Reconnecting in 216.33 seconds..
14:27:15.247: [rtmp stream: 'adv_stream'] Connection to rtmps://a.rtmps.youtube.com:443/live2 failed: -2
14:28:16.662: [obs-browser: 'Weather'] Error: ApiRequest Error [object Object] (https://cdn.aerisapi.com/sdk/js/latest/aerisweather.min.js:9)
14:28:16.664: [obs-browser: 'Weather'] Error: ApiRequest Error [object Object] (https://cdn.aerisapi.com/sdk/js/latest/aerisweather.min.js:9)
14:28:16.664: [obs-browser: 'Weather'] Error: Uncaught (in promise) TypeError: Cannot destructure property 'ob' of 'result.data' as it is null. (http://absolute/C:/Users/john/Desktop/OLIVE-FILES 07-20-24/camweather2.html:91)
14:29:05.673: [obs-browser: 'Weather'] Error: ApiRequest Error [object Object] (https://cdn.aerisapi.com/sdk/js/latest/aerisweather.min.js:9)
14:29:05.674: [obs-browser: 'Weather'] Error: ApiRequest Error [object Object] (https://cdn.aerisapi.com/sdk/js/latest/aerisweather.min.js:9)
14:29:05.674: [obs-browser: 'Weather'] Error: Uncaught (in promise) TypeError: Cannot destructure property 'ob' of 'result.data' as it is null. (http://absolute/C:/Users/john/Desktop/OLIVE-FILES 07-20-24/camweather2.html:91)
14:30:16.790: [obs-browser: 'Weather'] Error: ApiRequest Error [object Object] (https://cdn.aerisapi.com/sdk/js/latest/aerisweather.min.js:9)
14:30:16.791: [obs-browser: 'Weather'] Error: ApiRequest Error [object Object] (https://cdn.aerisapi.com/sdk/js/latest/aerisweather.min.js:9)
14:30:16.792: [obs-browser: 'Weather'] Error: Uncaught (in promise) TypeError: Cannot destructure property 'ob' of 'result.data' as it is null. (http://absolute/C:/Users/john/Desktop/OLIVE-FILES 07-20-24/camweather2.html:91)
14:30:51.597: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmps://a.rtmps.youtube.com:443/live2...
14:30:51.605: [rtmp stream: 'adv_stream'] Binding to IPv4
14:31:13.083: Invalid socket settings: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server. (11002). Are you trying to use IPv6 on an IPv4-only interface?
14:31:13.083: Output 'adv_stream': Reconnecting in 331.18 seconds..
14:31:13.083: [rtmp stream: 'adv_stream'] Connection to rtmps://a.rtmps.youtube.com:443/live2 failed: -2
14:31:16.869: [obs-browser: 'Weather'] Error: ApiRequest Error [object Object] (https://cdn.aerisapi.com/sdk/js/latest/aerisweather.min.js:9)
14:31:16.871: [obs-browser: 'Weather'] Error: ApiRequest Error [object Object] (https://cdn.aerisapi.com/sdk/js/latest/aerisweather.min.js:9)
14:31:16.871: [obs-browser: 'Weather'] Error: Uncaught (in promise) TypeError: Cannot destructure property 'ob' of 'result.data' as it is null. (http://absolute/C:/Users/john/Desktop/OLIVE-FILES 07-20-24/camweather2.html:91)
14:32:16.056: [obs-browser: 'Weather'] Error: ApiRequest Error [object Object] (https://cdn.aerisapi.com/sdk/js/latest/aerisweather.min.js:9)
14:32:16.056: [obs-browser: 'Weather'] Error: ApiRequest Error [object Object] (https://cdn.aerisapi.com/sdk/js/latest/aerisweather.min.js:9)
14:32:16.056: [obs-browser: 'Weather'] Error: Uncaught (in promise) TypeError: Cannot destructure property 'ob' of 'result.data' as it is null. (http://absolute/C:/Users/john/Desktop/OLIVE-FILES 07-20-24/camweather2.html:91)
14:33:17.032: [obs-browser: 'Weather'] Error: ApiRequest Error [object Object] (https://cdn.aerisapi.com/sdk/js/latest/aerisweather.min.js:9)
14:33:17.033: [obs-browser: 'Weather'] Error: ApiRequest Error [object Object] (https://cdn.aerisapi.com/sdk/js/latest/aerisweather.min.js:9)
14:33:17.034: [obs-browser: 'Weather'] Error: Uncaught (in promise) TypeError: Cannot destructure property 'ob' of 'result.data' as it is null. (http://absolute/C:/Users/john/Desktop/OLIVE-FILES 07-20-24/camweather2.html:91)
14:34:17.113: [obs-browser: 'Weather'] Error: ApiRequest Error [object Object] (https://cdn.aerisapi.com/sdk/js/latest/aerisweather.min.js:9)
14:34:17.115: [obs-browser: 'Weather'] Error: ApiRequest Error [object Object] (https://cdn.aerisapi.com/sdk/js/latest/aerisweather.min.js:9)
14:34:17.116: [obs-browser: 'Weather'] Error: Uncaught (in promise) TypeError: Cannot destructure property 'ob' of 'result.data' as it is null. (http://absolute/C:/Users/john/Desktop/OLIVE-FILES 07-20-24/camweather2.html:91)
14:36:44.282: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmps://a.rtmps.youtube.com:443/live2...
 

rockbottom

Active Member
Drop the encoding bit-rate slightly under 12000kbps, say 11 or 11.5. I found a log @ 12 with no dropped frames. The others had 0.1% > dropped.
 

John Zapf

Member
The 2690 is a fossil & is also a huge bottleneck for the 2080 Super. I believe you are seeing the results of that in your logs. GPU can do way more work than the CPU will allow & can get overwhelmed in the process.
yeah I know, the 720 is old. I have a couple 740's but I need them for other things. And the only reason I need the servers are I record everything so I have 36 terabytes of drives in there rated or I would just get a good PC.
 

John Zapf

Member
Drop the encoding bit-rate slightly under 12000kbps, say 11 or 11.5. I found a log @ 12 with no dropped frames. The others had 0.1% > dropped.
Yeah I had problems with My Internet provider cox Communications and I have them out here cleaning up noise in the neighborhood all the time. There's fiber going in but it's going to be awhile. As far as internally everything is on 10GIGABIT fiber.
 

rockbottom

Active Member
I get it, I have a 18 drive QNAP w/130TB gross running ZFS, it nets out around 103TB. Still have 4 empty 3.5" bays to fill down the road.

It will work but you need to lower the load. Overall that CPU isn't horrible but the single thread performance is weak, less than the 2600k I retired back in 2015.
 

John Zapf

Member
I get it, I have a 18 drive QNAP w/130TB gross running ZFS, it nets out around 103TB. Still have 4 empty 3.5" bays to fill down the road.

It will work but you need to lower the load. Overall that CPU isn't horrible but the single thread performance is weak, less than the 2600k I retired back in 2015.
CPU says it's only using point 0.0%? The Highest I've ever seen it is 0.5% For a second.
 

rockbottom

Active Member
I was slacking last night. Here's another potential resource waster than should be eliminated.

15:58:16.513: Game DVR: On
 

John Zapf

Member
I was slacking last night. Here's another potential resource waster than should be eliminated.

15:58:16.513: Game DVR: On
Thanks not sure where that is ether, I am not a gamer at all. Game bar is off.
I turned off HAGS, I will have to reboot tonight after hours when less people are watching. thank you
 

John Zapf

Member
Well nothing is helping so far. bummer. I just hate to have to buy another server just to run this. like I sad the cpu usage is 0.0% so I dont get why this keeps happening with the sound. but it did not happen when I was running this on a Dell R7920/R740.
 
Top