What screen recording/screencast software do y'all use? I've had issue with pretty much everything I've tried.
(My use case is making simple webM or gif recordings to post on Mastodon or in README files, etc. and I'm on arch linux, so I have pretty wide package availability)
@immae Thanks. I p1ste the code here for posterity:
#!/bin/bash
GEOMETRY=`ffcast -s % echo "%D+%g"`
DISP=`echo $GEOMETRY | cut -d'+' -f1`
SIZE=`echo $GEOMETRY | cut -d'+' -f2`
X=`echo $GEOMETRY | cut -d'+' -f3`
Y=`echo $GEOMETRY | cut -d'+' -f4`
if [ -z "$1" ]; then
OUTPUT=out.gif
else
OUTPUT=${1}.gif
fi
ffmpeg -y -f x11grab -framerate 25 -video_size $SIZE -i $DISP+$X,$Y -vf crop="iw-mod(iw\,2):ih-mod(ih\,2)" $OUTPUT
@codesections