Ask Your Question

Revision history [back]

Video file is damaged while writing it to the VideoWriter Object using object.write() method

I am trying to read in a video file in local system using a streaming layer built on top of the VideoCapture object and then trying to save it into another location on the local system using VideoWriter object. However, the file that is getting saved is getting corrupted. It basically seems like none of the frames are being recorded while reading the file. Any ideas on how to resolve it?