Hi,
Thanks!
Could open camera port but the same time opening video source input file not happening.Here are the source code lines, always showing "Cannot open the video file.":
VideoCapture cap("test.mp4");
// cap is the object of class video capture that tries to capture test.mp4
if ( !cap.isOpened() ) // isOpened() returns true if capturing has been initialized.
{
cout << "Cannot open the video file. \n";
return -1;
}
Source file placed at the right path with full permissions. Tried changing the location of source file also.
Target: imx8mq-evk
Host: ubuntu 16.04
Source: 5.4.3_1.0.0