I know that OBS has pipewire window/screen capture but I want to use ffmpeg to capture as I can use x11grab on xorg

you are viewing a single comment's thread
view the rest of the comments
[–] 3 points 1 year ago* (last edited 1 year ago)

Also depends if FFmpeg supports it. Wayland is not mentioned in the Documentation.

https://ffmpeg.org/ffmpeg-devices.html

Edit: Different comment mentioned the wf-recorder, which uses FFmpeg's libraries but not the CLI utility, so I guess that's the closest you can get to using FFmpeg. They also show some CLI usage.

  • source
  • parent