imedia_getframe returning EUNSUPPORTED | developer.brewmp.com imedia_getframe returning EUNSUPPORTED | developer.brewmp.com

Developer

imedia_getframe returning EUNSUPPORTED

Forums:

Hi everybody,

I tried getting the frames of the video file using the IMEDIA_GetFrame(). But i got EUNSUPPORTED as the return value.

I tried enabling the exclusive playback of the media using
EnableFrameCallback(pMe->pIMedia, TRUE); But even this returned EUNSUPPORTED as the return value.

I tested all this on the emulator. Can anybody tell what's the problem.
does brew 3.0 does not support frame capturing of api's?? Or some kind of special procedure is to be followed to use the api's to capture the frames of a video.

The thing that i would like to mention here is that i even tried it on 2.0 but there too i got the same results.

if anybody has used these api's successfully please attach the code if possible.
so i can know the steps to follow.

Quote:Frame callback is disabled by default. If enabled, then IMedia object delivers MM_STATUS_FRAME callback for each media frame decoded. In response to this callback, user needs to call IMEDIA_GetFrame() to retrieve the IBitmap representing the frame.
How are you invoking the method? What type of media file is playing?

Quote:Frame callback is disabled by default. If enabled, then IMedia object delivers MM_STATUS_FRAME callback for each media frame decoded. In response to this callback, user needs to call IMEDIA_GetFrame() to retrieve the IBitmap representing the frame.
How are you invoking the method? What type of media file is playing?

Hi,
I am using IMEDIA_EnableFrameCallback( ) to get the decoded video frames. this API is returning 0 i.e. SUCCESS. But when I am trying to get the Frames within the Media Callback I am not getting the media frames except after IMEDIA_Play. I am playing .3g2 file which is supported by the device.
if (pCmdNotify->nCmd == MM_CMD_PLAY)
{
switch (pCmdNotify->nStatus)
{
case MM_STATUS_FRAME:
Log( " Media Frame recieved... ");
break;
}

I am getting this message in log file just a single time.
Can anyone tell me if I have missed anything?
Thanks in advance...

Hi,
I am using IMEDIA_EnableFrameCallback( ) to get the decoded video frames. this API is returning 0 i.e. SUCCESS. But when I am trying to get the Frames within the Media Callback I am not getting the media frames except after IMEDIA_Play. I am playing .3g2 file which is supported by the device.
if (pCmdNotify->nCmd == MM_CMD_PLAY)
{
switch (pCmdNotify->nStatus)
{
case MM_STATUS_FRAME:
Log( " Media Frame recieved... ");
break;
}

I am getting this message in log file just a single time.
Can anyone tell me if I have missed anything?
Thanks in advance...