Use videocapture to read frames from file in Java using JNI. [closed]

asked 2013-11-20 06:27:29 -0600

itay gravatar image

updated 2013-11-20 07:14:35 -0600

berak gravatar image


As I understood, it is not possible to read frames from mp4 file in android.

Someone know what is the reason?

another question, is there a way to implement a jni code in c++ that do this?


edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by sturkmen
close date 2020-10-11 04:06:25.153902


the ffmpeg backend is missing on android ao you acn't read any video files.

you'll have to compile your own, and wrap that

berak gravatar imageberak ( 2013-11-20 07:14:13 -0600 )edit

Can you please give me more information about how can I do it? maybe a good tutorial? I have a 1920x1080 video that I need to decode to 400 frames it takes a lot of time to do that without it. Thank you.

itay gravatar imageitay ( 2013-11-20 07:50:54 -0600 )edit

sorry, i only know the problem, not the remedy.

berak gravatar imageberak ( 2013-11-20 09:11:43 -0600 )edit

lol Thanks

itay gravatar imageitay ( 2013-11-21 01:15:03 -0600 )edit