1、 g49g50g3g38g50g51g60g44g49g42g3g58g44g55g43g50g56g55g3g37g54g44g3g51g40g53g48g44g54g54g44g50g49g3g40g59g38g40g51g55g3g36g54g3g51g40g53g48g44g55g55g40g39g3g37g60g3g38g50g51g60g53g44g42g43g55g3g47g36g58using 6,35 mm magnetic tape Format D-7 Part 2: Compression formatThe European Standard EN 62071-2:2
2、006 has the status of a British StandardICS 33.160.40Helical-scan compressed digital video cassette system BRITISH STANDARDBS EN 62071-2:2006BS EN 62071-2:2006This British Standard was published under the authority of the Standards Policy and Strategy Committee on 31 October 2006 BSI 2006ISBN 0 580
3、49478 0Amendments issued since publicationAmd. No. Date Commentsits secretary.This publication does not purport to include all the necessary provisions of a contract. Users are responsible for its correct application.Compliance with a British Standard cannot confer immunity from legal obligations.Na
4、tional forewordThis British Standard was published by BSI. It is the UK implementation of EN 62071-2:2006. It is identical with IEC 62071-2:2005. This standard, together with BS EN 62071-1:2006 and BS EN 62071-3:2006, supersedes BS EN 62071:2001, which will be withdrawn on 1 June 2009.The UK partici
5、pation in its preparation was entrusted to Technical Committee EPL/100, Audio, video and multimedia systems and equipment.A list of organizations represented on EPL/100 can be obtained on request to EUROPEAN STANDARD EN 62071-2 NORME EUROPENNE EUROPISCHE NORM July 2006 CENELEC European Committee for
6、 Electrotechnical Standardization Comit Europen de Normalisation Electrotechnique Europisches Komitee fr Elektrotechnische Normung Central Secretariat: rue de Stassart 35, B - 1050 Brussels 2006 CENELEC - All rights of exploitation in any form and by any means reserved worldwide for CENELEC members.
7、 Ref. No. EN 62071-2:2006 E ICS 33.160.40 English version Helical-scan compressed digital video cassette system using 6,35 mm magnetic tape - Format D-7 Part 2: Compression format (IEC 62071-2:2005) Systme de magntoscope numrique cassette balayage hlicodal signal compress utilisant une bande magntiq
8、ue de 6,35 mm - Format D-7 Partie 2: Format de compression (CEI 62071-2:2005) Videokassettensystem mit komprimierter digitaler Schrgspuraufzeichnung auf Magnetband 6,35 mm - Format D-7 Teil 2: Kompressionsformat (IEC 62071-2:2005) This European Standard was approved by CENELEC on 2006-06-01. CENELEC
9、 members are bound to comply with the CEN/CENELEC Internal Regulations which stipulate the conditions for giving this European Standard the status of a national standard without any alteration. Up-to-date lists and bibliographical references concerning such national standards may be obtained on appl
10、ication to the Central Secretariat or to any CENELEC member. This European Standard exists in two official versions (English and German). A version in any other language made by translation under the responsibility of a CENELEC member into its own language and notified to the Central Secretariat has
11、 the same status as the official versions. CENELEC members are the national electrotechnical committees of Austria, Belgium, Cyprus, the Czech Republic, Denmark, Estonia, Finland, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, the Netherlands, Norway
12、, Poland, Portugal, Romania, Slovakia, Slovenia, Spain, Sweden, Switzerland and the United Kingdom. Foreword The text of the International Standard IEC 62071-2:2005, prepared by IEC TC 100, Audio, video and multimedia systems and equipment, was submitted to the formal vote and was approved by CENELE
13、C as EN 62071-2 on 2006-06-01 without any modification. The following dates were fixed: latest date by which the EN has to be implemented at national level by publication of an identical national standard or by endorsement (dop) 2007-06-01 latest date by which the national standards conflicting with
14、 the EN have to be withdrawn (dow) 2009-06-01 _ Endorsement notice The text of the International Standard IEC 62071-2:2005 was approved by CENELEC as a European Standard without any modification. _ EN 62071-2:2006 2 CONTENTS 1 Scope.7 2 Normative references7 3 Abbreviations and acronyms .7 4 Interfa
15、ce.8 4.1 Introduction .8 4.2 Data structure9 4.3 Header section 12 4.4 Subcode section 15 4.5 VAUX section 20 4.6 Audio section.24 4.7 Video section.30 5 Video compression .32 5.1 Video structure 32 5.2 DCT processing.48 5.3 Quantization 51 5.4 Variable length coding (VLC) .53 5.5 The arrangement of
16、 a compressed macro block .56 5.6 The arrangement of a video segment.59 Annex A (informative) Differences between IEC 61834 and IEC 62071-2.64 Annex B (normative) Digital filter for sampling-rate conversion from 4:2:2 to 4:1:1 colour difference signals .65 Annex C (informative) Block diagram of D-7
17、recorder .66 Bibliography67 Figure 1 Block diagram on the digital interface8 Figure 2 Data structure of one video frame for 50 Mb/s structure 10 Figure 3 Data structure of one video frame for 25 Mb/s structure 10 Figure 4 Data structure of a DIF sequence11 Figure 5 Data in the subcode section16 Figu
18、re 6 Pack in SSYB .17 Figure 7 Data in the VAUX section21 Figure 8 Data in the audio section 24 Figure 9 conversion of audio sample to audio data bytes 26 Figure 10 Arrangement of AAUX packs in audio auxiliary data 26 Figure 11 Transmitting samples of 525/60 system for 4:2:2 compression 34 Figure 12
19、 Transmitting samples of 625/50 system for 4:2:2 compression 35 Figure 13 Transmitting samples of 525/60 system for 4:1:1 compression 36 Figure 14 Transmitting samples of 625/50 system for 4:1:1 compression 37 Figure 15 DCT block and the pixel coordinates .38 Annex ZA (normative) Normative reference
20、s to international publications with their corresponding European publications00EN 62071-2:2006 3 Figure 16 The rightmost DCT block in colour difference signal for 4:1:1 compression mode 38 Figure 17 DCT block arrangement for 4:2:2 compression39 Figure 18 DCT block arrangement for 4:1:1 compression4
21、0 Figure 19 Macro block and DCT blocks for 4:2:2 compression 40 Figure 20 Macro block and DCT blocks for 4:1:1 compression 40 Figure 21 Super blocks and macro blocks in one TV frame for 525/60 system for 4:2:2 compression.42 Figure 22 Super blocks and macro blocks in one TV frame for 525/60 system f
22、or 4:1:1 compression.43 Figure 23 Super blocks and macro blocks in one TV frame for 625/50 system for 4:2:2 compression.44 Figure 24 Super blocks and macro blocks in one TV frame for 625/50 system for 4:1:1 compression.45 Figure 25 Macro block order in a super block for 4:2:2 compression .47 Figure
23、26 Macro block order in a super block for 4:1:1 compression .47 Figure 27 The output order of a weighted DCT block 50 Figure 28 Area numbers.52 Figure 29 Arrangement of a compressed macro block for 4:2:2 compression 56 Figure 30 The arrangement of a compressed macro block for 4:1:1 compression57 Fig
24、ure 31 The arrangement of a video segment after the bit rate reduction for 4:2:2 compression .62 Figure 32 The arrangement of a video segment after the bit rate reduction for 4:1:1 compression .63 Figure 33 The video error code.63 Figure B.1 Template for insertion loss frequency characteristics .65
25、Figure B.2 Passband ripple tolerance .65 Figure C.1 Block diagram of D-7 recorder.66 Table 1 ID data of a DIF block 12 Table 2 Section type.13 Table 3 DIF sequence number (525/60 system) 13 Table 4 DIF sequence number (625/50 system) 14 Table 5 DIF block number 14 Table 6 Data (payload) in the Heade
26、r DIF block15 Table 7 SSYB ID 17 Table 8 Pack header table18 Table 9 Mapping of packet in SSYB data 18 Table 10 Mapping of time code pack 19 Table 11 Mapping of binary group pack 20 Table 12 Mapping of VAUX pack in a DIF sequence .21 Table 13 Mapping of VAUX source pack.21 Table 14 Mapping of VAUX s
27、ource control pack23 Table 15 Maping of AAUX pack in a DIF sequence .26 Table 16 Mapping of AAUX Source pack 27 EN 62071-2:2006 4 Table 17 Mapping of AAUX Source Control pack 28 Table 18 Video DIF blocks and compressed macro blocks for 50 Mb/s structure 4:2:2 compression.31 Table 19 Video DIF blocks
28、 and compressed macro block for 25 Mb/s structure 4:1:1 compression .32 Table 20 Construction of video signal sampling (4:2:2) .33 Table 21 Class number and the DCT block .51 Table 22 An example of the Classification for reference51 Table 23 Quantization step.53 Table 24 Length of codewords54 Table
29、25 Codewords for variable length coding.55 Table 26 Definition of STA57 Table 27 Codewords of the QNO 58 Table A.1 Abstract of differences between IEC 61834 and IEC 62071-2.64 EN 62071-2:2006 5 blankHELICAL-SCAN COMPRESSED DIGITAL VIDEO CASSETTE SYSTEM USING 6,35 mm MAGNETIC TAPE FORMAT D-7 Part 2:C
30、ompression format 1 Scope This part of IEC 62071 defines the DV-based data structure for the interface of digital audio, subcode data and compressed video with the following parameters: 525/60 system 4:1:1 image sampling structure, 25 Mb/s data rate; 525/60 system 4:2:2 image sampling structure, 50
31、Mb/s data rate; 625/50 system 4:1:1 image sampling structure, 25 Mb/s data rate; 625/50 system 4:2:2 image sampling structure, 50 Mb/s data rate. This standard does not define the DV compliant data structure for interface, of digital audio, subcode data and compressed video with the following parame
32、ters: 625/50 system 4:2:0 image sampling structure, 25 Mb/s data rate The compression algorithm and the DIF structure conform to the DV data structure as defined in IEC 61834. Differences between the DV-based data structure defined in this standard and IEC 61834 are shown in Annex A. 2 Normative ref
33、erences The following referenced documents are indispensable for the application of this document. For dated references, only the edition cited applies. For undated references, the latest edition of the referenced document (including any amendments) applies. ITU-R BT.601-5: 1995, Studio encoding par
34、ameters of digital television for standard 4:3 and wide-screen 16:9 aspect ratios AES3-2003: Serial transmission format for two-channel linearly represented digital audio data SMPTE 12M: 1999, Television, Audio and Film Time and Control Code 3 Abbreviations and acronyms AAUX Audio auxiliary data AP1
35、 Audio application ID AP2 Video application ID AP3 Subcode application ID APT Track application ID Arb Arbitrary AS AAUX source pack ASC AAUX source control pack B/W Black and white flag CGMS Copy generation management system EN 62071-2:2006 7 CM Compressed macro block DBN DIF block number DCT Discr
36、ete cosine transform DIF Digital interface DRF Direction flag Dseq DIF sequence number DSF DIF sequence flag DV Identification of a compression family EFC Emphasis audio channel flag EOB End of block FR Identification for the first half or the second half of each channel FSC Identification of a DIF
37、block in each channel LF Locked mode flag QNO Quantization number QU Quantization Res Reserved for future use SCT Section type SMP Sampling frequency SSYB Subcode sync block STA Status of the compressed macro block STYPE (see Note) Signal type Syb Subcode sync block number TF Transmitting flag VAUX
38、Video auxiliary data VLC Variable length coding VS VAUX source pack VSC VAUX source control pack NOTE STYPE as used in this standard is different from that in ANSI/IEEE 1394. 4 Interface 4.1 General As shown in Figure 1, processed audio, video and subcode data, are output for different applications
39、through a digital interface port. Audio, video andsubcode processing DigitalinterfaceformattingAudio in Video in Subcode in Digital interfaceFigure 1 Block diagram on the digital interface IEC 1905/05EN 62071-2:2006 8 4.2 Data structure The data structure of the compressed stream at the digital inte
40、rface is shown in Figures 2 and 3. Figure 2 shows the data structure for a 50 Mb/s structure, and Figure 3 shows the data structure for a 25 Mb/s structure. In the 50 Mb/s structure, the data of one video frame are divided into two channels. Each channel is divided into 10 DIF sequences for the 525/
41、60 system and 12 DIF sequences for the 625/50 system. In the 25 Mb/s structure, the data of one video frame are divided into 10 DIF sequences for the 525/60 system and 12 DIF sequences for the 625/50 system. Each DIF sequence consists of a header section, subcode section, VAUX section, audio section
42、 and video section with the following DIF blocks respectively: Header section : 1 DIF block, Subcode section : 2 DIF blocks, VAUX section : 3 DIF blocks, Audio section : 9 DIF blocks, Video section :135 DIF blocks. As shown in Figures 2 and 3, each DIF block consists of a 3-byte ID and 77 bytes of d
43、ata. DIF data bytes are numbered 0 to 79. Figure 4 shows the data structure of a DIF sequence for a 50 Mb/s or 25 Mb/s structure. EN 62071-2:2006 9 Figure 2 Data structure of one video frame for 50 Mb/s structure Figure 3 Data structure of one video frame for 25 Mb/s structure DIF sequence 1,0 Secon
44、d channel DIF sequence 0,0 DIF sequence 1,1DIF sequence 0,1Subcode sectionHeader section Audio the upper byte which contains MSB, and the lower byte LSB, as shown in Figure 9. Audio data shall be shuffled over DIF sequences and DIF blocks within a frame. The data bytes are defined as Dn(n = 0, 1, 2,
45、 .) which is sampled at nth order within a frame and shuffled by each Dnunit. The data shall be shuffled through a process expressed by the following equations: 525/60 system: DIF sequence number: (INT (n/3) + 2 x (n mod 3) mod 5 for CH1,CH3 (INT (n/3) + 2 x (n mod 3) mod 5 + 5 for CH2,CH4 Audio DIF
46、 block number: 3 x (n mod 3) + INT (n mod 45)/15) where FSC = 0: CH1, CH2 FSC = 1: CH3, CH4 Byte position number: 8 + 2 x INT(n/45) for the most significant byte 9 + 2 x INT(n/45) for the least significant byte where n = 0 to 1619 625/50 system: DIF sequence number: (INT (n/3) + 2 x (n mod 3) mod 6
47、for CH1,CH3 (INT (n/3) + 2 x (n mod 3) mod 6 + 6 for CH2,CH4 Audio DIF block number: 3 x (n mod 3) + INT (n mod 54)/18) where FSC = 0: CH1, CH2 FSC = 1: CH3, CH4 Byte position number: 8 + 2 x INT(n/54) for the most significant byte 9 + 2 x INT(n/54) for the least significant byte where n = 0 to 1943
48、 EN 62071-2:2006 25 Figure 9 Conversion of audio sample to audio data bytes 4.6.2.3 Audio auxiliary data (AAUX) AAUX shall be added to the shuffled audio data as shown in Figures 8 and 10. The AAUX pack shall include an AAUX pack header and data (AAUX payload). The length of the AAUX pack shall be 5 bytes as shown in Figure 10, which depicts the AAUX pack arrangement. Packs are numbered from 0 to 8 as shown in Figure 10. This number is called an audio pack number. Table 15 shows the mapping of an AAUX pack. An AAUX source pack (AS) and an AAUX source control pack (ASC) shall be inc