Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

makeptr<videofilesource>(inputpath) does not showing the input file path

I was trying to do stabilization of video using this link as reference github.com/opencv/opencv/blob/master/samples/cpp/videostab.cpp but the code breaks in the following line (line number 369) in Android platform.

Ptr<VideoFileSource> source = makePtr<VideoFileSource>(inputPath)

It shows the following error even though the file is presnt in the inputpath location:

Error: CV_Error(0, "can't open file: [inputpath])

I am using opencv for android version 3.2.0. Can anyone please tell me how to resolve this issue. Thanks in advance.