ShayBox / Mon2Cam

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

Wayland option does not give monitor selector #86

Closed RealMrCactus closed 4 months ago

RealMrCactus commented 1 year ago

the -w flag will not show me the monitor selector and if i just use -m 0 or 1 i get the same issue


DEBUG Starting Mon2Cam with the following options: Options {
  hwEncoder: undefined,
  framerate: 60,
  device: 50,
  monitor: undefined,
  resolution: "",
  verboseFile: undefined,
  ffmpeg: [],
  border: false,
  sound: false,
  wayland: true,
  loggerOptions: { verbose: true },
  execOptions: { verbose: true, output: 3 }
}
DEBUG Checking if V4L2 device exists
DEBUG V4L2 device found with id 50
INFO Wayland detected, to use X11 add -x
INFO Many flags do not work with wayland, look in help for more info
INFO CTRL + C to stop
INFO The screen will look mirrored for you, not others

Exec Context: fc0756e1-a8c0-432f-96a5-7b8220c0d12f
    Exec Options:  { verbose: true, output: 3 }
    Exec Command: wf-recorder -x yuv420p -c rawvideo -m v4l2 -f /dev/video50
    Exec Command Splits:  [wf-recorder,-x,yuv420p,-c,rawvideo,-m,v4l2,-f,/dev/video50]```