Ask Your Question

Sonny's profile - activity

2015-11-04 19:43:58 -0600 commented question Videocapture not work in Opencv 3.0.0 for android

I guess the issue here is the lack of FFMpeg in my application. Although I'm not 100% sure about this - I don't think its a good idea to use FFMpeg as it's a license hell. From what I understand FFMpeg is GPL licensed (or atleaset some libraries of it), and not that great to build a commercial application

2015-11-01 17:16:56 -0600 received badge  Enthusiast
2015-10-24 17:45:47 -0600 answered a question OpenCV 3.0 BETA - can't open video files

Isn't FFMpeg GPL licensed? I think you can't use FFMpeg in a commercial application

2015-10-24 11:14:46 -0600 received badge  Editor
2015-10-24 11:11:12 -0600 answered a question Videocapture not work in Opencv 3.0.0 for android

I am having the same issue, OpenCV fails to load video from a file.

VideoCapture videoSource = new VideoCapture(filePath);

if (videoSource.isOpened()) {
   Log.i("Opencv", "source initialized");
} else {
   Log.i("Opencv", "source initialization failed");
}

Always prints out source initialization failed. filePath looks something like this

String filePath = "/storage/emulated/0/DCIM/Camera/VID_20151023_232013.mp4"

Please help!