Waffelson@lemmy.world to Linux@lemmy.ml · 1 month agoIs there way to capture wayland with ffmpeg?message-squaremessage-square5fedilinkarrow-up124file-text
arrow-up124message-squareIs there way to capture wayland with ffmpeg?Waffelson@lemmy.world to Linux@lemmy.ml · 1 month agomessage-square5fedilinkfile-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·1 month 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-21 month 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.