Added frame capture to make videos.