OpenCV's cv::VideoCapture and cv::VideoWriter classes makes handling video files...
Stéphane Charette 🇨🇦 @charette@mstdn.ca
OpenCV's cv::VideoCapture and cv::VideoWriter classes makes handling video files so much easier. With these caveats:
1) All audio is stripped away. Which might be acceptable since OpenCV is "computer vision", but so often people have to re-invent the wheel to strip the audio, work with video, and then merge the audio with the video again.
2) When things go wrong, there is zero helpful information. Often you'll get a simple bool result of false. Or you may get a C++ exception, but other than to say it failed, there is zero indication as to why it failed.
That might be it. Other than those 2 things, I've been using these classes for years, and wouldn't want to give them up. #OpenCV #C++