massive cleanup

This commit is contained in:
ange 2025-06-17 05:13:23 +00:00
parent 81da0e63fa
commit 5a6ec6f75c
Signed by: ange
GPG key ID: 9E0C4157BB7BEB1D
35 changed files with 134 additions and 126 deletions

View file

@ -2,9 +2,18 @@
output="$HOME/Videos/ffcapture$(date '+%Y%m%d_%H%M%S').mp4"
ffmpeg \
-framerate 30 \
-f x11grab -i "$DISPLAY.0" -c:v libx265 \
"$output"
video=(
-f x11grab
-i "$DISPLAY.0"
)
# -f pulse -i # sink
audio=(
-f pulse
-i default
)
ffmpeg \
-framerate 10 \
"${video[@]}" \
"${audio[@]}" \
"$output"