# Revision history [back]

### VideoCapture can not get the right code of codec

VideoCapture vido_file("D:\1.avi");//read file if(vido_file.isOpened()==NULL) return -1; int ex = static_cast<int>(vido_file.get(CV_CAP_PROP_FOURCC));

i copy the codes from user manul,but i doesn't work. ex=1196444237,why ? thank you for help .

### VideoCapture can not get the right code of codec

    if(vido_file.isOpened()==NULL)