Resource icon

DirectShow Audio Source Plugin

thejack

New Member
If u have a double audio card such as turtle beach headphone, you must download VB-cable, set playback sound of your program such as TS to direct sound and VB Cable input, then set up in recording device to listen your virtual audio cable to your communication device.
Now to obs add a global source with cable output(VB-audio virtual cable) and done. all works fine.

I hope you can understand, my english is really bad.
 

Tink

Member
I'm trying to use this to play music from WinAmp in specific scenes along with VB-Cable. However, for some reason the audio cracks sometimes (it's not the files - it doesn't happen when I'm listening to it through my Realtek device) which annoys me like crazy. I don't know if it's related to the DShow Audio plugin or VB-Cable or the WinAmp DirectSound Output plugin (I'm running v2.6) or WaveOut plugin (it happens with both). but I was hoping if anyone would have an idea on how to solve my problem... It's not the stuttering that others had a few pages back, in my case it's like you're listening to an old, mildly scratched record. It doesn't matter whether I use 32-bit or 64-bit.

Edit: It also happens when I try foobar and VAC. It also happens when I have it set to 'output to stream only'... ._. I'll reinstall the plugin and see if that helps...
 
Last edited:

chindave

New Member
For anyone else experiencing the audio stuttering issue, in my (exhaustive) testing and troubleshooting, I've discovered something that seems to solve the issue, at least for me.

This is wild speculation because I haven't actually looked directly at the source code and I'm not familiar with the DirectShow API(s), but I think what is happening is that the scene attempts to capture the DirectShow devices too soon after initializing them for use, and as a result is unable to capture the audio source properly. This would be strange since I assume that OBS itself uses the same APIs to access those devices, but there might be some sort of conflict/race condition between the plugin and OBS accessing DirectShow sources at the same time. As I said this is completely wild speculation, I would love to hear from the developer to see if this sounds like a possible cause.

What worked for me was increasing the "scene buffering time" under Advanced in the settings of OBS (v0.637b as of writing). I had previously modified this to be 400ms, but I think that might be too short. I've increased it to 1200ms and have since had zero issues recording microphones properly. Your mileage may vary (I imagine it depends heavily on both your CPU and the devices themselves), so try playing around with various delays and see if it works for you.

This worked the first time I used it, bumping it up to 1200. Then a few relaunches of the stream later, it was back to messing up still at 1200. Just to test, not to keep it permanent, I pushed it to 1500 and it started working again.

Again, a few restarts of my stream later, it was right back to it.

And idea as to why? This issue makes my stream completely unusable!

Thanks!
 

Jadedea

New Member
i see this in plugins but i dont see how i can change the volume of my sources or anything. and i dont see anything on the internet that explains how this works.
 

Fabelwesen

New Member
Hey mate, any chance we could get a separate Gain control for the DShow plugin channels? x) Sadly I am having to do some jiggery-pokery to get things working since, for some reason, OBS muffles sound recorded via my Wave-out while your plugin records the same sound clearly. This makes me want to mute the internal sound, and use your plugin for the game sound. The drawback of this is that the volume is, of course, tied to my windows volume. To get the proper sound out I need to keep it at 100% which makes me deaf :P. So therefore a separate gain control would be handy to counteract this!
 
Last edited:

rfS

New Member
For anyone else experiencing the audio stuttering issue, in my (exhaustive) testing and troubleshooting, I've discovered something that seems to solve the issue, at least for me.

This is wild speculation because I haven't actually looked directly at the source code and I'm not familiar with the DirectShow API(s), but I think what is happening is that the scene attempts to capture the DirectShow devices too soon after initializing them for use, and as a result is unable to capture the audio source properly. This would be strange since I assume that OBS itself uses the same APIs to access those devices, but there might be some sort of conflict/race condition between the plugin and OBS accessing DirectShow sources at the same time. As I said this is completely wild speculation, I would love to hear from the developer to see if this sounds like a possible cause.

What worked for me was increasing the "scene buffering time" under Advanced in the settings of OBS (v0.637b as of writing). I had previously modified this to be 400ms, but I think that might be too short. I've increased it to 1200ms and have since had zero issues recording microphones properly. Your mileage may vary (I imagine it depends heavily on both your CPU and the devices themselves), so try playing around with various delays and see if it works for you.

HUGE thank you to Altair for this. I've been trying to get audio from my DAW (SONAR) to OBS for a few days with nothing but trouble. Turns out this minor change in value was the little fix I needed to pull it all together.

THANK YOU.
 

spooCQ

New Member
Hi there,

as I don't know what exactly the problem is, I will post here and on the thread of the Microphone DSP Plugin (even though I think that the latter on is the problem - not your plugin. But just being sure and stuff...)

