diff --git a/bin/.bin/screencap b/bin/.bin/screencap new file mode 100755 index 0000000..383808f --- /dev/null +++ b/bin/.bin/screencap @@ -0,0 +1,7 @@ +#!/usr/bin/env sh +# FFmppeg screen capture +# +REC_iface=$(pactl list sources short | awk '{print$2}' | grep 'monitor') +SCREEN_res=$(xrandr -q --current | grep '*' | awk '{print$1}') + +ffmpeg -f x11grab -r 25 -s 1920x1080 -i :0.0 -vcodec libx264 output.mkv