Reputation: 7891
I need to read an AVI file in Android and process its frames. I know its C++ way but not the android one! Can someone help me and give a start point. I'm using opencv 2.4.5.
Upvotes: 2
Views: 2330
Reputation: 3439
i'm not sure if it's useful , but take a look at this:
http://www.stanford.edu/class/ee368/Android/Tutorial-2-OpenCV-for-Android-Setup-Macintosh-API11.pdf
Upvotes: 1
Reputation: 1132
You can use javacv, it has ffmpeg and opencv wrappers with examples.
Upvotes: 2
Reputation: 30122
You can try to compile OpenCV with FFMPEG for Android.
Video IO is not officially supported but if I remember correctly this patch worked: http://code.opencv.org/issues/2546 At least you can use it as a good starting point.
Upvotes: 2
Reputation: 8033
I don't think that it is implemented yet (at least it wasn't six months ago). You might want to split you video into frames and open those frames instead of the video file (have a look at this thread).
Upvotes: 1