creates a timelaps video with ffmpeg