# wf-recorder > Screencast for Wayland optionally with audio. > By default you need to end the process with ``. > More information: . - 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)"`