Ask Your Question

Revision history [back]

Probably, the path isn't good (F:\Bee videos\P1040356.mov), try to escape the backslash: F:\Bee videos\P1040356.mov

To be sure, add a log message in your code:

if (!capture.isOpened())
{
    std::cerr << "Unable to load the video" << std::endl;
    return 1;
}

use a terminal (cmd.exe) and launch your program to see the log message (or not).