DistroAV icon indicating copy to clipboard operation
DistroAV copied to clipboard

The sound is popping with obs-ndi 4.10.0

Open Taro7x3 opened this issue 2 years ago • 70 comments

Issue type

<-- Bug report -->

Description

The sound is popping with obs-ndi 4.10.0. The video transmits beautifully and without problems, but there is a lot of noise in all sounds, including the microphone and games. I thought it was a problem with the specs on the receiving end, but it seems to have been a problem on the transmitting end.

Technical information
  • Operating System: Transmitting PC : Windows 10 (21H2 Build 19044.2130) Receiving PC : Windows 11 (22H2 Build 22621.674)
  • OBS Studio Version: 28.1.1
  • obs-ndi Version: 4.10.0
  • PC specs: Transmitting PC: Intel Core i5 11400H_CPU 16GB_RAM RTX3050Ti Laptop_GPU Receiving PC: Intel Core i5 1135G7_CPU 8GB_RAM Intel Iris Xe Graphics_GPU

Taro7x3 avatar Nov 04 '22 02:11 Taro7x3

Hi all! Yes, the sound is not good... Where is the 5.0 version? I thought it was here but I can't find it...

nunowonder avatar Nov 04 '22 13:11 nunowonder

this also applies to the dedicated NDI outputs on audio sources with a lot of static noise in the right channel especially, atleast for me EDIT: The noise is entirely in the right channel

lvzxr avatar Nov 04 '22 15:11 lvzxr

same issue, everything worked with 5.0.0 which i now cant redownload because it's been removed

vidiotgameboss avatar Nov 05 '22 22:11 vidiotgameboss

I found that it's a problem with the receiving OBS end. Opening up Studio Monitor in NDI tools, the stream comes in just fine with the audio so it's a problem with the plugin receiving the NDI stream.

DustStormPettigrew avatar Nov 07 '22 03:11 DustStormPettigrew

Yes that's true, the output is OK, the OBS Input (so it is the plugin) is the one that makes distortion. It's a pity because me, as a M1Max user, can't use OBS that recognizes my hardware, I had to come back to OBS 27 because of this (I highly depend on this plugin). Thank you so much for all your effort!

nunowonder avatar Nov 07 '22 09:11 nunowonder

I had the same problem. I'm using this fork that didn't have the problem. https://github.com/dev47apps/obs-ndi

imeiul avatar Nov 08 '22 00:11 imeiul

Hello @imeiul , what do you mean? Do you use OBS28 with this 4.9.2, running on Apple Silicon OSX version? If so, what do you need? OBS28 + plugin 4.9.2 (I have to see how to install it on MAC)? And what NDI runtime? 4.5.1? Sorry, I am really trying to understand, or maybe it's better to wait for a release version without problems?

nunowonder avatar Nov 08 '22 10:11 nunowonder

Thanks for your comment @imeiul! I could fix my installation by just replacing the files in the OBS folder with the ones from the 4.9.2 release that's in the dev47apps repo. ( https://github.com/dev47apps/obs-ndi/releases/tag/4.9.2 ) I think I have NDI 5 installed as well, if that matters. But the popping is gone for now until there is a fix for 4.10

t0mm1 avatar Nov 08 '22 22:11 t0mm1

Can confirm 4.10 has sound issues Fixed by opening NDI remote and adding the app to OBS as a audio source to fix the issue. Guess ill just have to do that for now

7yphon avatar Nov 09 '22 00:11 7yphon

Replacing the files from dev47apps repo did not fix the issue for me. Still have to use the left channel and make it mono to work.

DustStormPettigrew avatar Nov 11 '22 01:11 DustStormPettigrew

Bummer! Just to make sure: Did you replace it on the receiving PC? I didn't change anything on the sending PC, as it was pointed out that the problem is not the sending, but the handling of the incoming data.

On November 11, 2022 2:09:13 AM GMT+01:00, Dust Storm @.***> wrote:

Replacing the files from dev47apps repo did not fix the issue for me. Still have to use the left channel and make it mono to work.

t0mm1 avatar Nov 11 '22 03:11 t0mm1

I replaced it only on the receiving PC, but you made me realize something: NDI sources from my local computer (did a podcast with Skype tonight) had no problems, but my gaming PC NDI was still having problems, so maybe I need to try replacing it on my sending computer.

