Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

How to use the IMediaUtil interface?Just as IMEDIAUTIL_EncodeMedia() IMEDIAUTIL_EncodePMD()?

Please give me a example

Did you see media player example in SDK?

Did you see media player example in SDK?

yes, but I have not found the IMEDIAUTIL_EncodePMD() function,I know how to load media resource and play it.But I want to use the Encode function.Its one of parameters is a structure of AEEMediaEncodeInfo.
typedef struct AEEMediaEncodeInfo{
AEEMediaData * pmdDest;
AEEMediaData * pmdList;
int16 nCount;
void * pEncodeSpec;
uint32 dwSpecSize;
} AEEMediaEncodeInfo;
pmdDest Destination media data. Must remain valid thrroghout a transaction.
pmdList List of source media data
nCount Number of sources
pEncodeSpec Encoding specifications. Depends on source and destination.
dwSpecSize Size of pEncodeSpec
Comments:
pEncodeSpec depends on the destination media type as well as (in many cases) on
source media. For example, to encode a particular destination media (like MPEG4), it
may require that you specify timing info to process one or more input media.
I don't know how to set the member pEncodeSpec
I tried to set it as NULL ,but the IMEDIAUTIL_EncodePMD() function return a error code as 14.It means bad parameter.

yes, but I have not found the IMEDIAUTIL_EncodePMD() function,I know how to load media resource and play it.But I want to use the Encode function.Its one of parameters is a structure of AEEMediaEncodeInfo.
typedef struct AEEMediaEncodeInfo{
AEEMediaData * pmdDest;
AEEMediaData * pmdList;
int16 nCount;
void * pEncodeSpec;
uint32 dwSpecSize;
} AEEMediaEncodeInfo;
pmdDest Destination media data. Must remain valid thrroghout a transaction.
pmdList List of source media data
nCount Number of sources
pEncodeSpec Encoding specifications. Depends on source and destination.
dwSpecSize Size of pEncodeSpec
Comments:
pEncodeSpec depends on the destination media type as well as (in many cases) on
source media. For example, to encode a particular destination media (like MPEG4), it
may require that you specify timing info to process one or more input media.
I don't know how to set the member pEncodeSpec
I tried to set it as NULL ,but the IMEDIAUTIL_EncodePMD() function return a error code as 14.It means bad parameter.

How to use the IMediaUtil interface?Just as function IMEDIAUTIL_EncodeMedia() and IMEDIAUTIL_EncodePMD()?
Please give me a example

How to use the IMediaUtil interface?Just as function IMEDIAUTIL_EncodeMedia() and IMEDIAUTIL_EncodePMD()?
Please give me a example

Has anyone figured this out yet?

Has anyone figured this out yet?

see thread
http://brewforums.qualcomm.com/showthread.php?p=26011&mode=linear
I was wondering if anyone had an answer?
-Krad
edit: whoops, wrong link

see thread
http://brewforums.qualcomm.com/showthread.php?p=26011&mode=linear
I was wondering if anyone had an answer?
-Krad
edit: whoops, wrong link