rdp / virtual-audio-capture-grabber-device

free audio capture device to capture all the "wave out sound" that is playing on your speakers (i.e. record what you hear) for Windows Vista+. Releases downloadable in this package:
https://github.com/rdp/screen-capture-recorder-to-video-windows-free
Other
578 stars 181 forks source link

"IAudioCaptureClient::setup failed" #25

Open Dementei opened 6 years ago

Dementei commented 6 years ago

Using ShareX, freshly installed with ffmpeg and recorder devices, and it spits out this error.

leaving aero onIAudioCaptureClient::setup failed

I've had this error in the past and I can't remember how to fix it, I've searched endlessly and tried different ffmpeg versions as well. There's a couple open issues regarding this exact one on the ShareX github so thought maybe I'd post here instead.

If you wouldn't mind helping me figure this out I'd appreciate it.

rdp commented 6 years ago

Does this work? https://blogs.msdn.microsoft.com/matthew_van_eerde/2008/12/16/sample-wasapi-loopback-capture-record-what-you-hear/

On Fri, Apr 13, 2018 at 2:21 PM, Dementei notifications@github.com wrote:

Using ShareX, freshly installed with ffmpeg and recorder devices, and it spits out this error.

leaving aero onIAudioCaptureClient::setup failed

I've had this error in the past and I can't remember how to fix it, I've searched endlessly and tried different ffmpeg versions as well. There's a couple open issues regarding this exact one on the ShareX github so thought maybe I'd post here instead.

If you wouldn't mind helping me figure this out I'd appreciate it.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/rdp/virtual-audio-capture-grabber-device/issues/25, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAw0BwDq86e6SVlQpOzGw86LScqGW-kks5toQi8gaJpZM4TUM_n .

Dementei commented 6 years ago

Gives me this error when trying to open it: IAudioClient::Initialize failed: hr = 0x88890008 Thread aborted before starting to loopback capture: hr = 0x88890008

rdp commented 6 years ago

No idea unfortunately. Googling it said something about "supported formats" hrmmm https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/9acbda3f-1c9a-484e-a5aa-02b56b3b2616/isformatsupported-return-0x88890008-for-waveformatdolbyac3spdif-with-44100-sample-rate-in?forum=windowspro-audiodevelopment

On Sat, Apr 14, 2018 at 9:41 AM, Dementei notifications@github.com wrote:

Gives me this error when trying to open it: IAudioClient::Initialize failed: hr = 0x88890008 Thread aborted before starting to loopback capture: hr = 0x88890008

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/rdp/virtual-audio-capture-grabber-device/issues/25#issuecomment-381337968, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAw0FapHixeLQzo7GX_2eUV7gSfMac-ks5tohi_gaJpZM4TUM_n .

Dementei commented 6 years ago

Mmmm, came across this https://github.com/coreyauger/AudioLoopbackFilter but unable to compile it, I can't install the SDK for it. Would that work with ShareX as a device?

Dementei commented 6 years ago

Is there a way to debug your Screen Capturer Recorder btw? It does the same thing and is unable to record with virtual audio capturer device, I'm guessing from same problem.

rdp commented 6 years ago

Right.

On Sat, Apr 14, 2018 at 12:52 PM, Dementei notifications@github.com wrote:

Is there a way to debug your Screen Capturer Recorder btw? It does the same thing and is unable to record with virtual audio capturer device, I'm guessing from same problem.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/rdp/virtual-audio-capture-grabber-device/issues/25#issuecomment-381351415, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAw0F_JpSnFNX3Pa3No5jIn8Oh4C_7Gks5tokVegaJpZM4TUM_n .

rdp commented 6 years ago

That one's about the same. I wonder what the difference is here, though...I assume you have headphones or speakers plugged in? There are other that may work "VAC" or what not http://betterlogic.com/roger/2018/04/8972/

On Sat, Apr 14, 2018 at 10:15 AM, Dementei notifications@github.com wrote:

