Sharex record screen audio along with microphone

Solution 1:

On the "Additional command line arguments" text field add this:

-f dshow -i audio="Headset (HD 450BT Hands-Free AG Audio)" -filter_complex amix=inputs=2:duration=longest

In my case, where my headset (HD 450BT Hands-Free AG Audio) is also my microphone, you can find the correct name by momentarily changing the "Audio source" field and selecting your microphone or headset. When you select it, you will see that the "Command line preview" changes and the parameter -i audio reflects that headset name, copy that name from there and replace the quoted name in the command above.

At the end it should look like this:

enter image description here

(don't forget to change the audio source back to "virtual-audio-capturer" before pasting the additional command line arguments)

Note: the button "Install recorder devices" adds "screen-capture-recorder" and "virtual-audio-capturer" to the "Video Source" and "Audio source" fields respectively, in case you can't see them as available options.

Solution 2:

I had the same problem as you and I could not solve it with ShareX.

However, with OBS it was straightforward to record desktop audio and microphone audio at the same time.

  • Install OBS.
  • Edit its graphic settings as explained here - this will prevent the black screen problem.
  • Open OBS.
  • In the bottom-left corner, choose the "Scene".
  • On the pane to its right, add three sources: "Display Capture", "Display Audio", and "Audio Input Capture".
  • On the bottom right, click "Start Recording".
  • Once the recording is done, click "Stop Recording".

enter image description here