ShayBox / Mon2Cam

Workaround for multi-monitor Discord screensharing
MIT License
337 stars 33 forks source link

Wayland wr-recorder additional recording file #43

Open botiapa opened 3 years ago

botiapa commented 3 years ago

The wayland backend works, but currently creates a recording.mp4 in the working directory as well as outputs to /dev/videoX. I tried searching through the help page of it, but couldn't find a way to disable this.

Sorry for bothering you, but @brightcloudy, could lend a hand here please?

ShayBox commented 3 years ago

I don't see a way to disable it, so maybe a feature request upstream, but there's the -f flag, we can just point it to /dev/null to void it

botiapa commented 3 years ago

Yeah, but if I'm not mistaken, we already use the -f flag to point to to the virtual cam device:

const commandLines = ["wf-recorder", "-x yuv420p", "-c rawvideo", "-m v4l2",`-f /dev/video${options.device}\`];