How MMS is made to the ground (1) Editing

Source: Internet
Author: User

I. Overview

MMS
You have seen or edited the MMS. Here, we use a series of articles to illustrate the process of editing, sending, and receiving MMs. First, let's briefly describe the MMS editing process. This is the first step of MMS.



II,
MMS

(
Presentation

) Language --
SMIL

Overview

MMS
A series"
Slide type
Composed of Slide
To organize text, audio, and video information in various formats. We have some personal experience when sending or receiving MMs.

Is
The multimedia information is organized together and sent over the network, and the information can be played by the receiver according to the style of the sender. Here we need to use a technology to describe the organization of MMS.
And playback method. This method is to use smil
Language. After reading the specification of this language, I think most of them are familiar with HTML
And XML
People will smile. Indeed, this is SMIL.
Language.

MMS

Use smil
(Synchronized Multimedia Integration Language
) As the expression language, smil
By W3C

(World Wide Web Consortium
Developed Based on XML
(See the RFC in the appendix.
Documentation ). Equivalent to HTML
To
Web
. SMIL
The language can control the layout of multimedia objects.
And timing
(Playback time ).

In the initial stage, MMS
Only SMIL is used
Is called
"Mms smil"
. Each MMS
All the information is
The Expression Language file. All slide in this file
With the same layout
. Each slide
Contains at least two
Region
, One containing text and one containing image. In fact, each slide
Is a frame
, Each frame
Including layout
And
,
Images
, Audio
, Video
. Each slide
The playback cycle is calculated in seconds.
The playback time of the text and image can be set separately.

Because the sizes of each mobile device are different, smil
Designed to be rescheduled based on different forms of presentation of the terminal. To put it simply, smil
It has the following features:

  • From W3C
    Standardized Definition
  • SMIL
    It simply limits various messages.
    When and where elements are displayed
  • SMIL
    File with <SMIL>
    Mark start, followed by head
    And Body
    Tag, and then use </SMIL>
    End
  • Head
    The tag element is limited
  • Body
    The tag element limits the reference index of the inserted content (references
    ), And specifies when and where to play the video and the playback time of each element.



The following text is from
IBM

In
MMS

Besides
SMIL

.


Smil2.0

Synchronized Multimedia Integration Language
), It has begun to integrate multimedia
Web
Important new methods of content. SMIL
Provides XML-based
To control the timing and representation of multimedia elements, it has begun to obtain support from many large software vendors and tool manufacturers.
This makes it easier for developers to use it.

SMIL
Support has started to become Adobe
, Microsoft
And (perhaps the most important) the media delivery leader Real Networks
One of the supported technologies. Many small suppliers have begun to provide smil
Creation tools and players.

In the near future, with the current 2.0
Standardized support for growth, for any developer who needs some form of multimedia asset control at work, use smil
Will become their standard strategy. If you use the list of tool creators that are growing as an indicator, use smil
Building representation is also easier.

RealNetworks

As mentioned above, the most extensive SMIL 2.0
Implementation may come from Real Networks
. RealOne Player
Supported
Smil2.0
Language profile (SMIL 2.0 language profile)
), Which combines smil
Most (though not all) supported modules. Division
Supports most standard smil
In addition to modules, RealNetworks
Also developed several smil
Extension. To use these extensions, developers must follow the standards
XML
Statement.

Microsoft
By using a small series of SMIL-based
XML
Elements and attributes, Microsoft
HTML +
Time
To html
Timing and multimedia support are added to the page. To
When adding documents, developers need
Add new attributes to the element. Create a new element
To html
It is easy to add media on the page.



To use any HTML + time
Element, developers must
Declare XML in tag
Namespace t
:

Unlike the two vendors above, most of the creation tools and player developers are divided into two types,

  • One is to focus only on SMIL
    Complete desktop deployment


  • The basic SMIL 2.0 for mobile devices that occupy a small amount of resources
    Subset.



In addition, with the development of wireless networks
Deployed smil
The player should
There are new considerations for creation.



III,
SMIL

Simple Example

The following is an MMS
Message smil
Example:

 <SMIL> <br/> <pead> <br/> <meta name = "title" content = "vacation photos"/> <br/> <meta name = "author" content = "Danny Wyatt"/> <br/> <layout> <br/> <root-layout width = "160" Height = "120"/> <br/> <region ID = "image" width = "100%" <br/> Height = "80" Left = "0" Top = "0"/> <br/> <Region ID = "text" width = "100%" <br/> Height = "40" Left = "0" Top = "80"/> <br/> </layout> <br/> </pead> <br/> <body> <br/> <par dur = "8 s"> <br/> <br/> <text src =" firsttext.txt "mce_src =" firsttext.txt "region =" text "/> <br/> <audio src =" firstsound. amr "mce_src =" firstsound. amr "/> <br/> </PAR> <br/> <par dur =" 7 S "> <br/> <br/> <text src =" secondtext.txt "mce_src =" secondtext.txt "region =" text "/> <br/> <audio src =" secondsound. amr "mce_src =" secondsound. amr "/> <br/> </PAR> <br/> </body> <br/> </SMIL>

Specific smil
For explanations of the description language, see the reference document in the appendix, which provides explanations for each tag.

As for the implementation of mobile phone software, it is not very difficult. Think about it.

Using the structure array, all MMS
Slide in
Storage to it, and finally, combined with SMIL
The language specification, the MMS

Package it into the format of the above file. Note that you do not need to add the specific multimedia file content to Smil.
File, you only need to add
File. For more information about data loading, see the next one-MMS.
In the package section!



References:
Nokia:
[N1] how_to_create_mms_services.pdf http://www.forum.nokia.com

[N2] mmscenterappdevguide.pdf http://www.forum.nokia.com

Oma:
WAP-205-MMSArchOverview-20010425-a.pdf [O1]

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.