A question about using MMSCOMP command?

A question about using MMSCOMP command? SearchSearch
Author Message
tl315
New member
Username: Tl315

Post Number: 1
Registered: 08-2008
Posted on Sunday, August 10, 2008 - 02:31 pm:   

Hi,product specialists.
There are something wrong when I use the MMSCOMP command to creat a mms, because the mms which is created by MMSCOMP command has no content.

I did three steps as follow:

1.create a.hdr
X-Mms-Message-type: m-retrieve-conf
X-Mms-Transaction-id: 45adb06d
X-MMS-version: 1.0
From: 8888/TYPE=PLMN
Date: Wed, 17 Jan 2007 05:13:17 GMT
Delivery-report: No
Message-class: Personal
Message-size: 3224
Priority: normal
Read-reply: No
Subject: mms test
Content-type: application/vnd.wap.multipart.related; type=application/smil; start=<presentation-part>
X-NowMMS-Content-Location: b.smil
X-NowMMS-Content-ID: presentation-part

2.create b.smil
<smil>
<head>
<layout>
<root-layout width="160" height="140"/>
<region id="Image" width="160" height="120" left="0" top="0"/>
<region id="Text" width="100%" height="100%" left="0%" top="0%"/>
</layout>
</head>
<body>
<par dur="1000ms">
<img src="test.jpg" region="Image" />
<text src="test.txt" region="Text" />
</par>
</body>
</smil>

3.In the command line,run "mmscomp.exe a.hdr b.smil".
All files are in the same directory.

After creating a.mms, there are no jpg or text in a.mms.
Look forward to your reply. Best wishes to you!
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 9
Registered: 08-2008
Posted on Tuesday, August 19, 2008 - 06:15 pm:   

MMSCOMP does not interpret the content of the SMIL file to find other referenced content.

To accomplish what you want, you would need to use the command line:

mmscomp a.hdr b.smil test.jpg test.txt

In other words, you need to specify all of the files to include on the command line.

--
Des
NowSMS Support