video capture working