Ask Your Question

binzi's profile - activity

2016-06-12 08:07:11 -0600 commented answer Why OpenCV4Android VideoCapture cannot open filename in android

If i add ffmpeg to my project ,can i use this function? Or is there any other way to read video by opencv4android. I find most of solutions are using JavaCV instead.

2016-06-12 04:48:03 -0600 received badge  Editor (source)
2016-06-11 16:27:23 -0600 asked a question Why OpenCV4Android VideoCapture cannot open filename in android

I am new to Opencv4Android, now I want to use android to open a file from android device by filename, The codes are like below:

VideoCapture cap; cap.open("/mnt/sdcard/DCIM/Camera/demo.mp4");

I found it always be empty, and always read an empty Mat by cap.read(); Does anyone has ever try this, please help ! Thanks !