DustStormPettigrew avatar Nov 11 '22 03:11 DustStormPettigrew

Hey there, Sources sent using 4.10 audio filter were also giving me a poor quality sound, so I tried this version : https://github.com/dev47apps/obs-ndi/releases/tag/4.9.2

It seems to perfectly send the audio but for some reasons, there is no sound while recoding a video or streaming, it's like the audio is not sent to the OBS 28 audio mixer. But I'm able to hear the audio is successfully sent when enabling audio monitoring on the streaming PC.

AlexPresso avatar Nov 12 '22 18:11 AlexPresso

It seems to perfectly send the audio but for some reasons, there is no sound while recoding a video or streaming, it's like the audio is not sent to the OBS 28 audio mixer. But I'm able to hear the audio is successfully sent when enabling audio monitoring on the streaming PC.

I had the exact same issue and it did take forever to find the cause! Did you by any chance import the scenes into OBS? There is a report of a bug from 2020 (!) that is still not fixed, you have to create all szenes from scratch ... really stupid. Head here for more info: https://obsproject.com/forum/threads/no-audio-on-stream-or-recording-only-on-monitor.117748/#post-444921

t0mm1 avatar Nov 12 '22 18:11 t0mm1

No I haven't imported anything, I just upgraded to OBS 28. Was the scene import, the root cause of your audio issue ?

AlexPresso avatar Nov 12 '22 18:11 AlexPresso

4.10.0 was the cause for the audio popping; the import bug was the cause for my problem that while monitoring everything sounded fine, but the audio was missing in streams/recordings. 4.9.2 files fixed the first, redoing the scenes fixed the second for me

t0mm1 avatar Nov 12 '22 19:11 t0mm1

Just an interesting observation here.

Running OBS 28 with 4.9 2.

Pulled in audio from an NDI HX stream coming from a Mevo Camera (h265) and had lots of popping and garbled audio.

Pulled the same source in using NDI 5.5.2 Webcam and Audio Input Capture and it's clear as a bell.

John Benton Cold Granite Curling 612-202-4588

On Sat, Nov 12, 2022, 1:29 PM t0mm1 @.***> wrote:

4.10.0 was the cause for the audio popping; the import bug was the cause for my problem that while monitoring everything sounded fine, but the audio was missing in streams/recordings. 4.9.2 files fixed the first, redoing the scenes fixed the second for me

— Reply to this email directly, view it on GitHub https://github.com/Palakis/obs-ndi/issues/785#issuecomment-1312555990, or unsubscribe https://github.com/notifications/unsubscribe-auth/AV52NCNOGRLTKNUYZZQWT2DWH7VYDANCNFSM6AAAAAARWXP22I . You are receiving this because you are subscribed to this thread.Message ID: @.***>

jbcurler2010 avatar Nov 12 '22 19:11 jbcurler2010

Same issue with the latest windows version OBS 28.1 NDI 4.51, the sound is crackling over NDI

Slowcoachy avatar Nov 13 '22 14:11 Slowcoachy

same here as the others have reported, terrible crackling in the right channel... big thanks to the others that at least found mono and left channel as a temporary work around. This was driving me nuts

ericpolowski avatar Nov 14 '22 05:11 ericpolowski

I have also the same audio issues. The video is fine; splitting the audio channels doesn't fix it, either.

Tomcatt avatar Nov 15 '22 10:11 Tomcatt

Same issue here. Both computers on W10Pro 19044.1526.

lane-ftw avatar Nov 15 '22 16:11 lane-ftw

Just updated, having the same issue with crackling in the right channel. It also seems to make all audio sound slightly louder too.

Both systems are Win10Pro x64, using filter outputs of the same qualities between an Intel (host) and AMD (remote) computer.

Reverted back to 27.2.4 OBS and used plug-ins for a working config. :/

ghlegend195 avatar Nov 16 '22 01:11 ghlegend195

May have to downgrade as well.

Tomcatt avatar Nov 16 '22 03:11 Tomcatt

Try pulling the audio into the receiving end using NDI Webcam and Audio Input Capture.

John Benton Cold Granite Curling 612-202-4588

On Tue, Nov 15, 2022, 7:55 PM ghlegend195 @.***> wrote:

Just updated, having the same issue with crackling in the right channel. It also seems to make all audio sound slightly louder too.

Both systems are Win10Pro x64, using filter outputs of the same qualities between an Intel (host) and AMD (remote) computer.

Reverted back to 27.2.4 OBS and used plug-ins for a working config. :/

— Reply to this email directly, view it on GitHub https://github.com/Palakis/obs-ndi/issues/785#issuecomment-1316171175, or unsubscribe https://github.com/notifications/unsubscribe-auth/AV52NCL7NFGTTANQUGZHRB3WIQ5IHANCNFSM6AAAAAARWXP22I . You are receiving this because you commented.Message ID: @.***>

jbcurler2010 avatar Nov 16 '22 03:11 jbcurler2010

I had the crackling in right channel as well - completely fresh install of latest 4.10 on both MainPC and StreamPC after removing all traces of earlier installs (including NDI 5.0 Tools). Using the 4.9.2 from Dev47 on the StreamPC cleared it up. I know that doesn't explicitly help those that are still struggling with the situation, but this is a note that there is definitely an issue in something associated with 4.10, with the audio processing.

AlystairWesley avatar Nov 19 '22 22:11 AlystairWesley

I've tried everything, Even blew away the install and started from scratch, Sound crackling is still very much an issue with 4.10 and 28, Sound directly over the NDI app is clear and able to be captured "Just a pain in my ass lol"

7yphon avatar Nov 21 '22 03:11 7yphon

I had the same problem. I'm using this fork that didn't have the problem. https://github.com/dev47apps/obs-ndi

Yes it's working on my Windows. Thank you so much @imeiul. But I need it for macOS. Where can I find a compiled mac version? Unfortunately I was not successful in compiling it myself for macOS. Thank you.

saltarob avatar Nov 23 '22 15:11 saltarob

Use https://github.com/DDRBoxman/obs-ndi/releases/tag/4.10.1

CodeYan01 avatar Dec 12 '22 16:12 CodeYan01

The problem is two files were placed in the wrong spot. If you have crackling and static and it only goes away when you switch to the left channel...this fix will make it all go away and you will be good to use OBS 28. https://youtu.be/ldBE2Ndxlio Or just take the files in this zip and replace their counterparts in the obs studio folder. I uninstalled everything OBS or NDI related first including in my app data folder but it would probably still work without doing that. after copying files, start OBS, a pop-up will appear asking you to install NDI runtime 5 or 5.5(can't remember) just say yes and when you reboot problem is gone. obs-ndi-windows-x64-81a16120c (1) (1).zip

CryptVicious avatar Dec 20 '22 07:12 CryptVicious

@CryptVicious I'll give your suggestions a try.

I'm the dude that helped @tt2468 find the audio distortion in the RC of this OBS28 compatible plugin.

The other day I was setting up brand new rigs with OBS29 and obs-ndi 4.10.0 and started to run in to this. :/

Strange things are afoot.

I am 100.0% certain that I installed the 4.10.0 installer from this project's releases page. Yet on my central OBS29 rig I have been getting distortion when RXing incoming NDI audio (video seems fine).

I decide to dust off my pre-202209 fork and investigate and maybe fix any problem I may find. I compile a sandbox OBS29 and this obs-ndi code [confirmed from the rewrite branch] and run them and I get no audio distortion.

I launch my main OBS29 install [with the installed obs-ndi plugin] and I again get audio distortion.

I copy my sandbox's compiled obs-ndi code [from the rewrite branch] in to my main OBS29 install's plugins directory... ...and I get no audio distortion!

I delete my sandbox's obs-ndi from my main OBS29 install's plugins dir and re-install the official obs-ndi download... ...and I get audio distortion!

How can my locally compiled version of this code not have distortion, but the official download does?

To make things weirder, my sandbox's obs-ndi's [the one that works] NDI Source properties page looks like this: image

And the official obs-ndi download's 4.10.0 NDI Source properties page looks like this: image

Something seems messed up with the distribution.

I will put together a video showing/reproing the problem and/or work on this a bit more over this long weekend...

paulpv avatar Jan 15 '23 07:01 paulpv