Mmmm, came across this https://github.com/coreyauger/AudioLoopbackFilter but unable to compile it, I can't install the SDK for it. Would that work with ShareX as a device?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/rdp/virtual-audio-capture-grabber-device/issues/25#issuecomment-381340394, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAw0MBuWfiA0IEks-le8ae8DdlWkQ4xks5toiCGgaJpZM4TUM_n .

Dementei commented 6 years ago

After multiple reinstalls of the ShareX Recorder Devices it seems to work now, although I did update my audio drivers before this last reinstall, so that might have been it. Either way it's all good now, thanks.

Dementei commented 6 years ago

The error is back today, haven't even restarted my PC since it was working, wonder if there's a service or program that is hindering the device somehow.

Edit: Yup my suspicions were correct, I was checking task manager and that's when I remembered how I fixed this before, I saw a few Nahimic services, found in:

C:\Program Files (x86)\MSI\MSI OC Kit\ActiveX_Service

which installed automatically from updates or from manual audio driver installs. Once I closed those, virtual audio capture worked instantly.

darkgreen commented 5 years ago

I was able to resolve this by changing audio codec from AAC to MP3 ... now recording screen capture plus audio.

darkgreen commented 5 years ago

I was able to resolve this by changing audio codec from AAC to MP3 ... now recording screen capture plus audio.

darkgreen commented 5 years ago

I was able to resolve this by changing audio codec from AAC to MP3 ... now recording screen capture plus audio.

darkgreen commented 5 years ago

I was able to resolve this by changing audio codec from AAC to MP3 ... now recording screen capture plus audio.

onlytanmoy commented 3 years ago

Looking for some help capturing screen with audio using ShareX. Under 'screen recording options' in audio source I see Microphone and Internal AUX jack, no virtual audio capture. Using latest version of ShareX and downloaded FFMpeg.exe.

rdp commented 3 years ago

Hmm maybe open a new issue for that one (hint: try installing it straight from my stuff, if that doesn't fail, complain to ShareX :)

On 9/13/20, onlytanmoy notifications@github.com wrote:

Looking for some help capturing screen with audio using ShareX. Under 'screen recording options' in audio source I see Microphone and Internal AUX jack, no virtual audio capture. Using latest version of ShareX and downloaded FFMpeg.exe.

-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/rdp/virtual-audio-capture-grabber-device/issues/25#issuecomment-691712043

onlytanmoy commented 3 years ago

@rdp Thanks for your response. Please point me to your stuff. One more thing I noticed: I don't have the 'Install Recorder devices' button under Sources as shown in this video (7:30 timestamp) https://www.youtube.com/watch?v=oE8GIr507Rg&t=449s&ab_channel=Priest

zimirrr commented 3 years ago

Had same issue, win10. leaving aero onIAudioCaptureClient::setup failed

I've deleted all sound related programs in 'Add or remove programs'. One of them was driver for my motherboard for Realtek that I installed manually. After uninstall finished it asked to reboot.

After reboot I've went to start -> Settings -> Update & security -> Check for updates and it updated my Realtek driver.

The error was gone.

eru-vr commented 1 year ago

I'm using voicemeeter banana and from time to time I use my bluetooth headphones. If I switch output to those bluetooth headphones in VM, that error appears and I can't record videos, but if I switch to my default speakers, it works fine.

rdp commented 1 year ago

I don't know if I can fix the issue?

On Thu, Nov 17, 2022 at 8:39 AM eru-vr @.***> wrote:

I'm using voicemeeter banana and from time to time I use my bluetooth headphones. If I switch output to those bluetooth headphones in VM, that error appears and I can't record videos, but if I switch to my default speakers, it works fine.

— Reply to this email directly, view it on GitHub https://github.com/rdp/virtual-audio-capture-grabber-device/issues/25#issuecomment-1318821259, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAADBUD5ZHIYRADSFTAXT33WIZGRTANCNFSM4E2QZ7TQ . You are receiving this because you were mentioned.Message ID: @.***>

Sgale952 commented 5 months ago

I am using an Asus Strix audio card. I had the same error, but I was able to fix it by simply closing the Sonic Studio driver. Also, the Strix sound card doesn't show up in FFmpeg's device list for some reason