bozbez / win-capture-audio

An OBS plugin that allows capture of independant application audio streams on Windows, in a similar fashion to OBS's game capture and Discord's application streaming.
GNU General Public License v2.0
3.81k stars 208 forks source link

Significantly worst audio quality with the EXCEPT option enabled #126

Open ArmandBernard opened 2 years ago

ArmandBernard commented 2 years ago

Significantly worst audio quality with the EXCEPT option enabled.

Using 2.2.2 beta. Not tried with other versions

image Here is a comparison, using Teardown, the video game. comparison.zip I have seen this happen in a couple of games I've tried, but for some reason some programs, e.g. iTunes, do not exibit this behaviour.

MrFutureV commented 2 years ago

indeed bro,i tried recording in CSGO and do a comparison,its obviously downgrade the audio quality,so i wouldnt really use this version until the problem fixed

LeviOP commented 2 years ago

I'm having the same issue, but I wouldn't call it "worse", just missing levels. It sounds to me like sometimes it's just chopping all the high frequency noises off, and sometimes it sounds like the audio has been "doubled" and just sounds kind of buzzy.

My current solution is just to every single executable I can think of that would be on the "EXCEPT" track to a capture and use that. Really annoying though, please fix.

Yooleg commented 2 years ago

Have the same issue. When I use the "Capture all audio EXCEPT sessions...." the sound captured becomes tinny for lack of the better word. Its like it has lower bitrate? maybe? Hard to explain. Essentially some Audio Quality drops when using the EXCEPT option. Would definately appreciate a fix cause putting all games and stuff manually into that is a bit annoying

zolgs commented 2 years ago

yup im having the same issue right now

MevliN commented 2 years ago

same issue here aswell

bozbez commented 2 years ago

This is happening due to the API's behaviour of capturing audio render streams from the child processes of the process that is specified in addition to the audio of the parent. For example, the plugin will try to capture the audio stream of both the steam.exe process and whatever game is running as a child of it when matching something else in exclude mode, but the audio captured from steam.exe will already include that of the game leading it to be duplicated.

There is no good fix here - say if you exclude capture one steam game then the only reasonable course of action is to not capture steam itself but do capture the child games, but the audio from steam will go missing.

Some level of de-duplication should be possible with parent/child elimination, although querying parent PIDs will probably need tlhelp32 or WMI.

Eye29 commented 2 years ago

Same bad audio for me that sounds muffled but it only does it occasionally

MrFutureV commented 2 years ago

This is happening due to the API's behaviour of capturing audio render streams from the child processes of the process that is specified in addition to the audio of the parent. For example, the plugin will try to capture the audio stream of both the steam.exe process and whatever game is running as a child of it when matching something else in exclude mode, but the audio captured from steam.exe will already include that of the game leading it to be duplicated.

There is no good fix here - say if you exclude capture one steam game then the only reasonable course of action is to not capture steam itself but do capture the child games, but the audio from steam will go missing.

Some level of de-duplication should be possible with parent/child elimination, although querying parent PIDs will probably need tlhelp32 or WMI.

people may not necessaryly need audio from steam itself,i guess at most situations

MrFutureV commented 2 years ago

Same bad audio for me that sounds muffled but it only does it occasionally

ru using win11?it dont happen usually?

Eye29 commented 2 years ago

@MrFutureV No I am not, I am using windows ten.