My Android Video application takes a media file, extract a frame, decodes it, and then plays at some specified rate. I have two choices for media file storage:
1- MicroSD Card. But I guess this would be slow. The processor will fetch frames from a far place, and the Micro SD is also slower (as compared to phones on-chip and other memories , such as DRAM). Thus many clock cycles will be wasted in getting frames resulting in poor play back of the video.
2- Keep the file in some other fast memory close to processor (as compared to SD). This should be faster and I am expecting better play back.
Questions:
a) Is my understanding correct?
b) If yes, how can I put my media file to other memory instead of SD, and how to get the path of this new location coz I need to pass this path to my application which decodes the frame and plays it back on the screen.
Thanks