11 lines
188 B
Bash
Executable File
11 lines
188 B
Bash
Executable File
#!/bin/bash -e
|
|
|
|
output="$HOME/Videos/ffcapture$(date '+%Y%m%d_%H%M%S').mp4"
|
|
|
|
ffmpeg \
|
|
-framerate 30 \
|
|
-f x11grab -i "$DISPLAY.0" -c:v libx265 \
|
|
"$output"
|
|
|
|
# -f pulse -i # sink
|