Talk:Screen capture

From ArchWiki
Latest comment: 29 January 2023 by Microraptr in topic Via a virtual webcam video feed

Wayland Screensharing

From reading the non-GONME-specific subsections of the "Wayland Screensharing" section it sounds like the instructions are more or less universal. Instead, they do not work on the default GNOME compositor Mutter. I was confused by this and tried to configure my system according to the instructions. But apparently they only work for wlroots-based compositors since wf-recorder prints "compositor doesn't support wlr-screencopy-unstable-v1" under GNOME. That should be more clear. I am writing this on the Talk page, because I am a more or less inexperienced ArchWiki contributor. As far as I understand this means that there seems to be no way to share a screen with clients still relying on X11 (such as zoom) under GNOME on Wayland.

—This unsigned comment is by Jaudriga (talk) 08:02, 11 November 2020‎. Please sign your posts with ~~~~!

sorry! Will do! Jaudriga (talk) 08:08, 18 November 2020 (UTC)Reply[reply]
I added a warning on concerned sections
Edit: reverted, see #Refactor Wayland screen capture
Ocisra (talk) 18:19, 2 January 2021 (UTC)Reply[reply]

Refactor Wayland screen capture

I'm going to refactor the Wayland part of this page to better reflect the limitations due to the protocol (wlroots in this case). I thought to something like this :

3 Screencapture under Wayland

general stuff such as the grim/slurp method
3.1 Wlroot-based compositor
the wf-recorder method

4 Screenshare under Wayland

4.1 Gnome
gnome part stays unchanged
4.2 Wlroot-based compositor
4.2.1 Via a virtual webcam video feed
sharing individual applications goes in a tip block about how to share a region of the screen
4.2.2 Via WebRTC protocol
4.2.2.1 Multiple monitors
This might better fit in a big tip block but I'm not sure, let me know what you think

Let me know what you think of this organization

Ocisra (talk) 11:11, 3 January 2021 (UTC)Reply[reply]

Thanks for taking the time to work on this. It is certainly a good idea to restructure this. A bit confusing for me is that there are then four different terms in the headings that are somehow similar: Screenshot, Screencast, Screenshare and Screencapture. Maybe it would make sense to stick to how Wikipedia defines it [1]: Screen capture is the general term and screenshot and screencast are the more specific terms.
Also, screencasting via WebRTC actually works on my machine under GNOME via PipeWire#WebRTC_screen_sharing. So putting it under the "Wlroot-based compositor" section is probably wrong. At least it should be mentioned that this is possible on GNOME as well.
I have no real opinion on where to put "Multiple monitors". Moving it into a tip block or keeping it in a subsection should both be fine.
Jaudriga (talk) 08:53, 4 January 2021 (UTC)Reply[reply]
I browsed the wiki and found other pages related to this topic: PipeWire#WebRTC screen sharing and Wayland#Remote display.
Concerning WebRTC, I could expand it's section on this page or PipeWire's page and just add a link to it on the other. I would mention the different backends (gnome, wlroots, kde). Furthermore, it will gather all the information on the same place. I also think Remote desktop/Desktop sharing is worth mentioning and I could also just link to another page : Wayland#Remote display.
The virtual video feed section can be generalized to any screen recorder such as green-recorder for Gnome. You just need to output the video on the virtual device. I didn't test it but I think that there wouldn't be any problem.
Thus I can just keep the actual structure and expand the sections to be usable with any DE / WM. What do you think of it ?
Concerning the different terms, I don't really know what to do, I don't think screenshare should go anywhere else but maybe I could link some definitions in the first sentence of the page, any other suggestions ? -- Ocisra (talk) 10:18, 4 January 2021 (UTC)Reply[reply]
Sounds great :) . Thanks for poking around a bit more. Concerning the wording I would say: Try to call it screencast instead of screen share (at least in the headings) when talking about streaming a video. Jaudriga (talk) 10:37, 4 January 2021 (UTC)Reply[reply]
Ok thanks for the for your help, I will do it later this week -- Ocisra (talk) 11:04, 4 January 2021 (UTC)Reply[reply]
I'm done, do you see anything that could be done better ? -- Ocisra (talk) 13:02, 9 January 2021 (UTC)Reply[reply]
I like it better now. One thing that still confuses me a bit is that most of the extensive instructions are for wlroots-based compositors. For example, it is currently still unclear for me how to cast my video via zoom or Teams under GNOME. However, I currently have no good idea how to properly fix this. Maybe somebody else has an idea? Jaudriga (talk) 10:00, 11 January 2021 (UTC)Reply[reply]
Lahwaacz flagged a section to move so I'm going to move that. Concerning the few instructions for non wlroots-based, I use sway (wlroots-based) so I don't really know how GNOME and others work and I don't want to write things that I'm not sure are working. So I'm not going to write detailed instructions such as those written for wlroots. -- Ocisra (talk) 12:11, 11 January 2021 (UTC)Reply[reply]
I recently found out that GNOME has support for built-in screencast recording under Wayland GNOME/Tips_and_tricks#Screencast_recording. It probably makes sense to add that to a Screen_capture#Screencast_software#Desktop environment specific Section? Jaudriga (talk) 08:32, 8 February 2021 (UTC)Reply[reply]
Done -- Ocisra (talk) 08:05, 9 February 2021 (UTC)Reply[reply]
Awesome. Thanks! Jaudriga (talk) 08:11, 9 February 2021 (UTC)Reply[reply]

Via a virtual webcam video feed

The method described in Screen capture#Via a virtual webcam video feed is described with a little bit more detail about v4l2loopback in the new article here: v4l2loopback#Casting Wayland using wf-recorder. So I think it is safe to delete most of the text except for the link on top. -- Microraptr (talk) 22:33, 29 January 2023 (UTC)Reply[reply]