1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613
|
<pre>Network Working Group Y. Lim
Request for Comments: 4337 net&tv Inc.
Category: Standards Track D. Singer
Apple Computer
March 2006
<span class="h1">MIME Type Registration for MPEG-4</span>
Status of This Memo
This document specifies an Internet standards track protocol for the
Internet community, and requests discussion and suggestions for
improvements. Please refer to the current edition of the "Internet
Official Protocol Standards" (STD 1) for the standardization state
and status of this protocol. Distribution of this memo is unlimited.
Copyright Notice
Copyright (C) The Internet Society (2006).
Abstract
This document defines the standard MIME types associated with MP4
files. It also recommends use of registered MIME types according to
the type of contents.
Table of Contents
<a href="#section-1">1</a>. Introduction ....................................................<a href="#page-2">2</a>
<a href="#section-2">2</a>. Selection of MIME Types for MP4 Files ...........................<a href="#page-3">3</a>
<a href="#section-3">3</a>. IANA Considerations .............................................<a href="#page-3">3</a>
<a href="#section-3.1">3.1</a>. MP4 File ...................................................<a href="#page-4">4</a>
<a href="#section-3.2">3.2</a>. MP4 File with Audio but without Visual Presentation ........<a href="#page-5">5</a>
3.3. MP4 File with MPEG-4 System Stream and neither
Visual nor Audio Presentation ..............................<a href="#page-6">6</a>
<a href="#section-3.4">3.4</a>. Initial Object Descriptor (IOD) in Binary Format ...........<a href="#page-7">7</a>
<a href="#section-3.5">3.5</a>. Initial Object Descriptor (IOD) in Textual Format ..........<a href="#page-8">8</a>
<a href="#section-4">4</a>. Security Considerations .........................................<a href="#page-9">9</a>
<a href="#section-5">5</a>. Acknowledgements ................................................<a href="#page-9">9</a>
<a href="#section-6">6</a>. Normative References ............................................<a href="#page-9">9</a>
<span class="grey">Lim & Singer Standards Track [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc4337">RFC 4337</a> MPEG-4 MIME Types March 2006</span>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
This document describes a standard definition of MIME types
associated with MP4 files and the guidelines for using them.
MPEG-4 (ISO/IEC 14496) is a standard designed for the representation
and delivery of multimedia information over a variety of transport
protocols [<a href="#ref-1" title=""RTP: A Transport Protocol for Real-Time Applications"">1</a>]. It includes interactive scene management and visual
and audio representations, as well as system functionality like
multiplexing, synchronization, and an object descriptor framework
[<a href="#ref-2" title=""Information technology - Coding of audio-visual objects - Part 1 : Systems"">2</a>].
The historical approach for MPEG data has been to declare it under
"video", and this approach is followed for ISO/IEC 14496. In
addition, some MIME types are defined under "audio" and "application"
for the streams not containing visual presentation.
Amendment 1 of the ISO/IEC 14496 standard (also known as version 2)
introduced a standard file type, called MP4 files, for encapsulating
ISO/IEC 14496 data. This is now separately specified as the MP4 file
format [<a href="#ref-4" title=""Information technology - Coding of audio- visual objects - Part 14 : MP4 File Format"">4</a>], which in turn is based on the ISO base media file format
[<a href="#ref-3" title=""Information technology - Coding of audio- visual objects - Part 12 : ISO Base Media File Format"">3</a>]. A separate specification [<a href="#ref-5" title=""Information technology - Coding of audio- visual objects - Part 15 : AVC File Format"">5</a>] covers the storage of Advanced
Video Coding (AVC) (also known as H.264) [<a href="#ref-6" title=""Information technology -- Coding of audio-visual objects -- Part 10: Advanced Video Coding"">6</a>] material in files based
on the ISO base media file format. The MP4 file type can be used in
a number of ways; perhaps the most important of these is its use as
an interchange format for ISO/IEC 14496 data, as a content-download
format, and as the format read by streaming media servers.
These first two uses will be greatly facilitated if there is a
standard MIME type for serving these files (e.g., over HTTP).
The ISO/IEC 14496 standard is broad, and therefore the type of data
that may be in such a file can vary. In brief, simple compressed
video and audio (using a number of different compression algorithms)
can be included; interactive scene information; meta-data about the
presentation; references to ISO/IEC 14496 media streams outside the
file and so on. Different top-level MIME types are used to identify
the type of the contents in the file.
<span class="grey">Lim & Singer Standards Track [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc4337">RFC 4337</a> MPEG-4 MIME Types March 2006</span>
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Selection of MIME Types for MP4 Files</span>
The MIME types to be assigned to MP4 files are selected according to
the contents. Basic guidelines for selecting MIME types are as
follows:
a) if the file contains neither visual nor audio presentations, but
only, for example, MPEG-J or MPEG-7, use application/mp4;
b) for all other files, including those that have MPEG-J, etc., in
addition to video or audio streams, video/mp4 should be used;
however:
c) for files with audio but no visual aspect, including those that
have MPEG-J, etc., in addition to audio streams, audio/mp4 may be
used.
In any case, these indicate files conforming to the "MP4"
specification, ISO/IEC 14496-1:2000, systems file format.
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. IANA Considerations</span>
This section describes the MIME types and names to be used with
various MPEG-4 contents. Sections from 4.1 to 4.5 register five new
MIME types with the IANA.
<span class="grey">Lim & Singer Standards Track [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc4337">RFC 4337</a> MPEG-4 MIME Types March 2006</span>
<span class="h3"><a class="selflink" id="section-3.1" href="#section-3.1">3.1</a>. MP4 File</span>
MIME media type name: video
MIME subtype name: mp4
Required parameters: none
Optional parameters: none
Encoding considerations: base64 IS generally preferred; files are
binary and should be transmitted without CR/LF conversion, 7-bit
stripping, etc.
Security considerations: See <a href="./rfc4337#section-5">section 5 of RFC 4337</a>.
Interoperability considerations: A number of interoperating
implementations exist within the ISO/IEC 14496 community, and that
community has reference software for reading and writing the file
format.
Published specification: ISO/IEC 14496-1:2001.
Applications: Multimedia
Additional information:
Magic number(s): none
File extension(s): mp4 and mpg4 are both declared at
<<a href="http://pitch.nist.gov/nics/">http://pitch.nist.gov/nics/</a>>.
Macintosh File Type Code(s): mpg4 is registered with Apple.
Person to contact for info: David Singer, singer@apple.com
Intended usage: Common
Author/Change controller: David Singer, ISO/IEC 14496 file format
chair
<span class="grey">Lim & Singer Standards Track [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc4337">RFC 4337</a> MPEG-4 MIME Types March 2006</span>
<span class="h3"><a class="selflink" id="section-3.2" href="#section-3.2">3.2</a>. MP4 File with Audio but without Visual Presentation</span>
MIME media type name: audio
MIME subtype name: mp4
Required parameters: none
Optional parameters: none
Encoding considerations: base64 IS generally preferred; files are
binary and should be transmitted without CR/LF conversion, 7-bit
stripping, etc.
Security considerations: See <a href="./rfc4337#section-5">section 5 of RFC 4337</a>.
Interoperability considerations: A number of interoperating
implementations exist within the ISO/IEC 14496 community, and that
community has reference software for reading and writing the file
format.
Published specification: ISO/IEC 14496-1:2001.
Applications: Multimedia
Additional information:
Magic number(s): none
File extension(s): mp4 and mpg4 are both declared at
<<a href="http://pitch.nist.gov/nics/">http://pitch.nist.gov/nics/</a>>.
Macintosh File Type Code(s): mpg4 is registered with Apple.
Person to contact for info: David Singer, singer@apple.com
Intended usage: Common
Author/Change controller: David Singer, ISO/IEC 14496 file format
chair.
<span class="grey">Lim & Singer Standards Track [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc4337">RFC 4337</a> MPEG-4 MIME Types March 2006</span>
<span class="h3"><a class="selflink" id="section-3.3" href="#section-3.3">3.3</a>. MP4 File with MPEG-4 System Stream and neither Visual nor</span>
<span class="h3"> Audio Presentation</span>
MIME media type name:application
MIME subtype name: mp4
Required parameters: none
Optional parameters: none
Encoding considerations: base64 IS generally preferred; files are
binary and should be transmitted without CR/LF conversion, 7-bit
stripping, etc.
Security considerations: See <a href="./rfc4337#section-5">section 5 of RFC 4337</a>.
Interoperability considerations: A number of interoperating
implementations exist within the ISO/IEC 14496 community, and that
community has reference software for reading and writing the file
format.
Published specification: ISO/IEC 14496-1:2001.
Applications: Multimedia
Additional information:
Magic number(s): none
File extension(s): mp4 and mpg4 are both declared at
<<a href="http://pitch.nist.gov/nics/">http://pitch.nist.gov/nics/</a>>.
Macintosh File Type Code(s): mpg4 is registered with Apple.
Person to contact for info: David Singer, singer@apple.com
Intended usage: Common
Author/Change controller: David Singer, ISO/IEC 14496 file format
chair
<span class="grey">Lim & Singer Standards Track [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc4337">RFC 4337</a> MPEG-4 MIME Types March 2006</span>
<span class="h3"><a class="selflink" id="section-3.4" href="#section-3.4">3.4</a>. Initial Object Descriptor (IOD) in Binary Format</span>
MIME media type name: application
MIME subtype name: mpeg4-iod
Required parameters: none
Optional parameters: none
Encoding considerations: base64 is generally preferred; files are
binary and should be transmitted without CR/LF conversion, 7-bit
stripping, etc.
Security considerations: See <a href="./rfc4337#section-5">section 5 of RFC 4337</a>.
Interoperability considerations: A number of interoperating
implementations exist within the ISO/IEC 14496 community, and that
community has reference software for reading and writing the file
format.
Published specification: ISO/IEC 14496-1:2001
Applications: Multimedia
Additional information:
Magic number(s): none
File extension(s): none mp4 and mpg4 are both declared at
<<a href="http://pitch.nist.gov/nics/">http://pitch.nist.gov/nics/</a>>.
Macintosh File Type Code(s): mpg4 is registered with Apple.
Person to contact for info: David Singer, singer@apple.com
Intended usage: Common
Author/Change controller: David Singer, ISO/IEC 14496 file format
chair
<span class="grey">Lim & Singer Standards Track [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc4337">RFC 4337</a> MPEG-4 MIME Types March 2006</span>
<span class="h3"><a class="selflink" id="section-3.5" href="#section-3.5">3.5</a>. Initial Object Descriptor (IOD) in Textual Format</span>
MIME media type name: application
MIME subtype name: mpeg4-iod-xmt
Required parameters: none
Optional parameters: none
Encoding considerations: none
Security considerations: See <a href="./rfc4337#section-5">section 5 of RFC 4337</a>.
Interoperability considerations: A number of interoperating
implementations exist within the ISO/IEC 14496 community, and that
community has reference software for reading and writing the file
format.
Published specification: ISO/IEC 14496-1:2001 AMD2.
Applications: Multimedia
Additional information:
Magic number(s): none
File extension(s): mp4 and mpg4 are both declared at
<<a href="http://pitch.nist.gov/nics/">http://pitch.nist.gov/nics/</a>>.
Macintosh File Type Code(s): mpg4 is registered with Apple.
Person to contact for info: David Singer, singer@apple.com
Intended usage: Common
Author/Change controller: David Singer, ISO/IEC 14496 file format
chair
<span class="grey">Lim & Singer Standards Track [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc4337">RFC 4337</a> MPEG-4 MIME Types March 2006</span>
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Security Considerations</span>
It is possible to inject non-compliant MPEG streams (Audio, Video,
and Systems) in the MP4 file to overload the receiver/decoder's
buffers. This might compromise the functionality of the receiver or
even crash it. This is especially true for end-to-end systems like
MPEG, where the buffer models are precisely defined.
An MP4 file supports the storage of stream types, including commands
that are executed on the terminal such as OD command and BIFS
commands, and programmatic content such as MPEG-J (Java(TM) Byte
Code) and ECMASCRIPT. It is possible to use one or more of the above
in a manner non-compliant to MPEG to crash the receiver or
temporarily make it unavailable.
Authentication mechanisms can be used to validate of the sender and
the data to prevent security problems due to non-compliant malignant
MP4 files.
A security model is defined in ISO/IEC 14496 Systems MP4 files
containing MPEG-J contents that comprises Java(TM) classes and
objects. MPEG-J defines a set of Java(TM) APIs and a secure
execution model. MPEG-J content can call this set of APIs and
Java(TM) methods from a set of Java packages supported in the
receiver within the defined security model. According to this
security model, downloaded byte code is forbidden to load libraries,
to define native methods, to start programs, to read or write files,
or to read system properties.
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. Acknowledgements</span>
This document has benefited greatly by contributions from many
people, including Mike Coleman, Jean-Claude Duford, Viswanathan
Swaminathan, Peter Westerink, Carsten Herpel, Olivier Avaro, Paul
Christ, Zvi Lifshitz, and many others. Their insight, foresight, and
contribution is gratefully acknowledged. Little has been invented
here by the author; this is mostly a collation of greatness that has
gone before.
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. Normative References</span>
[<a id="ref-1">1</a>] Schulzrinne, H., Casner, S., Frederick, R., and V. Jacobson,
"RTP: A Transport Protocol for Real-Time Applications", STD 64,
<a href="./rfc3550">RFC 3550</a>, July 2003.
[<a id="ref-2">2</a>] ISO/IEC 14496-1 "Information technology - Coding of audio-visual
objects - Part 1 : Systems", 3rd ed. 2004.
<span class="grey">Lim & Singer Standards Track [Page 9]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-10" ></span>
<span class="grey"><a href="./rfc4337">RFC 4337</a> MPEG-4 MIME Types March 2006</span>
[<a id="ref-3">3</a>] ISO/IEC 14496-12 "Information technology - Coding of audio-
visual objects - Part 12 : ISO Base Media File Format", December
2003.
[<a id="ref-4">4</a>] ISO/IEC 14496-14 "Information technology - Coding of audio-
visual objects - Part 14 : MP4 File Format", January 2004.
[<a id="ref-5">5</a>] ISO/IEC 14496-15 "Information technology - Coding of audio-
visual objects - Part 15 : AVC File Format", 2004.
[<a id="ref-6">6</a>] ISO/IEC 14496-10:2004 "Information technology -- Coding of
audio-visual objects -- Part 10: Advanced Video Coding", 2nd
edition, 2004.
Authors' Addresses
Young-Kwon LIM
net&tv Inc.
Room 802 Hanseo Building
1582-6 Seocho-3-Dong Seocho-Gu
Seoul, 137-875, Korea
Phone: +82-2-581-2305
EMail: young@netntv.co.kr
David Singer
Apple Computer, Inc.
One Infinite Loop, MS:302-3MT
Cupertino CA 95014
USA
Phone: +1 408 974 3162
EMail: singer@apple.com
<span class="grey">Lim & Singer Standards Track [Page 10]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-11" ></span>
<span class="grey"><a href="./rfc4337">RFC 4337</a> MPEG-4 MIME Types March 2006</span>
Full Copyright Statement
Copyright (C) The Internet Society (2006).
This document is subject to the rights, licenses and restrictions
contained in <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a>, and except as set forth therein, the authors
retain all their rights.
This document and the information contained herein are provided on an
"AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE INTERNET
ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE
INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
Intellectual Property
The IETF takes no position regarding the validity or scope of any
Intellectual Property Rights or other rights that might be claimed to
pertain to the implementation or use of the technology described in
this document or the extent to which any license under such rights
might or might not be available; nor does it represent that it has
made any independent effort to identify any such rights. Information
on the procedures with respect to rights in RFC documents can be
found in <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and <a href="https://www.rfc-editor.org/bcp/bcp79">BCP 79</a>.
Copies of IPR disclosures made to the IETF Secretariat and any
assurances of licenses to be made available, or the result of an
attempt made to obtain a general license or permission for the use of
such proprietary rights by implementers or users of this
specification can be obtained from the IETF on-line IPR repository at
<a href="http://www.ietf.org/ipr">http://www.ietf.org/ipr</a>.
The IETF invites any interested party to bring to its attention any
copyrights, patents or patent applications, or other proprietary
rights that may cover technology that may be required to implement
this standard. Please address the information to the IETF at
ietf-ipr@ietf.org.
Acknowledgement
Funding for the RFC Editor function is provided by the IETF
Administrative Support Activity (IASA).
Lim & Singer Standards Track [Page 11]
</pre>
|