Encapsulate video capture in class.