MMS(Multimedia Message System)支持的mdia总结

1. Image
要求device可支持的最大分辨率:160*120 pixels--Image Basic
640*480 pixels--Image Rich, Video Basic and Video Rich
可支持的字节数(kb):30--text; 30--basic image; 100--rich image;100--basic video;
300--rich video

2. PIM(Personal Information Management) 可作为附件传送
vCard version 2.1 (mime-type: text/x-vCard)
vCalendar version 1.0 (mime-type: text/x-vCalendar)

3. Video
4. DRM
可支持DRM forward lock 格式、DCF 格式
DCF mimetype: application/vnd.oma.drm.dcf
fowardlock: application/vnd.oma.drm.message

例子1(forward lock):

From:user@example.com
To:+40123456789/TYPE=PLMN
Subject:Hi!
X-MMS-Version:1.0
Content-Type:multipart/related;boundary=ID_1234567
--ID_1234567
Content-Type:application/smil
<smil>
:
</smil>
--ID_1234567
Content-Type:application/vnd.oma.drm.message;boundary=PUTJTBYRBYTYBV
Content-Location:drmimage.dm
--PUTJTBYRBYTYBV
Content-Type:image/jpeg
Content-Transfer-Encoding:binary
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
--PUTJTBYRBYTYBV--
--ID_1234567--

例子2(DCF):
From:customer@mmsprovider.com
To:anothercustomer@anothermmsprovider.com
Subject:MMS message with DRM content
X-MMS-Version:1.2
...[More MMS headers]
Content-Type:multipart/related;boundary=firststring;start=secondstring
--firststring
Content-ID:secondstring
Content-Type:application/smil
...[SMIL doc]
--firststring
Content-ID:same-reference-as-in-SMIL-doc
Content-Type: application/vnd.oma.drm.dcf
...[DCF containing Content-ID:same-reference-as-used-in-associated-ROs]
--firststring--

5. SMIL(Synchronized Media Integration Language)
当MM内容包含SMIL格式的表现层时,content type必须为application/vnd.wap.multipart.related,否则使用application/vnd.wap.multipart.mixed

例子1(包含两个slide,其中一个包含一段video)
<smil>
<head>
<layout>
<root-layout height="200" width=”176" />
<region id="Image" height="144" width="176” />
<region id="Text" height="56" width="176" fit="scroll" />
</layout>
</head>
<body>
<par dur="20000ms">
<video src="videoclipname.3gp" region="Image" />
<text src="Text1.txt" region="Text" />
</par>
<par dur="2000ms">
<img src="image.gif" region="Image" />
<text src="cid:Text2" region="Text" />
</par>
</body>
</smil>

例子2(包含3个slide):

<smil>
<head>
<meta name="title" content="mms" />
<meta name="author" content="John Smith" />
<layout> <! --This an "landscape" screen (2*qcif)-->
<root-layout width="352" height="144"/>
<region id="Image" width="176" height="144"
left="0" top="0" />
<region id="Text" width="176" height="144" left="176" top
="0"/>
</layout>
<!-- <layout> // This is a "portrait" screen -->
<!-- <root-layout width="176" height="216"/> -->
<!-- <region id="Image" width="176" height="144" left="0" top="0" /> -->
<!-- <region id="Text" width="176" height="72" left="0" top ="144"/> -->
<!-- </layout> -->
</head>
<body>
<par dur = "8000ms">
<img src = "FirstImage.jpg" region="Image" />
<text src = "FirstText.txt" region="Text" />
<audio src = "FirstSound.amr"/>
</par>
<par dur = "7000ms" >
<img src = "SecondImage.jpg" region="Image" />
<text src = "SecondText.txt" region="Text" />
<audio src = "SecondSound.amr"/>
</par>
<par dur = "4000ms" >
<img src = "ThirdImage.jpg" region="Image"/>
<text src = "ThirdText.txt" region="Text"/>
<audio src = "ThirdSound.amr"/>
</par>
</body>
</smil>

6. Text
UTF-8 and ASCII(lower half of ISO8859-1
7. Audio
必须支持AMR-NB or 13K

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值