Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
ISO/IEC 15938‑2:2004, also adopted as CAN/CSA‑ISO/IEC 15938‑2‑04, defines the Description Definition Language (DDL) for the MPEG‑7 multimedia content description interface. The DDL provides a rich syntactic and semantic framework for describing audiovisual data, enabling interoperable annotation, search, and retrieval across diverse applications. This article examines the scope, core technical requirements, implementation highlights, and compliance aspects of this foundational standard.
ISO/IEC 15938‑2 belongs to the MPEG‑7 suite (Multimedia Content Description Interface). The DDL is the language used to create MPEG‑7 Description Schemes (DS) and Descriptors (D). Its primary role is to provide a grammar based on W3C XML Schema (XSD), extended with specific MPEG‑7 constructs that capture temporal, spatial, and semantic aspects of audiovisual content. The standard covers:
The DDL is an XML Schema based language with several critical extensions. It mandates support for the following features:
| Construct | Purpose in MPEG‑7 | Example |
|---|---|---|
ComplexType | Define reusable element structures for description schemes | MediaTimeType |
SimpleType with constraints | Restrict values (e.g., durations, identifiers) | durationType (P**Y**M**DT**H**M**S) |
| Choice / sequence groups | Ordering of descriptors and subdescriptors | VideoSegment choice of shot, scene, etc. |
| Attribute groups | Common attributes (e.g., id, href) | DescriptorAttributes |
| Unique/Key/Keyref | Cross‑document referential integrity | Referencing media source URIs |
Standard XML Schema cannot fully express multimedia relationships. Therefore, the DDL incorporates:
MediaLocator) for referencing external temporal segments.id and version.annotation elements to embed application rules (e.g., temporal ordering of events).mpeg7 namespace and follow the schema modularisation rules.Implementing a system that uses MPEG‑7 descriptions requires careful adherence to the DDL’s modular architecture. The standard defines a set of core schema modules that can be imported or extended. Key implementation considerations include:
MPEG‑7 schema modules are organised under the urn:mpeg:mpeg7:schema:2004 namespace (or 2001 for earlier versions). For compliance, custom schemas must:
Mpeg7Base.xsd and DescriptionSchema.xsd.The DDL is designed to be extensible. When creating new description tools (e.g., for a specific video analytics domain), best practices include:
DSType, DescriptorType).@xsi:type attribute for polymorphic instances.Below is a small illustrative XML fragment showing a compliant use of DDL constructs:
<VideoSegment xmlns="urn:mpeg:mpeg7:schema:2004" id="seg001"> <MediaTime> <MediaTimePoint>T00:01:30:300</MediaTimePoint> <MediaDuration>PT00:00:05:00</MediaDuration> </MediaTime> <TextAnnotation type="scene description"> <FreeText>Car chase begins</FreeText> </TextAnnotation> </VideoSegment>
For a product or system claiming compliance with ISO/IEC 15938‑2:2004, the following must be verified:
2001) may cause validation failures.Even if an instance passes XSD validation, it may violate DDL semantic rules. Compliance testing should include:
@idref values resolve to existing elements).MediaTime in a Segment).The Canadian adoption CAN/CSA‑ISO/IEC 15938‑2‑04 is identical to the international text. Products sold in Canada may reference the CAN/CSA version for regulatory acceptance. No additional national deviations exist.
Published 2026 – Technical Reference Article