[bin] newjail script and screencap

This commit is contained in:
2021-04-23 20:26:57 -04:00
parent 9eb74b96bf
commit f89eaa9cd9
2 changed files with 29 additions and 1 deletions

View File

@ -4,4 +4,5 @@
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
#ffmpeg -f x11grab -r 25 -s 1920x1080 -i :0.0 -vcodec libx264 -f alsa -ac 2 -i pulse -acodec aac output.mkv
ffmpeg -video_size 1920x1080 -framerate 25 -f x11grab -i :0.0 -f alsa -ac 2 -i pulse ~/tmp/output.mp4