Le 1 août 2024 10:44:43 GMT+03:00, Anton Khirnov <an...@khirnov.net> a écrit :
>Quoting François-Simon Fauteux-Chapleau (2024-07-30 21:53:05)
>> ----- On Jul 28, 2024, at 10:53 AM, Quack Doc quackdoct...@gmail.com wrote:
>> > Is it possible to use this without using the portals API and without
>> > systemd? That would be much appreciated if so since the portal is not very
>> > flexible.
>> 
>> I don't like the portals API either and would rather not have to use it, but
>> as far as I can tell there is no alternative. All the other projects that
>> use PipeWire for screen capture that I've looked at (e.g. WebRTC, OBS Studio)
>> use it, and according to the XDG Desktop Portal documentation,
>> "the primary way of capturing screens and windows on Wayland desktops is
>> through the ScreenCast portal, and some desktop environments don’t even 
>> expose
>> other means to capture the screen or windows."
>> (https://flatpak.github.io/xdg-desktop-portal/docs/reasons-to-use-portals.html)
>
>That looks a lot like "vendor says its product is the best thing ever".
>Does the pipewire project itself have a position?

Pipewire can't capture the desktop without the cooperation of the Wayland 
display server. There may be ways to grab the screen, which may involve 
Pipewire, or some vendor-specific Wayland protocol extension, but that will be 
dependent on each and every display server.

It should be possible to capture video from sensors though. But we can use V4L2 
directly without needing Pipewire for that - unless we are in a container and 
then we have to use the desktop portal.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to