Ask Your Question

Revision history [back]

Actually if it returns a false, than it means that your system/openCV does not have a codec available to decode mp4 videos. It doesn't support the format. Going with AVI or other decoding format is the way to go if you want it to work.

But if I am correct, it also depends on the codecs you have installed on your computer. Check if you actually have mp4 codecs on your system.