I am trying to run some code from the internet (which works perfectly fine on another computer). But the software doesn't work because it can't open video files in openCV.According to a person I had the chance to meet, it is because I didn't install a specific thing when installing openCV or codeblocks.I would like to know how I can figure out what I need to install to get the code to work and how I can afterwards install it.  - I am using linux mint   - openCV 3.x in Code::Blocks IDEEDIT:The code compiles and runs perfectly fine, but what I get is the message on line 54 of my software. Yes the path to the video is correct and doesn't contain spaces! Yes I am talking about the openCV library.This is the relevant code:// Camera CaptureVideoCapture test(/home/john/car.mpeg);if (!test.isOpened()){    cout << file not opened<<endl; // <- this is line 54}The output is file not opened.The code I am trying to run is from this tutorial.
How to read videos in openCV on a linux machine?
files;software installation;video;opencv