Ask Your Question
0

videoCapture.isOpen() return false on android studio

asked 2017-01-10 02:27:54 -0600

ritu gravatar image

hello everyone,i am using VideoCapture class opencv3 with android studio,but it does not work for the following code

VideoCapture videoCapture; videoCapture = new VideoCapture(Environment.getExternalStorageDirectory() + "/AxFile/Sample1.mp4"); videoCapture.isOpened()//

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-01-10 02:51:01 -0600

berak gravatar image

updated 2017-01-10 02:52:34 -0600

sad as it is, the only video file format supported by opencv on android is MJPG (in .avi container)

(lacking backends, like ffmpeg or gstreamer on that platform)

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2017-01-10 02:27:54 -0600

Seen: 516 times

Last updated: Jan 10 '17