Added a threaded ivf writer to record e.g. webcam data at 60fps