I'm using your source in an "AFK Scene", where I plan to play music coming in from a different input (AUX In on my Soundcard) while this scene is shown.
But as soon as I switch to said scene, OBS crashes - at least as long as I have the Microphone DSP Plugin enabled and your plugin active in the scene as a source.

Here is the Crashlog:

Code:
OBS has encountered an unhandled exception and has terminated. If you are able to
reproduce this crash, please submit this crash report on the forums at
http://www.obsproject.com/ - include the contents of this crash log and the
minidump .dmp file (if available) as well as your regular OBS log files and
a description of what you were doing at the time of the crash.

This crash appears to have occured in the 'c:\program files\obs\plugins\obs_mic_dsp-1.1-x64.dll' module.

**** UNHANDLED EXCEPTION: c0000005
Fault address: 00007FFFC2F22E85 (c:\program files\obs\plugins\obs_mic_dsp-1.1-x64.dll)
OBS version: Open Broadcaster Software v0.64b
Windows version: 6.2 (Build 9200)
CPU: AMD FX(tm)-6300 Six-Core Processor            

Crashing thread stack trace:
Stack            EIP              Arg0             Arg1             Arg2             Arg3             Address
000000AE0F90E9D0 00007FFFC2F22E85 0000000000000006 000000AE0FAFDCB0 000000AE0FAFDCB0 00007FFFD3772470 obs_mic_dsp-1.1-x64.dll!0x7fffc2f22e85
000000AE0F90EA00 00007FF6EDE6FEE4 0000000000000000 0000000000000000 000000AE00000CB4 0000000000000BB8 obs.exe!OBS::ReportStartStreamTrigger+0x44
000000AE0F90EA30 00007FF6EDE6D454 000000AE0F90ED70 000000000006146C 0000000000230968 0000000000001397 obs.exe!OBS::Start+0x1b84
000000AE0F90EC70 00007FF6EDE9B759 0000000003015FFE 00007FFFD995F033 00000000000000F3 000000000006146C obs.exe!OBS::OBSProc+0xce9
000000AE0F90EEC0 00007FFFD78D250D 0000000000000000 0000000000000000 0000000000230968 00007FFFD78D2532 user32.dll!0x7fffd78d250d
000000AE0F90EF90 00007FFFD78D3B02 00007FFFD99D0D00 0000000000000000 000000AE0F90F0A8 0000000000000001 user32.dll!0x7fffd78d3b02
000000AE0F90EFF0 00007FFFD78D3BCE 0000000000000000 0000000080000000 0000000000000000 0000000000000000 user32.dll!0x7fffd78d3bce
000000AE0F90F050 00007FFFD99D2C44 00007FFFD78D56FD 00007FFFD99D0D00 0000000000000000 000000AE0F90F198 ntdll.dll!0x7fffd99d2c44
000000AE0F90F0D8 00007FFFD78D102A 00007FFFD99D0D00 0000000000000000 000000AE0F90F198 00007FFF00000001 user32.dll!0x7fffd78d102a
000000AE0F90F0E0 00007FFFD78D56FD 00007FFF00061400 0000000000000000 0000000000001397 000000AE102D85E0 user32.dll!0x7fffd78d56fd
000000AE0F90F170 00007FFFD78D5823 000000AE0FACC2D0 0000000054010001 0000000000000001 0000000000000000 user32.dll!0x7fffd78d5823
000000AE0F90F1D0 00007FFFD37B37F9 0000000000000202 000000AE0F90F310 000000AE0FACC2D0 00007FFFD99D2C44 comctl32.dll!0x7fffd37b37f9
000000AE0F90F210 00007FFFD37B37D4 0000000000000006 000000AE0F90F4B0 00007FFFD9901350 0000000000000001 comctl32.dll!0x7fffd37b37d4
000000AE0F90F360 00007FFFD78D250D 000000AE102DF420 000000AE0F90F648 000000000006146C 00007FFFD78F50DB user32.dll!0x7fffd78d250d
000000AE0F90F430 00007FFFD78D2367 000000AE0FAFD050 0000000000000000 0000000000000001 000000AE0FAFD050 user32.dll!0x7fffd78d2367
000000AE0F90F4B0 00007FFFD78E8316 0000000005180C7B 000000AE0F90F610 000000AE0FAFD050 000000AE0FAFD050 user32.dll!0x7fffd78e8316
000000AE0F90F510 00007FF6EDE5C739 0000000000000000 0000000000000001 00007FF6EDE30000 0000000000000000 obs.exe!WinMain+0xa59
000000AE0F90FAC0 00007FF6EDEDD660 0000000000000000 00007FF6EDEDD504 00007FF6ED306000 0000000000000000 obs.exe!__tmainCRTStartup+0x148
000000AE0F90FB00 00007FFFD76013D2 00007FFFD76013B0 0000000000000000 0000000000000000 0000000000000000 kernel32.dll!0x7fffd76013d2
000000AE0F90FB30 00007FFFD99AEB64 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ntdll.dll!0x7fffd99aeb64

