From: "Rémi Denis-Courmont" <remi@remlab.net>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Subject: Re: [FFmpeg-devel] [PATCH v2] libavfilter: add PipeWire-based grab
Date: Thu, 01 Aug 2024 14:34:15 +0300
Message-ID: <0CF9CC87-B126-4CA0-B237-4B7F10E08D4A@remlab.net> (raw)
In-Reply-To: <172249828350.21344.13976047225059965597@lain.khirnov.net>
Le 1 août 2024 10:44:43 GMT+03:00, Anton Khirnov <anton@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 quackdoctech@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-request@ffmpeg.org with subject "unsubscribe".
next prev parent reply other threads:[~2024-08-01 11:34 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-28 14:53 Quack Doc
2024-07-30 19:53 ` François-Simon Fauteux-Chapleau
2024-08-01 7:44 ` Anton Khirnov
2024-08-01 11:34 ` Rémi Denis-Courmont [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-08-02 16:11 Quack Doc
2024-08-02 19:41 ` François-Simon Fauteux-Chapleau
2024-08-04 20:11 ` Quack Doc
2024-08-06 15:34 ` François-Simon Fauteux-Chapleau
2024-08-06 16:39 ` Quack Doc
2024-08-07 3:00 ` Quack Doc
2024-08-07 17:29 ` François-Simon Fauteux-Chapleau
2024-05-10 21:12 François-Simon Fauteux-Chapleau
2024-05-11 14:08 ` Andrew Sayers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0CF9CC87-B126-4CA0-B237-4B7F10E08D4A@remlab.net \
--to=remi@remlab.net \
--cc=ffmpeg-devel@ffmpeg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git