Random static on my AXIS camera live stream.

rockbottom

Active Member
You could also try disabling Hardware Decoding on all 3 cameras, take that 15% load off the GPU & let the CPU do the work. Not like it's doing much of anything. HWD can get funky with too many instances & generally 3 is the max. Maybe it's less with cameras.
1727228805152.png


07:37:49.588: [Media Source 'Feeder Cam']: settings:
07:37:49.588: input: rtsp://root:LoveTheWoods365$@10.0.0.31/axis-media/media.amp?streamprofile=Low-Res&overlays=off
07:37:49.588: input_format:
07:37:49.588: speed: 100
07:37:49.588: is_looping: no
07:37:49.588: is_linear_alpha: no
07:37:49.588: is_hw_decoding: yes > no
07:37:49.588: is_clear_on_media_end: yes
07:37:49.588: restart_on_activate: yes
07:37:49.588: close_when_inactive: no
07:37:49.588: full_decode: no
07:37:49.588: ffmpeg_options:
07:37:49.589: [Media Source 'Fountain Cam']: settings:
07:37:49.589: input: rtsp://root:LoveTheWoods365$@10.0.0.32/axis-media/media.amp?streamprofile=Low-Res&overlays=off
07:37:49.589: input_format:
07:37:49.589: speed: 100
07:37:49.589: is_looping: no
07:37:49.589: is_linear_alpha: no
07:37:49.589: is_hw_decoding: yes > no
07:37:49.589: is_clear_on_media_end: yes
07:37:49.589: restart_on_activate: yes
07:37:49.589: close_when_inactive: no
07:37:49.589: full_decode: no
07:37:49.589: ffmpeg_options:
07:37:49.600: [Media Source 'Olive Cam']: settings:
07:37:49.600: input: rtsp://root:LoveTheWoods365$@10.0.0.30/axis-media/media.amp?overlays=off
07:37:49.600: input_format:
07:37:49.600: speed: 100
07:37:49.600: is_looping: no
07:37:49.600: is_linear_alpha: no
07:37:49.600: is_hw_decoding: yes > no
07:37:49.600: is_clear_on_media_end: yes
07:37:49.600: restart_on_activate: yes
07:37:49.600: close_when_inactive: no
07:37:49.600: full_decode: no
07:37:49.600: ffmpeg_options:
 

John Zapf

Member
ok, and yes I could do that. on the new system (it will be here Friday) And I was trying all of that when having the sound issues and noting fixed that. but AV1 so far so good. Fingers crossed.

And is there a way to increase the audio buffer?
 
Last edited:

rockbottom

Active Member
What would that accomplish?

I know it's not the same rig but Game DVR & HAGS were never disabled on this one either, kill them.
 

rockbottom

Active Member
Dual 2642r in the 740, they have some kick, although not surprising, the single thread performance rating is still on the weak side.

Have you tried SVT AV1? I get good results with my 12900k, be interesting to see how it runs with all those cores available.

 

John Zapf

Member
What would that accomplish?

I know it's not the same rig but Game DVR & HAGS were never disabled on this one either, kill them.
well I was just thinking I could also lower the kbit/s on the cameras? 128x3= 384 I know YouTube only wants 320 at the most, just a thought? and still good on AV1, no issues going on 3 days now.
 

Attachments

  • Screenshot 2024-09-25 061026.jpg
    Screenshot 2024-09-25 061026.jpg
    26.1 KB · Views: 8
Last edited:

John Zapf

Member
Dual 2642r in the 740, they have some kick, although not surprising, the single thread performance rating is still on the weak side.

Have you tried SVT AV1? I get good results with my 12900k, be interesting to see how it runs with all those cores available.

No I never looked into that. My server never really needs much more. I tailored the two small streams to be very small, there's not much going on, the computer doesn't use much resources at all. And that's the only thing I will ever be streaming on that server or using it for is that one setup I have there now is it.
 
Last edited:

rockbottom

Active Member
The only thing I know for sure is it's not OBS. You need to troubleshoot & so far nothing is getting done. We're moving at snails pace cause god forbid you take the stream off-line for a couple of hours. At this point, just wait for the new system & circle back to the older systems later.
 

John Zapf

Member
The only thing I know for sure is it's not OBS. You need to troubleshoot & so far nothing is getting done. We're moving at snails pace cause god forbid you take the stream off-line for a couple of hours. At this point, just wait for the new system & circle back to the older systems later.
But at this point if I put it back on the old system and run AV1 it's going to work fine that's what I've determined. I tried everything there was and sound kept messing up, hardware, no hardware, this that, two different systems, and the only thing that has solved the problem so far is using the AV1 for the decoder. And like I said last year I ran this exact same thing on three different computers and it didn't have a single problem, I don't remember what encoder I was using unfortunately. So something changed between then and now and it wasn't any hardware only software had changed via updates.
So it may seem like a snail's pace to you but I've worked on this every day for a few weeks now and tried a lot of things.