A minidump was saved to C:\Users\Chris\AppData\Roaming\OBS\crashDumps\OBSCrashDump2015-02-21_3.dmp.
Please include this file when posting a crash report.

List of loaded modules:
Base Address                      Module

I also attached the minidump.
 

Attachments

  • OBSCrashDump2015-02-21_3.zip
    285.2 KB · Views: 122

owlsandstills

New Member
Hi guys! I can't seem to get asio working with Ableton Live 9. I've messed around with all of the possible settings. I'd like to be able to use an audio interface (Focusrite i2i) while streaming an Ableton Live production session but if i cant that's OK i guess... Has anyone been able to get this to work, if so what combo of settings did you use in OBS's settings and DirectShow's settings? I've tried MME/directx but the latency is really bad.

Thanks!
Sean
 

AwesomeRemco

New Member
Hi, i'm trying to get game audio, music(both over my speakers) and skype(over my headset) in my stream. I can't add my headset to the output sources because obs crashes. Can someone help me?
 

Jack0r

The Helping Squad
Playback devices cannot be used with this plugin (see the red text in the info section). I would recommend to use OBS-MP which lets you select more than one audio device by default.
 

Zaity

New Member
I spent a few hours messing around with this plugin. My goal was to set it up where my broadcast would have music playing that I personally could not hear. So my viewers could be entertained without affecting my focus on teamspeak and gameplay.

I made a short guide on how I made it work, your situation may be entirely different but it could inspire your own solution. Give it a look guys.

https://youtu.be/_6BlOyBip_Y
 
So I recently downloaded this pluginand I followed the directions to install it. I couldn't extract directly to my plugins folder for some reason, so I extracted to my downloads folder and moved the files into my plugins folder. Now what? I look in the plugins menu in OBS and the plugin isn't showing up, I can't add an audio source to a scene, like the plugin should let me do. What am I doing wrong?
 

die

New Member
So I recently downloaded this pluginand I followed the directions to install it. I couldn't extract directly to my plugins folder for some reason, so I extracted to my downloads folder and moved the files into my plugins folder. Now what? I look in the plugins menu in OBS and the plugin isn't showing up, I can't add an audio source to a scene, like the plugin should let me do. What am I doing wrong?
The same for me, does anyone know how to fix?
 

allenwp

New Member
So I recently downloaded this pluginand I followed the directions to install it. I couldn't extract directly to my plugins folder for some reason, so I extracted to my downloads folder and moved the files into my plugins folder. Now what? I look in the plugins menu in OBS and the plugin isn't showing up, I can't add an audio source to a scene, like the plugin should let me do. What am I doing wrong?

Did you copy the plugin to the correct OBS install?

If you're using 64 bit OBS and the 64 bit plugin, it needs to be installed to C:\Program Files\OBS\plugins\
If you're using 32 bit OBS and the 32 bit plugin, it needs to be installed to C:\Program Files (x86)\OBS\plugins\
 

ChubbsGames

New Member
EDIT: Nevermind, it seemed I needed to restart windows audio as Listen to this device wasn't working properly.

Hey all. I had this all working fine until I reinstalled my OS and forgot how I set it up. Any help appreciated.

I have two audio outs, desktop/games/everything on my speakers and then everything voice such as Skype, Teamspeak etc coming out of my headphones. I have VAC Input and Output set up and I can get my OBS to pickup Teamspeak using VAC but then I can't hear it out of my headphones.

Can someone point me in the right direction? Forgot what I did last time to make it work! Thanks very much.
 
Last edited:

AtorCZ

New Member
Is there update coming up soon? I'd love to use this plugin for speaker source. I know there is OBS Studio out there, but i don't like it, so I better stay with OBS classic, but still would be pretty awesome to have features of STUDIO OBS. Can you fix this please? :O :)
 

Jack0r

The Helping Squad
The plugin author was last online in march 2016, this plugin is also for OBS Classic which means it probably will not see any updates.
OBS Studio comes with the option to add input or output audio device as sources right away.
 

AtorCZ

New Member
The plugin author was last online in march 2016, this plugin is also for OBS Classic which means it probably will not see any updates.
OBS Studio comes with the option to add input or output audio device as sources right away.
I was looking for option in classic baceuse i didn!t want to switch (I already did anyways). But thank you. :)
 
Top