Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"IAudioCaptureClient::setup failed" #25

Open
Dementei opened this issue Apr 13, 2018 · 20 comments
Open

"IAudioCaptureClient::setup failed" #25

Dementei opened this issue Apr 13, 2018 · 20 comments

Comments

@Dementei
Copy link

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
Copy link
Owner

rdp commented Apr 14, 2018 via email

@Dementei
Copy link
Author

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

@rdp
Copy link
Owner

rdp commented Apr 14, 2018 via email

@Dementei
Copy link
Author

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 Dementei changed the title "leaving aero onIAudioCaptureClient::setup failed" "IAudioCaptureClient::setup failed" Apr 14, 2018
@Dementei
Copy link
Author

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
Copy link
Owner

rdp commented Apr 14, 2018 via email

@rdp
Copy link
Owner

rdp commented Apr 14, 2018 via email

@Dementei
Copy link
Author

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
Copy link
Author

Dementei commented Apr 15, 2018

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
Copy link

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

3 similar comments
@darkgreen
Copy link

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

@darkgreen
Copy link

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

@darkgreen
Copy link

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

@onlytanmoy
Copy link

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
Copy link
Owner

rdp commented Sep 14, 2020 via email

@onlytanmoy
Copy link

onlytanmoy commented Sep 14, 2020

@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
Copy link

zimirrr commented Oct 27, 2020

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
Copy link

eru-vr commented Nov 17, 2022

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
Copy link
Owner

rdp commented Nov 19, 2022 via email

@Sgale952
Copy link

Sgale952 commented Apr 4, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants