Question / Help Trying to Record Sound from Windows 10

shae_87

New Member
Hello,

I just purchased a Windows 10 PC. I am trying to record my screen along with the sound. I can do this just find using OSB, my MAC and Sunflower drivers. I have been trying to figure this out for about 3 days to no avail. OSB shows that sound is playing but when I play the video there is no sound. I have tried to use the virtual VB-Audio Cable and Razer Surround. Both seems like it may be playing based off of what I see, but when I switch to my default speakers and play the video, I have no sound after verifying i can hear sound from youtube and other applications.

Can someone advise on what I am missing here?


Thanks
 

shae_87

New Member
That worked, huh, THANK YOU SO MUCH @Simes. Why did that work though, what is the logic or problem? BUT THANK YOU SO MUCH
 

Simes

Member
Windows built-in stuff doesn't play well with the default audio encoding OBS uses. Which was, ironically, written by Microsoft. You can get around the problem a different way by installing the Apple CoreAudio toolbox, which comes with iTunes, or (I think) by switching your audio bitrate to 192kbps or higher, which uses a different encoder.
 

Clipper

New Member
Simes, Thank you soo much. I had the same problem and was able to fix it by setting Bitrate to above 192kbps. Sorry Apple and VLC.
 

RytoEX

Forum Admin
Forum Moderator
Developer
Windows built-in stuff doesn't play well with the default audio encoding OBS uses. Which was, ironically, written by Microsoft. You can get around the problem a different way by installing the Apple CoreAudio toolbox, which comes with iTunes, or (I think) by switching your audio bitrate to 192kbps or higher, which uses a different encoder.

@Simes
I've been wondering for a while... If the Media Foundation encoders are terrible, why is it used for the 96, 128, 160, and 192 bitrates since FFmpeg (ffmpeg_aac) is used for everything else on Windows (if you don't have CoreAudio installed)? Are the Media Foundation encoders more efficient or is there some benefit, even though Windows Media Player (and Windows Movie Maker, and the Windows.Media.Editing APIs) can't handle the files output by OBS Studio using Media Foundation AAC?
 
Last edited:

Simes

Member
That I couldn't say, I'm not privy to how the internals work. I'm just going by problems I've had and what things seemed to solve them; for me, switching to CoreAudio fixed an audio desync problem I was having, stopped ffmpeg spitting out a load of errors when I was processing stuff in preparation for loading it into my editor, and also coincidentally seems to have fixed the issue of Films and TV playing the videos without sound. My best guess is that Media Foundation has a performance benefit over ffmpeg_aac, but I don't know.
 

Suslik V

Active Member
"Terrible", also means: "we are OK with its redistribution, if you have rights to use other product then use it" (CoreAudio has proprietary license, for example; Media Foundation already preinstalled on your Win8-10 system, so you accepted license; Linux has only FFmpeg by default etc.).
 

RytoEX

Forum Admin
Forum Moderator
Developer
That I couldn't say, I'm not privy to how the internals work. I'm just going by problems I've had and what things seemed to solve them; for me, switching to CoreAudio fixed an audio desync problem I was having, stopped ffmpeg spitting out a load of errors when I was processing stuff in preparation for loading it into my editor, and also coincidentally seems to have fixed the issue of Films and TV playing the videos without sound. My best guess is that Media Foundation has a performance benefit over ffmpeg_aac, but I don't know.

Yeah, I've noticed that's a common recommendation when having audio issues. It's also been mentioned in this forum that CoreAudio is considered superior (see this post and the two posts immediately after it). I'm sure Jim would know, but I'm hesitant to occupy his time on this musing of mine.


"Terrible", also means: "we are OK with its redistribution, if you have rights to use other product then use it" (CoreAudio has proprietary license, for example; Media Foundation already preinstalled on your Win8-10 system, so you accepted license; Linux has only FFmpeg by default etc.).

I understand the licensing concerns, but that's not what I was asking, and I'm not suggesting that CoreAudio is packaged with OBS Studio. On Windows, OBS Studio seems to use FFmpeg for most audio bitrates by default (see the spoiler tag below). Why not just use FFmpeg for the other bitrates if the Media Foundation codecs cause so many other issues? Is there a tangible benefit to using Media Foundation over FFmpeg?

I hate to tag people, but I wonder if @Sapiens can provide any insight?

I also realize that this has little to do directly with the OP's issue, so if this needs to be split off into its own thread, I'm all for it.

16:45:26.645: AAC encoder bitrate mapping:
16:45:26.645: 32 kbit/s: 'FFmpeg Default AAC Encoder' (ffmpeg_aac)
16:45:26.645: 64 kbit/s: 'FFmpeg Default AAC Encoder' (ffmpeg_aac)
16:45:26.645: 96 kbit/s: 'Media Foundation AAC Encoder' (mf_aac)
16:45:26.645: 128 kbit/s: 'Media Foundation AAC Encoder' (mf_aac)
16:45:26.645: 160 kbit/s: 'Media Foundation AAC Encoder' (mf_aac)
16:45:26.645: 192 kbit/s: 'Media Foundation AAC Encoder' (mf_aac)
16:45:26.645: 224 kbit/s: 'FFmpeg Default AAC Encoder' (ffmpeg_aac)
16:45:26.645: 256 kbit/s: 'FFmpeg Default AAC Encoder' (ffmpeg_aac)
16:45:26.645: 288 kbit/s: 'FFmpeg Default AAC Encoder' (ffmpeg_aac)
16:45:26.645: 320 kbit/s: 'FFmpeg Default AAC Encoder' (ffmpeg_aac)
 
Top