Closed hekkup closed 7 years ago
This issue has been fixed in OpenCV 3.1.0: https://github.com/opencv/opencv/issues/5439
There are a few solutions:
7c292fa adds OpenCV 3.1.0 installation instructions.
Sorry for the delay. I was without internet. Good find. I merged it. Thanks
I noticed that the video doesn't get written in Ubuntu 16.04.1 LTS. OpenCV version is 2.4.9.1. Version 3 is not available in the normal repository. Only a header 5686 bytes long gets written.
It might be possible to bypass cv::VideoWriter by writing video with Qt Multimedia framework or GStreamer which is the backend of the multimedia framework and possibly also the backend of OpenCV.