1、 INTERNATIONAL STANDARD IEC62261-2 First edition2005-08 Television METADATA Part 2:Data encoding protocol using key-length-value Reference number IEC 62261-2:2005(E)LICENSED TO MECON Limited.-RANCHI/BANGALOREFOR INTERNAL USE AT THIS LOCATION ONLY,SUPPLIED BY BOOK SUPPLY BUREAU.Publication numbering
2、As from 1 January 1997 all IEC publications are issued with a designation in the 60000 series.For example,IEC 34-1 is now referred to as IEC 60034-1.Consolidated editions The IEC is now publishing consolidated versions of its publications.For example,edition numbers 1.0,1.1 and 1.2 refer,respectivel
3、y,to the base publication,the base publication incorporating amendment 1 and the base publication incorporating amendments 1 and 2.Further information on IEC publications The technical content of IEC publications is kept under constant review by the IEC,thus ensuring that the content reflects curren
4、t technology.Information relating to this publication,including its validity,is available in the IEC Catalogue of publications(see below)in addition to new editions,amendments and corrigenda.Information on the subjects under consideration and work in progress undertaken by the technical committee wh
5、ich has prepared this publication,as well as the list of publications issued,is also available from the following:IEC Web Site(www.iec.ch)Catalogue of IEC publications The on-line catalogue on the IEC web site(www.iec.ch/searchpub)enables you to search by a variety of criteria including text searche
6、s,technical committees and date of publication.On-line information is also available on recently issued publications,withdrawn and replaced publications,as well as corrigenda.IEC Just Published This summary of recently issued publications(www.iec.ch/online_news/justpub)is also available by email.Ple
7、ase contact the Customer Service Centre(see below)for further information.Customer Service Centre If you have any questions regarding this publication or need further assistance,please contact the Customer Service Centre:Email:custserviec.ch Tel:+41 22 919 02 11 Fax:+41 22 919 03 00 LICENSED TO MECO
8、N Limited.-RANCHI/BANGALOREFOR INTERNAL USE AT THIS LOCATION ONLY,SUPPLIED BY BOOK SUPPLY BUREAU.INTERNATIONAL STANDARD IEC62261-2 First edition2005-08 Television METADATA Part 2:Data encoding protocol using key-length-value IEC 2005 Copyright-all rights reserved No part of this publication may be r
9、eproduced or utilized in any form or by any means,electronic or mechanical,including photocopying and microfilm,without permission in writing from the publisher.International Electrotechnical Commission,3,rue de Varemb,PO Box 131,CH-1211 Geneva 20,SwitzerlandTelephone:+41 22 919 02 11 Telefax:+41 22
10、 919 03 00 E-mail:inmailiec.ch Web:www.iec.ch V For price,see current cataloguePRICE CODE Commission Electrotechnique InternationaleInternational Electrotechnical Commission LICENSED TO MECON Limited.-RANCHI/BANGALOREFOR INTERNAL USE AT THIS LOCATION ONLY,SUPPLIED BY BOOK SUPPLY BUREAU.2 62261-2 IEC
11、:2005(E)CONTENTS FOREWORD.4 1 Scope.6 2 Normative references.6 3 KLV protocol.6 3.1 General.6 3.2 ANSI/SMPTE 298M universal label key.7 3.3 Encoding of the KLV length field.10 3.4 Encoding of data values.11 3.5 Empty metadata items.12 4 KLV coding of individual data items.12 4.1 General.12 4.2 Ident
12、ification of value data representations.12 5 KLV group coding.13 5.1 General.13 5.2 Universal sets.14 5.3 Global sets.14 5.4 Local sets.16 5.5 Variable-length packs.19 5.6 Fixed-length packs.22 6 Labels.24 Annex A(normative)Glossary of terms.25 Annex B(informative)Example usage of Universal Label Ke
13、y.27 Annex C(informative)Example of the KLV encoding of a single metadata item.28 Annex D(informative)Example of a universal set.29 Annex E(informative)Example of a global set.30 Annex F(informative)Example of a local set.31 Annex G(informative)Example of a variable-length pack.32 Annex H(informativ
14、e)Example of a fixed-length pack.33 Annex I(informative)Example of a label.34 Bibliography.35 Figure 1 KLV encoding.7 Figure 2 KLV coded universal set data structure.15 Figure 3 KLV coded global set data structure.17 Figure 4 KLV coded local set structure.18 Figure 5 Informative illustration of loca
15、l set label to global key linking.20 Figure 6 KLV coded variable-length pack structure.21 Figure 7 KLV coded fixed-length pack structure.23 Figure 8 UL key for labels.24 Figure B.1 Example of universal label fields for metadata encoding in the SMPTE namespace.27 LICENSED TO MECON Limited.-RANCHI/BAN
16、GALOREFOR INTERNAL USE AT THIS LOCATION ONLY,SUPPLIED BY BOOK SUPPLY BUREAU.62261-2 IEC:2005(E)3 Table 1 KLV fields for encoding of data.7 Table 2 Field descriptions for the universal label key for the KLV encoding of data.8 Table 3 UL designators for octets 5 through 7.9 Table 4 Field descriptions for the UL key for the KLV encoding of universal sets.15 Table 5 Field descriptions for the UL key for global set encoding.17 Table 6 Coding of registry designator(octet 6)for global set syntax.18 Tab