Using FFMPEG to record timelapses
Created on 2020-11-12T16:07:22-06:00
Records one screen capture per second but plays back at 30fps.
ffmpeg -framerate 1 -f x11grab -s 1440,900 -i :0.0+0.0 -vf settb=1/30,setpts=N/TB/30 -r 30 -vcodec libx264 -crf 0 -preset ultrafast -threads 0 lapse.mkv -yffmpeg -framerate 1 -f x11grab -s 1440,900 -i :0.0+0.0 -vf settb=1/30,setpts=N/TB/30 -r 30 -vcodec libx264 -crf 0 -preset ultrafast -threads 0 lapse.mkv -y
Change `-s 1440,900` to the size of the area to record (ex. your screen resolution.)
Change `-i :0.0+0.0` to move the area of recording (or leave it at zero to record everything.)