views:

366

answers:

1

Possible Duplicate:
Getting frames from Video Image in Android

Hi,

I wanted to know if it is possible to extract frames from a running Video in Android? I need to extract frames at regular intervals and send them for further processing.

Would someone be able to find an answer for me?

Thanks,

Abhi

A: 

Assuming you are using the MediaPlayer, I believe it is not possible to extract video (or audio) frames. The mediaplayer runs it's own process [mediaplayerservice]. And, only this process has access to these frames. It is considered a security violation if the raw frames are accessible by other processes. Say for example you are playing some content that is copyright protected, then providing access to these frames should not be allowed.