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

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

itay gravatar image

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

berak gravatar image

Hi,

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?

Thanks!

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

Comments

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 -0500 )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 -0500 )edit

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

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

lol Thanks

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