A fast multi-threaded video recording extension using ffmpeg