Ask Your Question

Revision history [back]

opencv3.0 videowriter can't open encoder

when I use Videocapture of opencv2.x to save a video like video = VideoWriter("camera.avi", CV_FOURCC('X', 'V', 'I', 'D'), 32, cvSize(int(capture.get(CV_CAP_PROP_FRAME_WIDTH)), int(capture.get(CV_CAP_PROP_FRAME_HEIGHT))));

it is ok to open xvid encoder ,but when i use opencv3.0 xvid encoder is not open at all, I don't kown how to sovle this problem ,please help !!!!!