Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Shared screen looks entirely black #82

Open
MeGustaElArroz-23 opened this issue Mar 9, 2022 · 2 comments
Open

Shared screen looks entirely black #82

MeGustaElArroz-23 opened this issue Mar 9, 2022 · 2 comments

Comments

@MeGustaElArroz-23
Copy link

Installed following the instructions, but when i tried to share the webcam just looks like this
image
Tried rescaling to other resolutions, it does either look like this or just keeps loading forever
Using Ubuntu 21.10.

~$ mon2cam -v
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: false,
  loggerOptions: { verbose: true },
  execOptions: { verbose: true, output: 3 }
}
DEBUG Checking if V4L2 device exists
DEBUG V4L2 device found with id 50
INFO X11 detected, to use Wayland add -w
0: 1920x1080 XWAYLAND2
1: 1536x864 XWAYLAND0
Which monitor?
0
INFO CTRL + C to stop
INFO The screen will look mirrored for you, not others

Exec Context: 24ab5e2d-b052-40af-b96e-022e69ba9511
    Exec Options:  { verbose: true, output: 3 }
    Exec Command: ffmpeg -f x11grab -r 60 -s 1920x1080 -i :0+0,0 -pix_fmt yuv420p -f v4l2 /dev/video50
    Exec Command Splits:  [ffmpeg,-f,x11grab,-r,60,-s,1920x1080,-i,:0+0,0,-pix_fmt,yuv420p,-f,v4l2,/dev/video50]
@MeGustaElArroz-23
Copy link
Author

I tried to share the other monitor in which i had opened discord and the terminal. It apparently shows where my cursor is but the rest is black
image

@RealMrCactus
Copy link

add the -w flag for wayland

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants