Waffelson@lemmy.world to Linux@lemmy.ml · 9 days agoIs there way to capture wayland with ffmpeg?message-squaremessage-square5linkfedilinkarrow-up124arrow-down11file-text
arrow-up123arrow-down1message-squareIs there way to capture wayland with ffmpeg?Waffelson@lemmy.world to Linux@lemmy.ml · 9 days agomessage-square5linkfedilinkfile-text
I know that OBS has pipewire window/screen capture but I want to use ffmpeg to capture as I can use x11grab on xorg
minus-squarebacon_pdp@lemmy.worldlinkfedilinkarrow-up14·9 days agoDepends on if your Window Manager supports the extension https://www.phoronix.com/news/Wayland-Merges-Screen-Capture
minus-squareTMP_NKcYUEoM7kXg4qYe@lemmy.worldlinkfedilinkarrow-up3·edit-28 days agoAlso 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.
Depends on if your Window Manager supports the extension
https://www.phoronix.com/news/Wayland-Merges-Screen-Capture
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.