And if I don't use the AV1 encoder on the new system it's going to have the same issue, that's for sure, I have definitely determined that. As far as the old system it's going away, I don't need to do any troubleshooting on it.
 
Last edited:

rockbottom

Active Member
Exactly, weeks for something that should take hours or less.

I'm still not buying AV1 is the magic bullet. The log you produced from the 740 had audio lag seconds after OBS was opened.

Concerning the new system, I would start OBS from scratch & not export anything from the current installation but you do you.
 

John Zapf

Member
Exactly, weeks for something that should take hours or less.

I'm still not buying AV1 is the magic bullet. The log you produced from the 740 had audio lag seconds after OBS was opened.

Concerning the new system, I would start OBS from scratch & not export anything from the current installation but you do you.
I totally agree i'm a great tech and I can usually figure out anything in minutes. And not only computers I can build a house from the ground up a car from the ground up i'm really good at doing a lot of things so I totally agree this has been very hard to figure out. And fyi I'm 99.9 percent right on everything that I do so when I say it's probably OBS or the Nvidia driver then it's probably OBS or the video driver. And believe me I'm more frustrated than you are. I just ordered a new system only to find out that that's the rig is not causing the problem and that's not going to fix it.
 

John Zapf

Member
And fyi, last year I had this same thing running on a HP workstation, GPU was 70-80% full time 24/7 and never had an issues.

So just to reiterate prior to two months ago all of this ran fine on the same equipment i've been running it on now never had a single issue absolutely nothing changed except OBS updates and Nvidia driver updates and now I have issues no matter what hardware it runs on. And also I have pink plotter running tracking my Internet provider and there's no issues there.
 

rockbottom

Active Member
I've been running Nvidia 560.81 without any issues.

I hope it works out for ya right off the bat with the new system. Test without the cameras...
 

John Zapf

Member
I've been running Nvidia 560.81 without any issues.

I hope it works out for ya right off the bat with the new system. Test without the cameras...
And Again its not the system at all. The new system's gonna be the same as the system it's running on now and having issues so that's not going to change.

I don't have any issues if I don't stream the cameras. It's coming from coding the cameras the main camera. And again I didn't have this issue with the cameras before. And the cameras aren't causing the problem it's obs encoding the main camera. And again I know the cameras aren't causing the problem because the camera stream is fine and the cameras haven't changed nothing has changed.

And it's not messing up the sound for the entire thing the other two camera sound is fine it just messes up the sound on the main camera. So if I don't do the cameras and do some kind of sound it'll be fine. It's just messing up the sound on that one camera and that just started a couple months ago and nothing changed on that camera. And the sound is fine on the other two cameras.
 
Last edited:

John Zapf

Member
And I can listen to the recording that's coming straight from the camera at the same time it's having issues on obs and the recording from the camera is fine it's getting introduced through obs. If I turn off hardware and coding the sound clears up if I change the hardware encoder it clears up so it has something to do with obs and the hardware encoding on that live stream.

I am going to change the camera stream from the cameras to OBS to H.265
 
Last edited:

rockbottom

Active Member
Disabled Hardware Decoding for the cameras you say? Already recommended that it be disabled last night.

Anyway, that's not an OBS issue. That's a limitation of the hardware. HWD can only be used for a few sources after that, it starts to shit the bed. Clearly 3 cameras was too much. I rarely use HWD & let my CPU decode sources that I'm recording, the quality is far superior.
 

John Zapf

Member
Disabled Hardware Decoding for the cameras you say? Already recommended that it be disabled last night.

Anyway, that's not an OBS issue. That's a limitation of the hardware. HWD can only be used for a few sources after that, it starts to shit the bed. Clearly 3 cameras was too much. I rarely use HWD & let my CPU decode sources that I'm recording, the quality is far superior.
OK once I get the new dedicated server in place I can do that. Right now I'm running it off my workstation so it's a temporary thing. And again issues gone using AV1. So no need to touch anything right now. Once I get the replacement computer i can set it up that way. But again I never had this issue before on any computer. And now I have it on every computer, so it's not hard to do the math there has nothing to do with hardware. And if it was coming from the camera then the sound would reflect that on the recording from the camera.
 

John Zapf

Member
And I just wanted to say I appreciate all your help and advice. I always do a lot of troubleshooting and try everything that I can before I even jump on any form to ask for help. So again it's a mystery.

What I should do is set it back to a different encoder and get a recording of it so I could share it with you, but it's not broke right now so I don't wanna do that.
 

John Zapf

Member
And the only other thing that changed on both of these computers that are having the same issue is the network card (Dell 6VDPG Intel x710 + I350 Quad Port 2x 10G SFP 2x RJ45) I switched from Gigabit to 10 Gigabit fiber. I'm just trying to think of anything that changed. I can't imagine that would cause the issue but?
 

Attachments

  • Dell-6VDPG-1.jpg
    Dell-6VDPG-1.jpg
    44.7 KB · Views: 4
Top