1、 ETSI ES 202 184 V2.4.1 (2016-06) MHEG-5 Broadcast Profile ETSI STANDARD ETSI ETSI ES 202 184 V2.4.1 (2016-06) 2Reference RES/JTC-031 Keywords broadcasting, data, digital, DVB, IP, MHEG, MPEG, terrestrial, TV, video ETSI 650 Route des Lucioles F-06921 Sophia Antipolis Cedex - FRANCE Tel.: +33 4 92 9
2、4 42 00 Fax: +33 4 93 65 47 16 Siret N 348 623 562 00017 - NAF 742 C Association but non lucratif enregistre la Sous-Prfecture de Grasse (06) N 7803/88 Important notice The present document can be downloaded from: http:/www.etsi.org/standards-search The present document may be made available in elec
3、tronic versions and/or in print. The content of any electronic and/or print versions of the present document shall not be modified without the prior written authorization of ETSI. In case of any existing or perceived difference in contents between such versions and/or in print, the only prevailing d
4、ocument is the print of the Portable Document Format (PDF) version kept on a specific network drive within ETSI Secretariat. Users of the present document should be aware that the document may be subject to revision or change of status. Information on the current status of this and other ETSI docume
5、nts is available at https:/portal.etsi.org/TB/ETSIDeliverableStatus.aspx If you find errors in the present document, please send your comment to one of the following services: https:/portal.etsi.org/People/CommiteeSupportStaff.aspx Copyright Notification No part may be reproduced or utilized in any
6、form or by any means, electronic or mechanical, including photocopying and microfilm except as authorized by written permission of ETSI. The content of the PDF version shall not be modified without the written authorization of ETSI. The copyright and the foregoing restriction extend to reproduction
7、in all media. European Telecommunications Standards Institute 2016. European Broadcasting Union 2016. All rights reserved. DECTTM, PLUGTESTSTM, UMTSTMand the ETSI logo are Trade Marks of ETSI registered for the benefit of its Members. 3GPPTM and LTE are Trade Marks of ETSI registered for the benefit
8、 of its Members and of the 3GPP Organizational Partners. GSM and the GSM logo are Trade Marks registered and owned by the GSM Association. ETSI ETSI ES 202 184 V2.4.1 (2016-06) 3Contents Intellectual Property Rights 20g3Foreword . 20g3Modal verbs terminology 20g3Introduction 20g31 Scope 21g31.0 Intr
9、oduction 21g31.1 Localizing the present document 21g31.1.0 Approach to creating a local implementation . 21g31.1.1 Extensions . 21g31.1.2 Allocation of codes . 22g31.1.3 Duplicate services . 22g32 References 23g32.1 Normative references . 23g32.2 Informative references 25g33 Definitions and abbrevia
10、tions . 26g33.1 Definitions 26g33.2 Abbreviations . 28g34 Conventions 30g35 Basic architecture . 30g36 Transport protocols. 32g37 Content formats 32g37.1 Static formats 32g37.1.1 Bitmap image formats . 32g37.1.1.1 PNG. 32g37.1.1.2 MPEG-2 I-frames 32g37.1.2 Monomedia formats for audio clips 32g37.1.3
11、 Monomedia formats for text . 32g37.2 Broadcast streaming formats 32g37.3 Resident fonts . 33g37.4 Colour representation . 33g38 Application model 33g38.0 Introduction 33g38.1 Application lifecycle 33g38.1.1 Launching and terminating MHEG-5 applications . 33g38.1.2 Preparing for launch 34g38.1.3 Aut
12、o boot broadcast application . 34g38.1.3.0 When to launch an auto-boot application 34g38.1.3.1 How an auto-boot application is done . 34g38.1.4 Auto kill application . 34g38.1.5 Application context . 34g38.1.5.0 Identification of a file reference source . 34g38.1.5.1 Initial carousel . 34g38.1.5.2 C
13、urrent carousel 34g38.1.5.3 Current source . 35g38.1.5.4 Authentication Source . 35g38.1.6 Accessible file systems . 35g38.1.6.0 List of available file systems . 35g38.1.6.1 Broadcast applications 36g38.1.6.2 CI introduced applications 36g38.1.6.3 Interaction Channel . 36g3ETSI ETSI ES 202 184 V2.4.
14、1 (2016-06) 48.1.7 Keeping an application running across service tunes 36g38.1.7.0 Required behaviour for non-destructive tune 36g38.1.7.1 Broadcast file system requests 36g38.1.7.2 Timers . 37g38.1.7.3 Carousel Identity . 37g38.1.7.4 Broadcast file system 37g38.1.7.5 Network and service boot info 3
15、7g38.1.7.6 Behaviour of stream decoders . 37g38.1.7.7 Content management . 38g38.1.7.8 Receiver keys 38g38.1.7.9 Interaction with resident programs 38g38.1.7.10 Interaction channel security 39g38.1.7.11 Autoboot behaviour . 39g38.1.7.12 True persistent storage 39g38.2 Application stacking . 39g39 Si
16、gnalling . 39g39.1 Introduction to application lifecycle signalling 39g39.1.0 Overview 39g39.1.1 Application-level signalling 40g39.1.2 Service-level signalling . 40g39.1.3 Network-level signalling . 40g39.1.4 Scope 40g39.2 AIT Signalling Extension . 40g39.2.0 AIT profile 40g39.2.1 Coexistence of Cl
17、assical and AIT signalling 42g39.2.2 Life-cycle signalling in AIT and PMT 42g39.2.2.0 Life-cycle information in the PMT . 42g39.2.2.1 carousel_id_descriptor 42g39.2.2.2 data_broadcast_id_descriptor 43g39.2.2.3 MHEG Non-destructive tune support with AIT signalling . 43g39.2.2.3.0 AIT signalling 43g39
18、.2.2.3.1 Network and service boot info . 44g39.2.2.4 Definition of “well formed“ for MHEG Applications . 44g39.3 PMT and ServiceGateway signalling extension . 44g39.3.1 Introduction. 44g39.3.2 Identification of auto-boot application 44g39.3.2.0 Identifying the boot-PID . 44g39.3.2.1 data_broadcast_i
19、d_descriptor 44g39.3.2.2 Network boot info sub-descriptor . 45g39.3.2.3 Service boot info sub-descriptor . 46g39.3.3 Acquisition of the ServiceGateway object 46g39.3.3.0 Approach to acquisition of the ServiceGateway object. 46g39.3.3.1 carousel_id_descriptor 47g39.3.4 Acquisition of the auto-boot ob
20、ject . 47g39.3.4.0 Approach to acquisition of the auto-boot object . 47g39.3.4.1 ServiceContextList 47g39.3.4.2 Locating the initial object 49g39.3.4.2.1 Explicit Initial Object Identified 49g39.3.4.2.2 No Explicit Initial Object Identified 49g39.3.4.2.3 Initial File System 49g39.3.4.2.4 Example . 4
21、9g39.3.5 Example of steps required for auto-boot . 49g39.3.6 Service-level application lifecycle signalling . 50g39.3.7 Network-level application lifecycle signalling . 51g39.3.7.0 PMT monitoring 51g39.3.7.1 Auto mount broadcast file system . 51g39.3.7.2 network_boot_info 51g39.3.7.3 data_broadcast_
22、id 51g39.3.7.4 carousel_id 51g39.3.7.5 Carousels moving components 51g39.3.7.6 Removal of service 51g3ETSI ETSI ES 202 184 V2.4.1 (2016-06) 510 Security. 52g311 MHEG-5 engine profile 52g311.0 Introduction 52g311.1 Basic specification 52g311.2 Object interchange format 52g311.3 Set of classes 53g311.
23、4 Set of features . 54g311.4.0 MHEG-5 optional features 54g311.4.1 GetEngineSupport “feature“ strings 54g311.4.1.0 Set of mandatory GetEngineSupport “feature“ strings 54g311.4.1.1 VideoDecodeOffset . 56g311.4.1.2 BitmapDecodeOffset. 57g311.4.1.3 Engine identification strings 57g311.4.1.4 Audio strea
24、m decoders 57g311.5 Content data encoding 58g311.5.0 Coding attributes and hook values 58g311.5.1 Use of negative hook values . 59g311.5.2 Bitmap objects 59g311.5.2.1 Scaling . 59g311.5.2.2 Tiling . 59g311.5.2.3 Transparency . 59g311.5.3 Stream “memory“ formats 59g311.5.3.0 Scope of StreamComponent
25、applicability . 59g311.5.3.1 Audio . 59g311.5.4 Non-linear stream formats 59g311.5.4.0 Profile for IP-delivered Transport Stream . 59g311.5.4.1 Video . 60g311.5.4.2 Audio . 60g311.5.4.3 Subtitles . 60g311.5.4.4 Encrypted non-linear streams 60g311.6 User input . 60g311.6.1 Base remote control functio
26、ns 60g311.6.1.0 Overview of remote control function groups 60g311.6.1.1 Receiver group 61g311.6.1.2 Register 3 group (see table 11.8) . 61g311.6.1.3 Register 4 group (see table 11.8) . 62g311.6.1.4 Register 5 group (see table 11.8) . 62g311.6.1.5 Register 6 group (see table 11.8) . 62g311.6.2 Extend
27、ed remote control functions . 62g311.6.2.0 Outline of extended function groups . 62g311.6.2.1 Register 6 group (see table 11.9) . 62g311.6.3 UserInput registers 62g311.6.3.1 Base UserInput registers . 62g311.6.3.2 Extended UserInput registers 63g311.6.4 Implementation of this interaction model . 64g
28、311.6.5 Interaction with broadcast-triggered native applications 64g311.7 Semantic constraints on MHEG-5 applications 64g311.8 EngineEvents 64g311.8.0 List of required engine events . 64g311.8.1 Object retrieval errors . 66g311.8.2 Object retrieval errors - Interaction Channel 66g311.9 Protocol mapp
29、ing and external interaction . 66g311.10 ResidentPrograms . 67g311.10.0 List of ResidentPrograms 67g311.10.1 Typical use 68g311.10.2 Program names . 69g311.10.3 Encoding of resident program names 69g311.10.4 Date and time functions 69g311.10.4.1 Day, date and time functions . 69g311.10.4.2 GetCurren
30、tDate . 69g311.10.4.3 FormatDate 69g3ETSI ETSI ES 202 184 V2.4.1 (2016-06) 611.10.4.4 GetDayOfWeek . 70g311.10.5 Random number function . 70g311.10.5.1 Random . 70g311.10.6 Type conversion functions 71g311.10.6.1 CastToContentRef . 71g311.10.6.2 CastToObjectRef . 71g311.10.6.3 CastToStringInt . 71g3
31、11.10.7 String manipulation functions . 72g311.10.7.0 Use of string manipulation functions 72g311.10.7.1 Range of string index values . 72g311.10.7.2 GetStringLength 72g311.10.7.3 GetSubString . 72g311.10.7.4 SearchSubString 73g311.10.7.5 SearchAndExtractSubString 73g311.10.8 Service selection . 74g
32、311.10.8.0 Use of service selection functions . 74g311.10.8.1 SI_GetServiceIndex 74g311.10.8.2 SI_TuneIndex 74g311.10.8.3 SI_GetBasicSI . 74g311.10.8.4 SI_TuneIndexInfo . 75g311.10.8.4.0 Usage . 75g311.10.8.4.1 Destructive service tune. 76g311.10.8.4.2 Non-destructive service tune . 77g311.10.9 Chec
33、king references 78g311.10.9.0 Use of reference checking functions . 78g311.10.9.1 CheckContentRef 78g311.10.9.2 CheckGroupIDRef 79g311.10.10 Presentation information . 79g311.10.10.1 VideoToGraphics 79g311.10.10.2 SetWidescreenAlignment 80g311.10.10.3 GetDisplayAspectRatio . 81g311.10.10.4 SetSubtit
34、leMode 81g311.10.10.5 SetBroadcasterInterruptions 81g311.10.10.6 GetAudioDescPref 82g311.10.10.7 GetSubtitlePref 83g311.10.11 Common Interface 83g311.10.11.1 CI_SendMessage . 83g311.10.12 Interaction channel 83g311.10.12.0 Introduction to interaction channel resident programs 83g311.10.12.1 GetICSta
35、tus . 83g311.10.12.2 ReturnData 84g311.10.12.3 MeasureStreamPerformance . 85g311.10.12.4 PromptForGuidance 86g311.10.12.5 PersistentStorageInfo 86g311.10.12.6 SetCookie 86g311.10.12.7 GetCookie . 87g311.10.12.8 GetPINSupport 87g311.10.13 Hybrid file system . 88g311.10.13.0 Introduction to hybrid fil
36、e system resident programs 88g311.10.13.1 SetHybridFileSystem 88g311.10.14 Developer utilities . 89g311.10.14.1 WhoAmI . 89g311.10.14.2 Debug 89g311.10.15 Access to application lifecycle signalling . 90g311.10.15.1 GetBootInfo 90g311.10.16 Data exchange with ResidentPrograms. 90g311.10.16.0 Scope of
37、 behaviour 90g311.10.16.1 Memory spaces . 91g311.10.16.2 On invocation 91g311.10.16.3 CallSucceeded/ForkSucceeded Values . 91g311.10.16.4 During execution . 91g311.10.16.5 On completion . 91g3ETSI ETSI ES 202 184 V2.4.1 (2016-06) 711.10.17 Duration of effect of ResidentPrograms . 91g311.11 Limitatio
38、ns on standard data-types . 91g311.11.1 BooleanVariable . 91g311.11.2 IntegerVariable . 92g311.11.3 OctetString 92g311.11.4 ObjectNumber . 92g311.11.5 GroupIdentifier and ContentReference . 92g311.12 Extensions to the MHEG-5 language specification 92g311.12.1 Preamble . 92g311.12.2 Changes to the Gr
39、oup class . 92g311.12.2.0 Overview of changes . 92g311.12.2.1 Changes to “Own internal attributes“ 93g311.12.2.2 Changes to “Events“ 93g311.12.2.3 Changes to “Effect of MHEG-5 actions“ 93g311.12.3 Changes to the Application class 93g311.12.3.1 Changes to “Own exchanged attributes“ . 93g311.12.3.2 Ch
40、anges to “Own internal attributes“ 94g311.12.3.3 Changes to “Effect of MHEG-5 actions“ 94g311.12.4 Changes to the Scene class . 94g311.12.4.0 Overview of changes . 94g311.12.4.1 Changes to “Own exchanged attributes“ . 95g311.12.4.2 Changes to “Own internal attributes“ 95g311.12.4.3 Changes to “Event
41、s“ 95g311.12.4.4 Changes to “Effect of MHEG-5 actions“ 95g311.12.5 Changes to the TokenGroup class . 96g311.12.5.1 Changes to “Effect of MHEG-5 actions“ 96g311.12.6 Changes to the ListGroup class . 96g311.12.6.1 Changes to “Own exchanged attributes“ . 96g311.12.6.2 Changes to “Own internal attribute
42、s“ 96g311.12.6.3 Changes to “Effect of MHEG-5 actions“ 96g311.12.7 Changes to the Bitmap class . 97g311.12.7.1 Changes to “Own internal attributes“ 97g311.12.7.2 Changes to “Effect of MHEG-5 actions“ 97g311.12.8 Changes to the Text class 98g311.12.8.1 Changes to “Own exchanged attributes“ . 98g311.1
43、2.8.2 Changes to “Own internal attributes“ 99g311.12.8.3 Changes to “Effect of MHEG-5 actions“ 100g311.12.9 Changes to the Stream class 101g311.12.9.0 Overview of changes . 101g311.12.9.1 Changes to “Own exchanged attributes“ . 101g311.12.9.2 Changes to “Own internal attributes“ 101g311.12.9.3 Chang
44、es to “Internal behaviours“ 101g311.12.9.4 Changes to “Effect of MHEG-5 actions“ 101g311.12.10 Changes to the Video class . 102g311.12.10.1 Changes to “Own internal attributes“ 102g311.12.10.2 Changes to “Effect of MHEG-5 actions“ 103g311.12.11 Changes to the Slider class . 106g311.12.11.1 Changes t
45、o “Own exchanged attributes“ . 106g311.12.11.2 Changes to “Own internal attributes“ 106g311.12.11.3 Changes to “Events“ 107g311.12.11.4 Changes to “Internal behaviour“ . 107g311.12.11.5 Changes to “Effect of MHEG-5 actions“ 107g311.12.12 Changes to the HyperText class 108g311.12.12.1 Changes to “Own
46、 internal attributes“ 108g311.12.12.2 Changes to “Events“ 109g311.12.12.3 Changes to “Internal behaviours“ 109g311.12.12.4 Changes to “Effect of MHEG-5 actions“ 110g311.12.13 Changes to the LineArt class 110g311.12.13.0 Overview of changes . 110g311.12.13.1 Changes to “Own exchanged attributes“ . 11
47、1g311.12.13.2 Changes to “Effect of MHEG-5 actions“ 111g311.13 Clarifications, restrictions and amendments . 111g3ETSI ETSI ES 202 184 V2.4.1 (2016-06) 811.13.1 Additional semantics for the SetTimer action . 111g311.13.2 CounterPosition attribute 111g311.13.2.0 Relationship of CounterPosition to NPT
48、 . 111g311.13.2.1 Broadcast delivered streams 111g311.13.2.2 IP delivered streams 111g311.13.3 Synchronous event processing 112g311.13.3.0 Interpretations of synchronous event processing behaviour 112g311.13.3.1 Preferred interpretation . 112g311.13.3.2 Alternative interpretation 112g311.13.3.3 Expl
49、anation . 113g311.13.4 Actions that generate more than one synchronous event 113g311.13.5 TransitionTo deactivation of shared=FALSE ingredients 113g311.13.6 Interactibles. 113g311.13.7 Clarification of StreamPlaying and StreamStopped events 114g311.13.8 Use of NextScenes to preload content 114g311.13.9 Application defaults 114g311.13.10 Effect of SetData on Internal Attributes . 115g311.13.11 Clarification of TransitionTo, Launch and Spawn behaviour . 115g311.13.12 References to shared=FALSE ingredients 115g311.13.13 Restrictions on Link EventSource 115g311.13.14 Video Termin