android mediametadataretriever.getframeattime(int timeUs, OPTION_CLOSEST) is taking very long to retrieve a frame
<p>I am using the
   <pre>public Bitmap getFrameAtTime (long timeUs, int option)</pre> 
method from</p>

<p><pre>android.media.MediaMetadataRetriever</pre></p>

<p>the problem I am facing is that the method is successfully returning a bitmap at the specified time, but it is taking around 10 - 15 seconds to retrieve it. I am using the option parameter as OPTION_CLOSEST.</p>

<p>I am using two buttons Next Frame and Previous Frame to move forward or backward respectively.</p>

<p>And the big problem is that I cannot preload all the bitmaps as I will get an OutOfMemory Exception. so that I dont have to wait for ~15 seconds.</p>

<p>If anyone knows about doing the above mentioned work with some other way around then please do post your comment.</p>

<p>Thanks in advance.</p>
