An open source Video4Linux2 capture library written in C++