summaryrefslogtreecommitdiffstats
path: root/screencast
blob: 2107e983f6de1fe03fc52a72743882279cae4fbc (plain)
1
2
3
4
#!/bin/bash

ffcast -w % ffmpeg -r 30 -f x11grab -s %wx%h -i %d+%x,%y -an -vcodec libx264 -preset medium -pix_fmt yuv444p -crf 25 ./screencast$(date -Iseconds).mp4
#ffcast -w % ffmpeg -r 30 -f x11grab -s %wx%h -i %d+%x,%y -an -vcodec libvpx -preset medium -pix_fmt yuv444p -crf 25 ./screencast$(date -Iseconds).webm