[SOLVED] Video capture software

I am developing a game, on a Windows 10 PC, and would like to record some game footage, to use for a trailer.

Do you have any suggestions for software which will record both video and the audio, but not background sounds?

Thanks in advance.

I can’t believe that I had completely forgotten about the Windows 10 Game Bar. This has allowed me to do exactly what I wanted. I’m not going to delete this thread, as somebody else may find the solution useful.