Recording¶
The Recording screen is displayed while your recording is in progress. It provides real-time status information and controls for pausing or stopping the recording.
Screen Preview¶
Screen Elements¶
Camera Icon¶
A large video camera icon is displayed in the center, providing visual confirmation that recording is active.
Status Indicator¶
REC
The blinking "REC" indicator confirms the recording is active. It blinks every 500ms to clearly show the recording state.
Elapsed Time¶
00:05:23
Shows the current recording duration in HH:MM:SS format. Updates every second.
Control Buttons¶
Two action buttons are available:
| Button | Description |
|---|---|
| [ Pause ] | Temporarily pause the recording |
| [ Stop ] | End the recording |
Use Left / Right to select between buttons, then Space or Enter to activate.
Paused State¶
When paused, the display changes:
Paused State Changes:
- Camera icon replaced with pause icon (two vertical bars)
- "REC" changes to "PAUSED" (yellow)
- "Pause" button changes to "Resume"
- Timer freezes at pause point
- FFmpeg processes receive SIGSTOP signal
Keyboard Shortcuts¶
| Key | Action |
|---|---|
| P | Toggle pause/resume |
| S | Stop recording |
| Left / Right | Select button |
| Space / Enter | Activate selected button |
Recording Processes¶
While recording, the following processes run simultaneously:
| Process | Description |
|---|---|
| Screen capture | FFmpeg capturing the selected monitor |
| Audio capture | FFmpeg capturing microphone input |
| Webcam capture | FFmpeg capturing webcam (if enabled) |
Process IDs are stored in temporary files:
/tmp/kvp-video-pid/tmp/kvp-audio-pid/tmp/kvp-webcam-pid
Pause Functionality¶
How Pause Works¶
- SIGSTOP signal sent to all recording processes
- Timer display freezes
- UI updates to paused state
- Processes remain in memory, ready to resume
Resume Behavior¶
- SIGCONT signal sent to all processes
- Timer continues from pause point
- UI returns to recording state
- No gaps in the final video
Pause Limitations
The pause feature uses Unix signals and works best on Linux. Behavior may vary on other platforms.
Stopping the Recording¶
When you stop the recording:
- SIGTERM sent to all recording processes
- Processes cleanly terminate and finalize files
- Screen transitions to Processing screen
- Post-processing begins automatically
File Outputs¶
During recording, files are written to:
~/Videos/Screencasts/<topic>/<title>/
├── video.mkv # Raw screen capture
├── audio.wav # Raw audio capture
├── webcam.mkv # Raw webcam (if enabled)
└── metadata.json # Recording information
Workflow Position¶
Technical Details¶
- Display refresh: Every 100ms for smooth timer updates
- Blink interval: 500ms for REC indicator
- Signal handling: SIGSTOP/SIGCONT for pause, SIGTERM for stop
- Process monitoring: Regular checks for process health
Related Pages¶
- Countdown - Before recording starts
- Processing - After recording ends
- Recording Setup - Configuration options