Micphone and video and sound

In PsychoPy, while playing a video with audio, it also records audio. The final recording captures the sound from the video as well. How can this be resolved?

OS (e.g. Win10):
PsychoPy version (e.g. 1.84.x):
Standard Standalone? (y/n) If not then what?:
What are you trying to achieve?:

What did you try to make it work?:

What specifically went wrong when you tried that?:
Include pasted full error message if possible. “That didn’t work” is not enough information.