In this scenario, the Music Video Production Company creates music videos for distribution over the Internet. The distribution value chain consists of the following parties:
|
Creator |
Holds rights to the music videos (the Music Video Production Company in this case). |
|
Distributor |
Makes the music videos available over the Internet. |
|
Consumer |
Plays the music videos obtained on the Internet. |
As part of the creator/distributor relationship, the Music Video Production Company specifies that the distributor may imbed images, such as logos and advertisements, in the music video files. However, the Music Video Production Company wants to control how these images are imbedded. Specifically, the Music Video Production Company wants to stipulate:
The music video, the images to be embedded, and the resulting package are all MPEG-21 Digital Items (DI) expressed in MPEG-21 DIDL.
The following are sample digital items and their DIDL descriptions.
The original music video file (myVideo):
<DIDL xmlns="urn:mpeg:mpeg21:2002/01-DIDL-NS"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Item>
<Component>
<Resource>
<par xmlns="urn:mpeg:mpeg4:xmto:schema:2002"
xsi:schemaLocation="urn:mpeg:mpeg4:xmto:schema:2002 xmt-o.xsd">
<video id="myVideo" src="" dur="20s"/>
</par>
</Resource>
</Component>
</Item>
</DIDL>
The first image to be embedded (myImage1):
<DIDL xmlns="urn:mpeg:mpeg21:2002/01-DIDL-NS"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Item>
<Component>
<Resource>
<par xmlns="urn:mpeg:mpeg4:xmto:schema:2002"
xsi:schemaLocation=" urn:mpeg:mpeg4:xmto:schema:2002 xmt-o.xsd">
<img id="myImage1" src="" dur="15s"/>
</par>
</Resource>
</Component>
</Item>
</DIDL>
The second image to be embedded (myImage2):
<DIDL xmlns="urn:mpeg:mpeg21:2002/01-DIDL-NS"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Item>
<Component>
<Resource>
<par xmlns="urn:mpeg:mpeg4:xmto:schema:2002"
xsi:schemaLocation="urn:mpeg:mpeg4:xmto:schema:2002 xmt-o.xsd">
<img id="myImage2" src="" dur="15s"/>
</par>
</Resource>
</Component>
</Item>
</DIDL>
The result of packaging the two images with the music video file:
<DIDL xmlns="urn:mpeg:mpeg21:2002/01-DIDL-NS"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Item>
<Component>
<Resource>
<group xmlns="urn:mpeg:mpeg4:xmto:schema:2002"
xsi:schemaLocation="urn:mpeg:mpeg4:xmto:schema:2002 xmt-o.xsd">
<video id="myVideo"/>
<group translation="0 200">
<img id="myImage1" min="10s" max="20s" end="myVideo.end"/>
<img id="myImage2" min="10s" max="20s" end="myVideo.end">
<transformation translation="100 0"/>
</img>
</group>
</group>
</Resource>
</Component>
</Item>
</DIDL>
In the packaged music video file, the two images (myImage1 and myImage2) are enclosed in a group element. The group element has a translation attribute, which specifies the spatial relationship between the two images.
In addition, each image has three attributes:
|
Min |
Specifies the minimum display time. |
|
Max |
Specifies the maximum display time. |
|
End |
Specifies when the image must be displayed. |
This example extends XrML by defining two new elements in an example music video distribution extension.
xmtPackage: This element extends the right element defined in the XrML core. It represents the right to package the music video file with images such as logos or advertisements for further distribution. This element and its associated type are defined as follows:
<xsd:element name="xmtPackage" type="ce3:XmtPackage"
substitutionGroup="r:right"/>
<xsd:complexType name="XmtPackage">
<xsd:complexContent>
<xsd:extension base="r:Right"/>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="xmtPackageConstraint" type="ce3:XmtPackageConstraint" substitutionGroup="r:condition"/>
<xsd:complexType name="XmtPackageConstraint">
<xsd:complexContent>
<xsd:extension base="r:Condition">
<xsd:sequence>
<xsd:element ref="r:xmlPatternAbstract"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
Copyright © 2002, 2003 ContentGuard Holdings, Inc. ContentGuard is a registered trademark and XrML and eXtensible Rights Markup Language are trademarks of ContentGuard Holdings, Inc.