Screen Recording
shotdock uses wf-recorder for H.264 video recordings.
Recording Profile
Default configuration:
- Codec:
libx264 - Rate control: Constant Rate Factor
crf=18 - Frame rate: 60 FPS (
record_fps) - Pixel format:
yuv420p - Preset:
veryfast
Interactive Target Selection
Trigger screen recording:
shotdock -r
shotdock opens a selection menu (via rofi if installed):
- Display: Choose a monitor to record.
- Window or Area: Click a window or drag a region using
slurp.
To start region recording directly without the menu:
shotdock --record-area
Process Management
- Start: Run
shotdock -r. - Stop: Run
shotdock -ragain. - Signal:
wf-recorderis sentSIGINTto cleanly finalize the MP4 container. - Clipboard: File path to the
.mp4is copied to clipboard. - Default Directory:
~/Videos/Recordings/. - PID File: Tracked in
$XDG_RUNTIME_DIR/shotdock/record.pid.