Re: [FFmpeg-devel] [PATCH v2] libavfilter: add PipeWire-based grab

2024-08-07 Thread François-Simon Fauteux-Chapleau
- On Aug 6, 2024, at 11:00 PM, Quack Doc quackdoct...@gmail.com wrote: > For a POC I commented out the fd stuff so it wouldn't fail on me and > replaced pw_context_connect_fd() with pw_context_connect() and it > seemed to work fine with gamescope, gamescope only produces RGB frames > and not YU

Re: [FFmpeg-devel] [PATCH v2] libavfilter: add PipeWire-based grab

2024-08-06 Thread François-Simon Fauteux-Chapleau
- On Aug 4, 2024, at 4:11 PM, Quack Doc quackdoct...@gmail.com wrote: > I see, I tried to pull the patch and test it. How does invocation with > node work? I'm a bit confused with the invocation. For testing I tried > using "gamescope --headless -- glxgears" to generate a raw pipewire > stream.

Re: [FFmpeg-devel] [PATCH v2] libavfilter: add PipeWire-based grab

2024-08-02 Thread François-Simon Fauteux-Chapleau
- 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 > supp

Re: [FFmpeg-devel] [PATCH v2] libavfilter: add PipeWire-based grab

2024-07-30 Thread François-Simon Fauteux-Chapleau
- 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

[FFmpeg-devel] [PATCH v2] libavfilter: add PipeWire-based grab

2024-05-10 Thread François-Simon Fauteux-Chapleau
an then be used to generate frames for FFmpeg. Example usage: ffmpeg -f lavfi -i pipewiregrab \ -vf 'hwmap=derive_device=vaapi,scale_vaapi=format=nv12' \ -c:v h264_vaapi -t 10 output.mp4 Signed-off-by: François-Simon Fauteux-Chapleau --- configure |

[FFmpeg-devel] [PATCH] libavfilter: add PipeWire-based grab

2024-03-15 Thread François-Simon Fauteux-Chapleau
pewiregrab Signed-off-by: François-Simon Fauteux-Chapleau --- configure | 16 + libavfilter/Makefile|1 + libavfilter/allfilters.c|1 + libavfilter/vsrc_pipewiregrab.c | 1357 +++ 4 files changed, 1375 insertions(+) c