Open ghost opened 2 years ago
Same problem here...
Everything but the screencast works fine. However, I get a black screen when casting the entire desktop (mkchromecast --name tv_joao --control --notifications --video --screencast
). The cursor does show sporadically, however.
Do you happen to know what may be the origin of this problem?
Are you using Wayland?
Are you using Wayland?
Yes, indeed I was! Ended up using another solution, but - just out of curiosity - was that the problem? Is it now compatible with Wayland or the issue still persists?
Are you using Wayland?
Yes, indeed I was! Ended up using another solution, but - just out of curiosity - was that the problem? Is it now compatible with Wayland or the issue still persists?
Wayland has been known to cause issues with anything related to screen sharing. If there is an option to use mkchromecast with pipewire, that should work.
For some reason, the cast is completely dark with
--screencast
for me-y works, and ffmpeg/x11grab also works, i have no idea what's went wrong, maybe theres an unsupported codec somewhere? I'm using h.264 which is apparently supported
ffmpeg-related output (when run w/
mkchromecast --video --encoder-backend ffmpeg --resolution 1080p --screencast --display :0 --vcodec h.264
):btw i ❤️ what you made here, keep it up y'all!