1、Information technology Coding of audio-visual objects Part 4: Conformance testing AMENDMENT 24: File format conformanceAmendment 24:2009 (IDT) toNational Standard of CanadaCAN/CSA-ISO/IEC 14496-4-06(ISO/IEC 14496-4:2004, IDT)NOT FOR RESALE.PUBLICATION NON DESTINE LA REVENTE.CSA Standards Update Serv
2、iceAmendment 24:2009 toCAN/CSA-ISO/IEC 14496-4-06October 2009Title: Information technology Coding of audio-visual objects Part 4: Conformance testing AMENDMENT 24: File format conformancePagination: 8 pages (iii preliminary and 5 text)To register for e-mail notification about any updates to this pub
3、licationgo to www.ShopCSA.caclick on E-mail Services under MY ACCOUNTclick on CSA Standards Update ServiceThe List ID that you will need to register for updates to this publication is 2418413.If you require assistance, please e-mail techsupportcsa.ca or call 416-747-2233.Visit CSAs policy on privacy
4、 at www.csagroup.org/legal to find out how we protect your personal information.Reference numberISO/IEC 14496-4:2004/Amd.24:2008(E)ISO/IEC 2008INTERNATIONAL STANDARD ISO/IEC14496-4Second edition2004-12-15AMENDMENT 242008-06-01Information technology Coding of audio-visual objects Part 4: Conformance
5、testing AMENDMENT 24: File format conformance Technologies de linformation Codage des objets audiovisuels Partie 4: Essai de conformit AMENDEMENT 24: Conformit de format de fichier ISO/IEC 14496-4:2004/Amd.24:2008(E) PDF disclaimer This PDF file may contain embedded typefaces. In accordance with Ado
6、bes licensing policy, this file may be printed or viewed but shall not be edited unless the typefaces which are embedded are licensed to and installed on the computer performing the editing. In downloading this file, parties accept therein the responsibility of not infringing Adobes licensing policy
7、. The ISO Central Secretariat accepts no liability in this area. Adobe is a trademark of Adobe Systems Incorporated. Details of the software products used to create this PDF file can be found in the General Info relative to the file; the PDF-creation parameters were optimized for printing. Every car
8、e has been taken to ensure that the file is suitable for use by ISO member bodies. In the unlikely event that a problem relating to it is found, please inform the Central Secretariat at the address given below. COPYRIGHT PROTECTED DOCUMENT ISO/IEC 2008 All rights reserved. Unless otherwise specified
9、, no part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from either ISO at the address below or ISOs member body in the country of the requester. ISO copyright office Case p
10、ostale 56 CH-1211 Geneva 20 Tel. + 41 22 749 01 11 Fax + 41 22 749 09 47 E-mail copyrightiso.org Web www.iso.org ii ISO/IEC 2008 All rights reservedAmendment 24:2009 toCAN/CSA-ISO/IEC 14496-4-06ISO/IEC 14496-4:2004/Amd.24:2008(E) ISO/IEC 2008 All rights reserved iiiForeword ISO (the International Or
11、ganization for Standardization) and IEC (the International Electrotechnical Commission) form the specialized system for worldwide standardization. National bodies that are members of ISO or IEC participate in the development of International Standards through technical committees established by the
12、respective organization to deal with particular fields of technical activity. ISO and IEC technical committees collaborate in fields of mutual interest. Other international organizations, governmental and non-governmental, in liaison with ISO and IEC, also take part in the work. In the field of info
13、rmation technology, ISO and IEC have established a joint technical committee, ISO/IEC JTC 1. International Standards are drafted in accordance with the rules given in the ISO/IEC Directives, Part 2. The main task of the joint technical committee is to prepare International Standards. Draft Internati
14、onal Standards adopted by the joint technical committee are circulated to national bodies for voting. Publication as an International Standard requires approval by at least 75 % of the national bodies casting a vote. Attention is drawn to the possibility that some of the elements of this document ma
15、y be the subject of patent rights. ISO and IEC shall not be held responsible for identifying any or all such patent rights. Amendment 24 to ISO/IEC 14496-4:2004 was prepared by Joint Technical Committee ISO/IEC JTC 1, Information technology, Subcommittee SC 29, Coding of audio, picture, multimedia a
16、nd hypermedia information. Amendment 24:2009 toCAN/CSA-ISO/IEC 14496-4-06ISO/IEC 14496-4:2004/Amd.24:2008(E) ISO/IEC 2008 All rights reserved 1Information technology Coding of audio-visual objects Part 4: Conformance testing AMENDMENT 24: File format conformance Rename the title of 4.7: 4.7 MP4 File
17、 Format to: 4.7 File Format In 4.7 insert the following subclause: renumbering existing Subclauses 4.7.1 and 4.7.2 as 4.7.2 and 4.7.3 respectively: 4.7.1 Introduction This subclause describes the conformance suite for the file format standards in MPEG-4. Since these standards share a lot of technolo
18、gy, their conformance program is being handled together. These standards are: 1) ISO/IEC 14496-12 (technically identical to ISO/IEC 15444-12): ISO base media file format 2) ISO/IEC 14496-14: MP4 file format 3) ISO/IEC 14496-15: Advanced Video Coding (AVC) file format (Storage of AVC in ISO files) Th
19、e purpose of the conformance suite is to cover the set of valid features that may be exercised in the file format. Media conformance is not covered, though of course in order to exercise the file format features, media has to be stored. In order to assure coverage of features, the associated spreads
20、heet is used to list the features in groups, and to document which files exercise each feature. Features not currently covered by any file are marked with the sign “-“. After 4.7.3: Reading, add the following subclauses: 4.7.4 Process Those wishing to check the conformance of their implementation sh
21、ould perform the following checks. First, all conformance should check the “basic box handling” section of the tests, as this is common to all Amendment 24:2009 toCAN/CSA-ISO/IEC 14496-4-06ISO/IEC 14496-4:2004/Amd.24:2008(E) 2 ISO/IEC 2008 All rights reservedspecifications. Then, the mandatory featu
22、res of the selected specification should be checked, and finally, of course, those optional features that the implementation being checked also covers. The suite of conformance tests do not currently cover deliberately errored files. However, such files do occur in practice and implementations shoul
23、d be written to be resilient. There is no tool provided to check the conformance of files. However, such tools do exist; the reference software can be used to open files in debug mode and provide a listing of what it finds, and other trade associations and standards bodies may have validation tools
24、tailored to their areas. 4.7.5 Areas tested The attached Excel document has two spreadsheets. The first briefly lists the areas and features covered, and then has a column for each proposed file. The second sheet provides a brief description of each area and feature, by line. 4.7.6 File Documentatio
25、n 4.7.6.1 a1 This file is about as simple as it gets. It has an MPEG-4 video part 2 visual track, and an AAC track, interleaved; and an ISMA minimal scene and OD track, with an IOD. 4.7.6.2 a2 This file is basically the same as a1, but hinted for RTP transmission. 4.7.6.3 a3 This file uses the prote
26、cted stream structures, in the ISMACryp 1.0 use of them. The keys are also supplied, and the result of de-protection (for comparison). 4.7.6.4 a4 This uses movie fragments. The initial 1-second movie is followed by a 1-second movie fragment. Fragment-aware readers should play 2 seconds of content, f
27、ragment-unaware readers only 1 second. 4.7.6.5 a5 This is a very simple video-only main profile AVC file. Since it is the main profile, composition offsets are used. 4.7.6.6 a6 This is the same tone as used in test 3, but the actual access units are stored in a separate file, referenced by a relativ
28、e URL “./myData.dat ” from the main file. 4.7.6.7 a7 This file also uses the 1-second tone. However, it has both UUID and a junk atom in it (which should be ignored), free space (also ignored), and the compact sample size table, and a padding bits table (though the padding bits are all set to zero).
29、 The mdat atom has an implied length (the length in the file is zero, meaning to end of file). Amendment 24:2009 toCAN/CSA-ISO/IEC 14496-4-06ISO/IEC 14496-4:2004/Amd.24:2008(E) ISO/IEC 2008 All rights reserved 34.7.6.8 a8 This file has the foreman 10 second of video, with 5 seconds before and after,
30、 of “container”. However, the edit list should select only foreman; the container ship should not appear. Note that the I-frames do not land on the edit boundaries; a player will have to pre-roll the video from an I-frame to work correctly. 4.7.6.9 a9 This file demonstrates the suggested way of hand
31、ling AAC: it has a pre-roll sample group, and a track edit that is not aligned at either start or end with an AAC sample boundary. 4.7.6.10 a10 This file contains raw (YUV420) video. Since this is an unregistered codec type (its actually supported in QuickTime movie files) this is an unrecognized co
32、dec type from an MP4 readers point of view. 4.7.6.11 a11 This file tests handling of very large (4GB) files. Be careful, when unzipped, it expands to just over 4GB. It is double-zipped, because its much smaller that way. The mdat atom has a large (64-bit) size, and all the samples are at the end, pr
33、eceded by 4GB of zeroes. Therefore the chunk offset table is also a co64, not an stco. The actual media data is a simple AAC tone. 4.7.6.12 f1 This file is a simple AVC + AAC file. It has an MPEG-4 AVC Baseline visual track (including the optional BitrateBox), and an AAC track. 4.7.6.13 f2 This file
34、 is a protected AVC + AAC file according to ISMACryp 1. The 128-bit key for the decryption process is 0x01020304050607080102030405060708 for both tracks. The salt (counter offset) is 0x0000000000000001 for the audio and 0x0000000000000002. Because of the usage of proteced streams, “isom” was replace
35、 with “iso2” in the list of compatible brands. All files are 3GP files containing AMR speech at 12.2 or 6.7 kbps, with or without DTX (silence frames). In addition, 3GP files with hint tracks (produced by Helix) are provided. 4.7.6.14 male_amr122.3gp AMR 12.2kbps, no DTX 4.7.6.15 male_amr122DTX.3gp
36、AMR 12.2kbps, DTX 4.7.6.16 female_amr67_hinted.3gp AMR 6.7kbps, no DTX, hint track 4.7.6.17 female_amr67DTX_hinted.3gp AMR 6.7kbps, DTX, hint track Amendment 24:2009 toCAN/CSA-ISO/IEC 14496-4-06ISO/IEC 14496-4:2004/Amd.24:2008(E) 4 ISO/IEC 2008 All rights reserved4.7.6.18 01-simple.mp4 Simple AV fil
37、e (MPEG-4 ASP video, AAC audio), BIFS+OD scene, 2 timelines (BIFS/OD and A/V), interleaved 4.7.6.19 02-dref_edts_img.mp4 image track, audio track with edit list, with media data located outside the file 4.7.6.20 03-hinted.mp4 Simple video file with MPEG-4 ASP visual, hinted for RTP (RFC 3640 payload
38、) 4.7.6.21 04-bifs_video.mp4 Video (MPEG-4 ASP visual) + BIFS text (reading unprotected video), with a single timeline 4.7.6.22 05-bifs_video_protected.mp4 Protected Video (MPEG-4 ASP visual) + BIFS text (reading protected video), with a single timeline. Protection is done according to ISMACryp. Key
39、s are described in an item located in a meta box at the file root level, ISMA KMS URI refering to this item. Keys are: key 0x2b7e151628aed2a6abf7158809cf4f3c salt 0xf8f9fafbfcfdfeff Only video I-frames are encrypted. 4.7.6.23 06-bifs.mp4 Simple animation with a single BIFS track. File moov box is lo
40、cated after mdat box. 4.7.6.24 07-bifs_sprite.mp4 Simple looping animation with two BIFS tracks, exercising decoding dependency and synchronization track references. Animation track uses ShadowSync samples in-between regular samples. 4.7.6.25 08-bifs_carousel.mp4 Simple animation with a single BIFS
41、track. Random Access Samples are inserted in-between the samples for the BIFS carsousel, and signaled with a sample dependency type box. 4.7.6.26 09-text.mp4 Sample MPEG-4 Streaming Text file, stored in 3GPP text track format, with 2 sample descriptions. 4.7.6.27 10-fragments.mp4 Simple AV file (MPE
42、G-4 ASP video, AAC audio), BIFS+OD scene, stored as a sequence of 500 ms fragments. Amendment 24:2009 toCAN/CSA-ISO/IEC 14496-4-06ISO/IEC 14496-4:2004/Amd.24:2008(E) ISO/IEC 2008 All rights reserved 54.7.6.28 12-metas.mp4 IsoMedia file with a single image track, containing 3 metas (root, moov and tr
43、ack level). Meta at moov level has an item referencing the whole file 4.7.6.29 13-long.mp4 Long duration file, with MPEG-4 ASP track (only I-frames present). Total file duration is 5 000 000 000 sec (158 years 81 days 08:53:20) 4.7.6.30 14_large.mp4.gz.gz Large file exercising 64 bits chunk offset.
44、The file is gziped twice, expanding to a total of more than 4 Gbytes. 4.7.6.31 timed-metadata.mp4 Simple audio file with a timed-metadata track. Amendment 24:2009 toCAN/CSA-ISO/IEC 14496-4-06ISO/IEC 14496-4:2004/Amd.24:2008(E) ICS 35.040 ISO/IEC 2008 All rights reserved Copyright NoticeThis Amendmen
45、t to the International Standard contains information copyright protected by the International Organization for Standardization (ISO) and the International Electrotechnical Commission (IEC). Except as permitted under the laws of Canada, no extract of this Amendment to the International Standard may b
46、e reproduced, stored in any retrieval system, or transmitted in any form or by any means, electronic, photocopying, recording, or otherwise, without prior permission from the Standards Council of Canada (SCC). Requests for permission to reproduce this Amendment to the International Standard or parts
47、 thereof should be addressed to Manager, Technical Document Centre Standards Council of Canada 270 Albert Street, Suite 200 Ottawa, Ontario K1P 6N7 The Canadian adoption of this Amendment to the International Standard contains information copyright protected by the Canadian Standards Association. Al
48、l rights reserved. No part of this adopted Amendment may be reproduced in any form whatsoever without the prior permission of the publisher. ISO/IEC material is reprinted with permission. Requests for permission to reproduce this adopted Amendment or parts thereof should be addressed to Manager, Sal
49、es Canadian Standards Association 5060 Spectrum Way, Suite 100 Mississauga, Ontario L4W 5N6Copyright violators will be prosecuted to the full extent of the law.PRINTED IN CANADAIMPRIMEAU CANADA100%The Canadian Standards Association (CSA) prints its publications on Rolland Enviro100, which contains 100% recycled post-consumer fibre, is EcoLogo and Processed Chlorine Free certified, and was manufactured using biogas energy.