You just can't load all of these frames in memory becouse there is a memory limit. To check the limit you can google Android heap size, it's different for each device but it's not that much. You'll have to process it frame by frame and save it on a storage device like the sdcard.
How to manage video frames in memory
Question
My app is grabbing all the frames of a video with FFMPEG.
My problem is, where do i save all the frames?
I already tried to convert the frames to bitmap and save to an arraylist, but the app says out of Memory.
Also, when i save the IplImages to an arraylist(it runs) but takes more than 500 MB.
I used a video with low quality. Those with high quality doesn't run neither with the IplImages.
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow