Is it possible to play .pmd file on simulator? | developer.brewmp.com Is it possible to play .pmd file on simulator? | developer.brewmp.com

Developer

Is it possible to play .pmd file on simulator?

Forums:

Hi.

I had made a test.pmd file with CMX Studio 2.8.2.
( http://comeng.ce.knu.ac.kr/~c9884026/test-3989.pmd )
And tried to play it with mediaplayer of sdk example on simulator.
But it wasn't worked.

I had wrote a simple program to use IMedia, but i can't play, too.

Is it impossible to play .pmd file on simulator?
(I am using Brew SDK 3.0.1)

Hi Jiwoong,
I'm having the same problem, I've never been able to get .pmd's to play in any version of the simulator. (using IMedia) No errors, you just don't hear anything. (but it does work fine on real phones)
Anybody know if it's possible? Maybe we're missinga codec or something. :confused:
On a side note,
I wrote an FMOD (it's a sound library) wrapper that I use for debug emulator builds, it's much faster than the BREW stuff (even the stuff that works like .qcp for example) and makes capturing movies at higher FPS easier.
Note: FMOD doesn't play .pmd's, you do need your sounds sitting somewhere in .wav format to do this.

Hi Jiwoong,
I'm having the same problem, I've never been able to get .pmd's to play in any version of the simulator. (using IMedia) No errors, you just don't hear anything. (but it does work fine on real phones)
Anybody know if it's possible? Maybe we're missinga codec or something. :confused:
On a side note,
I wrote an FMOD (it's a sound library) wrapper that I use for debug emulator builds, it's much faster than the BREW stuff (even the stuff that works like .qcp for example) and makes capturing movies at higher FPS easier.
Note: FMOD doesn't play .pmd's, you do need your sounds sitting somewhere in .wav format to do this.

hi ,
Yes really you are missing something. You have to download 3 dll from brew extranet which is provided by CMX. Copy those 3 dlls to your bin folder. Then you can able to see PMD disply in Emulator.

hi ,
Yes really you are missing something. You have to download 3 dll from brew extranet which is provided by CMX. Copy those 3 dlls to your bin folder. Then you can able to see PMD disply in Emulator.

Thanks BraveBoy.
For anyone looking for it, it's located on the "Misc tools" page here.

Thanks BraveBoy.
For anyone looking for it, it's located on the "Misc tools" page here.

Thanks for the answers.
But I have another problem.
I have installed CMX Player, and copy 3 dlls to /bin directory of brew sdk.
Now, I can hear sound of .pmd file, but can't see image & text.
What's the matter?

Thanks for the answers.
But I have another problem.
I have installed CMX Player, and copy 3 dlls to /bin directory of brew sdk.
Now, I can hear sound of .pmd file, but can't see image & text.
What's the matter?

Hi
It would be better to post your code snipset.

Hi
It would be better to post your code snipset.

below is a part of my code..
AEEMediaData media_data;
IMedia *MediaCtl;
IMediaUtil *MediaUtilCtl;
AEERect rect;
...
media_data.clsData = MMD_FILE_NAME;
media_data.pData = filename;
media_data.dwSize = 0;
ISHELL_CreateInstance(pMe->pIShell, AEECLSID_MEDIAUTIL, (void**)&pMe->MediaUtilCtl)
IMEDIAUTIL_CreateMedia (MediaUtilCtl, &media_data, (IMedia**)&MediaCtl);
rect.x = 0;
rect.y = pMe->DeviceInfo.cyScreen/8+4;
rect.dx = pMe->DeviceInfo.cxScreen;
rect.dy = pMe->DeviceInfo.cyScreen;
IMEDIA_SetRect (MediaCtl, &rect, &rect);
IMEDIA_Play (pMe->MediaCtl);
....
filename is test pmd file.
there is no error, and i can hear sound, but not image.
plz, help me modifying my code.
or show me some sample code.

below is a part of my code..
AEEMediaData media_data;
IMedia *MediaCtl;
IMediaUtil *MediaUtilCtl;
AEERect rect;
...
media_data.clsData = MMD_FILE_NAME;
media_data.pData = filename;
media_data.dwSize = 0;
ISHELL_CreateInstance(pMe->pIShell, AEECLSID_MEDIAUTIL, (void**)&pMe->MediaUtilCtl)
IMEDIAUTIL_CreateMedia (MediaUtilCtl, &media_data, (IMedia**)&MediaCtl);
rect.x = 0;
rect.y = pMe->DeviceInfo.cyScreen/8+4;
rect.dx = pMe->DeviceInfo.cxScreen;
rect.dy = pMe->DeviceInfo.cyScreen;
IMEDIA_SetRect (MediaCtl, &rect, &rect);
IMEDIA_Play (pMe->MediaCtl);
....
filename is test pmd file.
there is no error, and i can hear sound, but not image.
plz, help me modifying my code.
or show me some sample code.

There is the same problem with me.
Thanks for any idea!
By the way, anyone who has 3 dll for .pmd sends them to me:cocophu@163.com
Thanks in advance.

There is the same problem with me.
Thanks for any idea!
By the way, anyone who has 3 dll for .pmd sends them to me:cocophu@163.com
Thanks in advance.

hi
try like this..........
AEEMediaData media_data;
IMedia *MediaCtl;
IMediaUtil *MediaUtilCtl;
AEERect rect;
...
media_data.clsData = MMD_FILE_NAME;
media_data.pData = filename;
media_data.dwSize = 0;
// this is your code
//***************************************
ISHELL_CreateInstance(pMe->pIShell, AEECLSID_MEDIAUTIL, (void**)&pMe->MediaUtilCtl)
IMEDIAUTIL_CreateMedia (MediaUtilCtl, &media_data, (IMedia**)&MediaCtl);
//***************************************************
// here this is my suggesstion
//*********************************************
try with AEEMediaUtil_CreateMedia(m_pIShell, pmd, &pIMedia);
//***********************************************
rect.x = 0;
rect.y = pMe->DeviceInfo.cyScreen/8+4;
rect.dx = pMe->DeviceInfo.cxScreen;
rect.dy = pMe->DeviceInfo.cyScreen;
IMEDIA_SetRect (MediaCtl, &rect, &rect);
IMEDIA_Play (pMe->MediaCtl);
....

hi
try like this..........
AEEMediaData media_data;
IMedia *MediaCtl;
IMediaUtil *MediaUtilCtl;
AEERect rect;
...
media_data.clsData = MMD_FILE_NAME;
media_data.pData = filename;
media_data.dwSize = 0;
// this is your code
//***************************************
ISHELL_CreateInstance(pMe->pIShell, AEECLSID_MEDIAUTIL, (void**)&pMe->MediaUtilCtl)
IMEDIAUTIL_CreateMedia (MediaUtilCtl, &media_data, (IMedia**)&MediaCtl);
//***************************************************
// here this is my suggesstion
//*********************************************
try with AEEMediaUtil_CreateMedia(m_pIShell, pmd, &pIMedia);
//***********************************************
rect.x = 0;
rect.y = pMe->DeviceInfo.cyScreen/8+4;
rect.dx = pMe->DeviceInfo.cxScreen;
rect.dy = pMe->DeviceInfo.cyScreen;
IMEDIA_SetRect (MediaCtl, &rect, &rect);
IMEDIA_Play (pMe->MediaCtl);
....

There are some compatibility issues with the currently posted CMX player and the 3.1+ BREW Simulator. There's a newer version of the CMX player that will be posted once it clears legal.

There are some compatibility issues with the currently posted CMX player and the 3.1+ BREW Simulator. There's a newer version of the CMX player that will be posted once it clears legal.

thanks.
That's true. There are no problem with sdk2.1.

thanks.
That's true. There are no problem with sdk2.1.

I'm one of the developers at Qualcomm who works on the CMX PC tools. Please note that the DLL plugins for the BREW SDK to support CMX are quite old (November 2003). They have basically the same code as the simulator in CMX Studio, but from way back when. So content made in the newer versions of CMX Studio may or may not play back properly.
We're planning to update the BREW SDK support to have the latest version of CMX, within the next few months hopefully.

I'm one of the developers at Qualcomm who works on the CMX PC tools. Please note that the DLL plugins for the BREW SDK to support CMX are quite old (November 2003). They have basically the same code as the simulator in CMX Studio, but from way back when. So content made in the newer versions of CMX Studio may or may not play back properly.
We're planning to update the BREW SDK support to have the latest version of CMX, within the next few months hopefully.

I tried the same but in IMEDIA_SetRect i am getting the returnn as UNSUPPORTED.
can anybody help me out

I tried the same but in IMEDIA_SetRect i am getting the returnn as UNSUPPORTED.
can anybody help me out

Hi,
Some months ago I had the same problem (can't play pmd videos on emulator).
Then I installed the BREW CMX Player located here (https://brewx.qualcomm.com/brew/sdk/authdownload.jsp?page=dx/devmiscauth)
It worked!!!
But, now, I got a new workstation. Then I had to re-install a lot of stuff. And the *new* version of BREW CMX Player does not work with the SDK 2.0 (view release notes or test it by yourself). And I need to use the SDK 2.0 for particular reasons!
Is there any archive stuff at BREW Developer Site?
Thanks a lot

Hi,
Some months ago I had the same problem (can't play pmd videos on emulator).
Then I installed the BREW CMX Player located here (https://brewx.qualcomm.com/brew/sdk/authdownload.jsp?page=dx/devmiscauth)
It worked!!!
But, now, I got a new workstation. Then I had to re-install a lot of stuff. And the *new* version of BREW CMX Player does not work with the SDK 2.0 (view release notes or test it by yourself). And I need to use the SDK 2.0 for particular reasons!
Is there any archive stuff at BREW Developer Site?
Thanks a lot

Hello??? Is there anybody out there???
Please, I really need the old BREW CMX Player...
Does anyone knows something about it???
Thanks a lot!
ramonchiara wrote:Hi,
Some months ago I had the same problem (can't play pmd videos on emulator).
Then I installed the BREW CMX Player located here (https://brewx.qualcomm.com/brew/sdk/authdownload.jsp?page=dx/devmiscauth)
It worked!!!
But, now, I got a new workstation. Then I had to re-install a lot of stuff. And the *new* version of BREW CMX Player does not work with the SDK 2.0 (view release notes or test it by yourself). And I need to use the SDK 2.0 for particular reasons!
Is there any archive stuff at BREW Developer Site?
Thanks a lot

Hello??? Is there anybody out there???
Please, I really need the old BREW CMX Player...
Does anyone knows something about it???
Thanks a lot!
ramonchiara wrote:Hi,
Some months ago I had the same problem (can't play pmd videos on emulator).
Then I installed the BREW CMX Player located here (https://brewx.qualcomm.com/brew/sdk/authdownload.jsp?page=dx/devmiscauth)
It worked!!!
But, now, I got a new workstation. Then I had to re-install a lot of stuff. And the *new* version of BREW CMX Player does not work with the SDK 2.0 (view release notes or test it by yourself). And I need to use the SDK 2.0 for particular reasons!
Is there any archive stuff at BREW Developer Site?
Thanks a lot

ramonchiara,
Have you tried the latest extension (refreshed on May 18th)? Are you still experiencing the issue on SDK 2.0? Also, what is the full version of the SDK that you are using?
FYI, the latest extension can be found here:
https://brewx.qualcomm.com/brew/sdk/download.jsp?page=dx/en/brew31/ex/tl...

ramonchiara,
Have you tried the latest extension (refreshed on May 18th)? Are you still experiencing the issue on SDK 2.0? Also, what is the full version of the SDK that you are using?
FYI, the latest extension can be found here:
https://brewx.qualcomm.com/brew/sdk/download.jsp?page=dx/en/brew31/ex/tl...