Ask Your Question

Revision history [back]

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

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).