commit c10e0358458fcd70c5e1a283cf29bae263691abe parent c14d0b7a42fa13ce350bda54bf9a18cea7c6c293 Author: dwrz <dwrz@dwrz.net> Date: Tue, 28 Nov 2023 22:52:22 +0000 Update screen capture script Diffstat:
M | scripts/screen-capture | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/scripts/screen-capture b/scripts/screen-capture @@ -12,9 +12,10 @@ if [ "$1" = "audio" ]; then -f pulse \ -ac 2 \ -i default \ + -c:v libx264 \ "${OUTPUT}" else >&2 echo "not capturing audio" - ffmpeg -video_size "${RESOLUTION}" -f x11grab -i :0.0 "${OUTPUT}" + ffmpeg -video_size "${RESOLUTION}" -f x11grab -i :0.0 -c:v libx264 "${OUTPUT}" fi