Issues about MMS format

Issues about MMS format SearchSearch
Author Message
steven
New member
Username: Silenthunter

Post Number: 1
Registered: 02-2010
Posted on Thursday, February 04, 2010 - 05:25 am:   

I have just download nowsms and try it, most funxtions are running great, only one thing confussed me, I write a smil for MMS,and compiled it with some txt and jpg files, composing with no problems and send it, when recieved by one of my mobile phone, I found there's only one picture
on a page,I am familiar with Smil2.0, and I 'am sure my mobile phone can decode multi-picture MMS pages, because I recieved several MMS with
multi-picture on one page from local carrier.

I also know MMS script is just a subset of the whole smil2.0 specification, I just would like to confirm whether in Nowsms, when composing MMS,
the software internally has limitation not allowing multi-picture on one page? if found user Smil is wrotten that way, Nowsms will generate
it into simple format. is that the case?

After I recived the MMS which I made, I found it's smil has been re-composed to be simple format.

The tools I used to compile MMS is mmscomp in nowsms package.

When expected to creat MMS with multi-picture on one page, I use smil format as below( I just make it simple for a demo, actual format
is am bit complicated.), the smil shows to 2 region ids defined in layout and 2
calls up with it in body.

Smil sample:
.......................
<smil>
<head>
<layout>
<root-layout width="300" height="300"/>
<region id="Image0" width="120" height="90" left="0" top="0"/>
<region id="Image1" width="120" height="93" left="0" top="90"/>
<region id="text" width="300" height="100" left="0" top="183"/>
</layout>
</head>

<body>
<Audio src="1.mid" dur="indefinite"/>
<seq>
<img src="4.jpg" region="Image0" dur="10s"/>
<par>
<img src="1.jpg" region="Image0" dur="10s"/>
<img src="2.jpg" region="Image1" dur="10s"/>
<text src="1.html" region="Text"/>
</par>
< img src="3.jpg" region="Image1" dur="10s"/>
</seq>
</body>
</smil>
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 7885
Registered: 10-2002
Posted on Thursday, February 04, 2010 - 06:26 pm:   

Hi Steven,

If you don't include a SMIL file, NowSMS generates a simple one. The auto-generated SMIL only puts one image per page.

Make sure your SMIL file has a ".smil" file extension so that both MMSCOMP and NowSMS will recognise it as such.

It is also possible that your carrier MMSC finds something that it does not like about your SMIL ... and it regenerates the SMIL.

For example, the SMIL "seq" element is not referenced in the MMS SMIL definition in the OMA MMS Conformance specification. (The spec says "The structure element
body is implicitly defined to be a seq time container in SMIL1.0...")

There is also no support for "audio" outside of a "par" element.

It is also unusual for "img" tags to have a "dur" attribute, as that would normally be applied to the "par" element. (It does seem to be allowed, but the behaviour for such does not seem to be well defined.)

My advice would be to start simpler.

Create a single slide with two images, and make sure that is working ok.

If you want to confirm that NowSMS is actually sending out your SMIL, then assuming that you are sending out via a GSM modem, I'd suggest enabling the MMSWAPDEBUG.LOG. This file will show a hex dump of what NowSMS sends out, and you can check that to verify that your SMIL is present.

My suspicion is that your operator MMSC is regenerating the SMIL because it doesn't like something about it.

For testing this, you can send an MMS message back to the modem phone number itself, and see what the received SMIL looks like.

-bn
steven
New member
Username: Silenthunter

Post Number: 5
Registered: 02-2010
Posted on Friday, February 05, 2010 - 07:27 am:   

Dear Bryce:

Thanks,midi load in body seems be proved no problem, multi-picture in 1 page(multi region definition in smil), seems no way to
make happen,all available method with all kinds of software can't make it,and even it could be composed and send, it will be re-build for sure,from your comment,I could get information that in Nowsms,it won't be changed, the change happens at MMSC carrier side, could you give me a confirmation about this point?

Anyway, I compared several MMS tools,through the format is also changed by some hand,but when composed and send with nowsms,the format remains the best,by other tools, even root-layout may be changed into a mess. so,by now, I could say, nowsms
is the best in similar software.

Steven
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1752
Registered: 08-2008
Posted on Friday, February 05, 2010 - 05:03 pm:   

Hi Steven,

I'm going to answer for Bryce today.

We cannot confirm that the change happens at the MMSC carrier (or operator) side. We can tell you that many operator MMSC systems will make modifications to SMIL as it passes through their system, especially if the operator MMSC believes that something about your SMIL is invalid. For example, the "audio" element directly in the "body" section may be valid in regular SMIL, but it is not in the basic SMIL implementation defined in the OMA MMS Conformance Specification, which you can download at http://www.openmobilealliance.org/Technical/release_program/mms_v1_2.aspx.

What Bryce was suggesting is a way that you can:

1.) Verify that NowSMS has not modified your SMIL. (By enabling and inspecting the MMSWAPDEBUG.LOG)

2.) See for yourself whether or not the SMIL has been modified by the operator MMSC, and if it has been modified, see what modifications have been applied. (By sending an MMS message to the modem phone number itself, and letting NowSMS receive the message.)

--
Des
NowSMS Support