Ask Your Question

jg2832's profile - activity

2017-04-12 00:03:57 -0600 received badge  Enthusiast
2017-04-04 17:30:50 -0600 asked a question 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.