Files
cheatsheet-tldr/tldr/linux/wf-recorder
2025-03-10 00:15:53 +00:00

23 lines
598 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# wf-recorder
> Screencast for Wayland optionally with audio.
> By default you need to end the process with `<Ctrl c>`.
> More information: <https://github.com/ammen99/wf-recorder>.
- Record storing to an MP4 file:
`wf-recorder --file={{output.mp4}}`
- Record including audio, both with mic and system sounds:
`wf-recorder --audio --file={{/path/to/file_with_audio.webm}}`
- Select and record a portion of the screen using `slurp`, outputting to default `recording.mp4`:
`wf-recorder -g "$(slurp)"`