Files
cheatsheet-tldr/tldr/linux/wf-recorder
2024-12-01 00:22:32 +00:00

23 lines
594 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)"`