Timesnapper for Mac
I've created a bash script which takes screen-shots every few seconds, combines them into an mp4 every hour, and combines the hourly mp4s into daily ones each day.
Uses ImageMagick to overly the current time on each screenshot, and ffmpeg to combine the screenshots into videos.
http://damianblog.com/2015/05/26/macblackbox/