----- On Aug 2, 2024, at 12:11 PM, Quack Doc quackdoct...@gmail.com wrote:
> Pipewire video capture is more generic. Some compositors like weston
> support pipewire as a backend without portals. Gamescope also creates a
> pipewire output without need for portals, it would be *really* nice to
> support gamescope capture with this. Pipewire also gives access to video
> devices directly as well without needing portals, which allows
> ergonomically letting multiple apps accsess v4l2 devices for instance like
> firefox and say discord. So being able to support the file descriptor
> directly, or using target-object much like the pipewiresrc gstreamer would
> be greatly appreciated.

The patch already supports passing a file descriptor and a PipeWire node ID
directly via the "fd" and "node" options. The portal is only used if these
values are not provided by the user.

The original motivation for adding these options was to allow communication
with the portal to be handled outside of FFmpeg, but I imagine they could also
be used on e.g. Weston to bypass the portal entirely.
_______________________________________________
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