First time here? Check out the FAQ!
answered 2016-12-05 06:02:15 -0600
Use cv::VideoCapture class, it supports described functionality - documentation, tutorial
cv::VideoCapture