GB/T 25724-2017 English PDF (GBT25724-2017)
GB/T 25724-2017 English PDF (GBT25724-2017)
Regular price
$1,205.00 USD
Regular price
Sale price
$1,205.00 USD
Unit price
/
per
Delivery: 3 seconds. Download true-PDF + Invoice.
Get QUOTATION in 1-minute: Click GB/T 25724-2017
Historical versions: GB/T 25724-2017
Preview True-PDF (Reload/Scroll if blank)
GB/T 25724-2017: Technical specifications for surveillance video and audio coding
GB/T 25724-2017
GB
NATIONAL STANDARD OF THE
PEOPLE’S REPUBLIC OF CHINA
ICS 13.310
A 91
Replacing GB/T 25724-2010
Technical specifications for
surveillance video and audio coding
ISSUED ON: MARCH 9, 2017
IMPLEMENTED ON: JUNE 1, 2017
Issued by: General Administration of Quality Supervision, Inspection and
Quarantine of the People’s Republic of China;
Standardization Administration of the People’s Republic of
China.
Table of Contents
Foreword ... 4
Introduction ... 6
1 Scope ... 10
2 Normative reference ... 10
3 Terms, definitions and abbreviations ... 10
3.1 Terms and definitions ... 10
3.2 Abbreviations ... 24
4 Agreement ... 27
4.1 Arithmetic operators ... 27
4.2 Logical operators ... 27
4.3 Relational operators ... 28
4.4 Bit operators ... 28
4.5 Assignment operators ... 29
4.6 Mathematical functions ... 29
4.7 Syntax elements, variables and tables ... 30
4.8 Text description of logical operators ... 31
4.9 Process ... 33
5 Video section ... 33
5.1 Coded bitstream and output data format ... 33
5.2 Syntaxes and semantics ... 39
5.3 Decoding process ... 94
5.4 Parsing process ... 166
6 Audio part ... 265
6.1 General description ... 265
6.2 Encoder function description ... 270
6.2.1 Pre-processing ... 270
6.3 Decoder function description ... 347
6.4 Bit allocation description ... 359
6.5 Storage, transmission interface format... 362
Appendix A (Normative) Hypothetical reference decoder (HRD) ... 370
Appendix B (Normative) Byte stream format ... 374
Appendix C (Normative) Video profile and level ... 377
Appendix D (Normative) Video usability information (VUI) ... 381
Appendix E (Normative) Supplemental enhancement information (SEI) ... 385
Appendix F (Normative) Intelligent analysis data description ... 391
Appendix G (Normative) Audio profile and level ... 412
Appendix H (Normative) Exception sound event type definition ... 414
Appendix I (Informative) VAD detection ... 415
Appendix J (Informative) Noise elimination ... 421
References ... 435
Technical specifications for
surveillance video and audio coding
1 Scope
This Standard specifies the decoding process of digital video and audio compression
coding for public security video surveillance.
This Standard applies to the audio and video real-time compression, transmission,
playback and storage services of the field of public security; other fields that need
audio and video coding may also refer to this Standard.
2 Normative reference
The following document is indispensable for the application of this document. For
dated references, the only dated edition applies to this document. For undated
references, the latest edition (including all modifications) applies to this document.
rfc 3548 The Base 16, Base 32, and Base 64 Data Encodings
3 Terms, definitions and abbreviations
3.1 Terms and definitions
For the purpose of this document, the following terms and definitions apply.
3.1.1
NAL unit
A syntax structure that contains the instruction type and the number of bytes contained
in the subsequent data. The data appears in RBSP form and, if necessary, contains
the scattered emulation prevention bytes.
3.1.2
NAL unit stream
A sequence of NAL units.
3.1.3
4.9 Process
The process is used to describe the decoding of the syntax elements. All the syntax
elements and uppercase variables that belong to the current syntax structure, as well
as the associated syntax structures, are available in both the specification and the call
of the process. The specification of the process may also contain lowercase variables
that are explicitly specified as input. Each specification explicitly specifies the output.
The output can be uppercase variables or lowercase variables.
In the specification of the process, a particular macroblock can be represented by a
variable name whose value is equal to its macroblock index.
5 Video section
5.1 Coded bitstream and output data format
5.1.1 Bitstream format
This clause specifies the relationship between the NAL unit stream and the byte stream,
both of which are referred to as bitstreams.
The NAL unit stream format consists of a series of syntax structures called NAL units,
arranged by decoding order. The decoding order and contents of the NAL units in the
NAL unit stream are constrained.
The byte stream can be constructed by the NAL unit stream, by arranging the NAL
units in the decoding order, and adding a start code prefix and a number of zero bytes
to each NAL unit to form a byte stream. The NAL unit stream format can be extracted
from the byte stream format by searching a unique start code prefix in the byte stream.
Except for the byte stream format, other methods of constructing the NAL unit are not
specified in this Standard. The byte stream format is specified in Annex B.
5.1.2 Picture format
This clause specifies the relationship between the source determined by the bitstream
and the decoded frame.
The video stream represented by the bitstream is a series of frames arranged in
decoding order.
Each source or decoded frame is composed of one or more video sample point arrays:
- array of only luma (Y) (monochrome);
- array of luma and two chroma (YCbCr);
The following functions are used for the syntax description. These functions assume
that there is a bitstream pointer in the decoder that points to the next bit position in the
bitstream where the decoding process is to be read. Specific requirements are as
follows:
Specification for byte_aligned ():
- If the current position of the bitstream is at the boundary of the byte, that is, the
next bit in the bitstream is the first bit of the byte, then the return value of
byte_aligned () is TRUE;
- otherwise, the return value of byte_aligned () is FALSE.
Specification for get_left_ae_bits ():
- The value of the counter count in the entropy decoder plus 8 and then perform the
modulo operation on 8, if it is equal to 0, continue to parse through the fixed
probability of 128;
- if it is not equal to 0, then continue to parse through the fixed probability of 128 to
obtain the value after modulo operation and plus 8 bits.
Specification for more_data_in_byte_stream (), which is used in the byte stream NAL
unit syntax specified in Annex B:
- If there is more data in the byte stream, the return value of
more_data_in_byte_stream () is TRUE;
- otherwise, the return value of more_data_in_byte_stream () is FALSE.
Specification for more_rbsp_data ():
- If there is more data in RBSP before rbsp_trailing_bits (), the return value of
more_rbsp_data () is TRUE;
- otherwise, the return value of more_rbsp_data () is FALSE.
The method of determining whether there is more data in RBSP is not specified in this
Standard.
next_bits (n) provides the next n bits in the bitstream without changing the bitstream
pointer. This function makes the next n bits in the bitstream visible. When it is used in
the byte stream specified in Annex B, the return value of next_bits (n) is 0 if the
remaining byte stream has less than n bits.
Read_bits (n) reads the following n bits from the bitstream, and moves the bitstream
pointer forward by n bits. When n is equal to 0, the return value of read_bits (n) is 0
may also contain some emulation_prevention_three_byte. NumBytesInNALunit is
required for decoding the NAL unit. In order to be able to export NumBytesInNALunit, ...
Get QUOTATION in 1-minute: Click GB/T 25724-2017
Historical versions: GB/T 25724-2017
Preview True-PDF (Reload/Scroll if blank)
GB/T 25724-2017: Technical specifications for surveillance video and audio coding
GB/T 25724-2017
GB
NATIONAL STANDARD OF THE
PEOPLE’S REPUBLIC OF CHINA
ICS 13.310
A 91
Replacing GB/T 25724-2010
Technical specifications for
surveillance video and audio coding
ISSUED ON: MARCH 9, 2017
IMPLEMENTED ON: JUNE 1, 2017
Issued by: General Administration of Quality Supervision, Inspection and
Quarantine of the People’s Republic of China;
Standardization Administration of the People’s Republic of
China.
Table of Contents
Foreword ... 4
Introduction ... 6
1 Scope ... 10
2 Normative reference ... 10
3 Terms, definitions and abbreviations ... 10
3.1 Terms and definitions ... 10
3.2 Abbreviations ... 24
4 Agreement ... 27
4.1 Arithmetic operators ... 27
4.2 Logical operators ... 27
4.3 Relational operators ... 28
4.4 Bit operators ... 28
4.5 Assignment operators ... 29
4.6 Mathematical functions ... 29
4.7 Syntax elements, variables and tables ... 30
4.8 Text description of logical operators ... 31
4.9 Process ... 33
5 Video section ... 33
5.1 Coded bitstream and output data format ... 33
5.2 Syntaxes and semantics ... 39
5.3 Decoding process ... 94
5.4 Parsing process ... 166
6 Audio part ... 265
6.1 General description ... 265
6.2 Encoder function description ... 270
6.2.1 Pre-processing ... 270
6.3 Decoder function description ... 347
6.4 Bit allocation description ... 359
6.5 Storage, transmission interface format... 362
Appendix A (Normative) Hypothetical reference decoder (HRD) ... 370
Appendix B (Normative) Byte stream format ... 374
Appendix C (Normative) Video profile and level ... 377
Appendix D (Normative) Video usability information (VUI) ... 381
Appendix E (Normative) Supplemental enhancement information (SEI) ... 385
Appendix F (Normative) Intelligent analysis data description ... 391
Appendix G (Normative) Audio profile and level ... 412
Appendix H (Normative) Exception sound event type definition ... 414
Appendix I (Informative) VAD detection ... 415
Appendix J (Informative) Noise elimination ... 421
References ... 435
Technical specifications for
surveillance video and audio coding
1 Scope
This Standard specifies the decoding process of digital video and audio compression
coding for public security video surveillance.
This Standard applies to the audio and video real-time compression, transmission,
playback and storage services of the field of public security; other fields that need
audio and video coding may also refer to this Standard.
2 Normative reference
The following document is indispensable for the application of this document. For
dated references, the only dated edition applies to this document. For undated
references, the latest edition (including all modifications) applies to this document.
rfc 3548 The Base 16, Base 32, and Base 64 Data Encodings
3 Terms, definitions and abbreviations
3.1 Terms and definitions
For the purpose of this document, the following terms and definitions apply.
3.1.1
NAL unit
A syntax structure that contains the instruction type and the number of bytes contained
in the subsequent data. The data appears in RBSP form and, if necessary, contains
the scattered emulation prevention bytes.
3.1.2
NAL unit stream
A sequence of NAL units.
3.1.3
4.9 Process
The process is used to describe the decoding of the syntax elements. All the syntax
elements and uppercase variables that belong to the current syntax structure, as well
as the associated syntax structures, are available in both the specification and the call
of the process. The specification of the process may also contain lowercase variables
that are explicitly specified as input. Each specification explicitly specifies the output.
The output can be uppercase variables or lowercase variables.
In the specification of the process, a particular macroblock can be represented by a
variable name whose value is equal to its macroblock index.
5 Video section
5.1 Coded bitstream and output data format
5.1.1 Bitstream format
This clause specifies the relationship between the NAL unit stream and the byte stream,
both of which are referred to as bitstreams.
The NAL unit stream format consists of a series of syntax structures called NAL units,
arranged by decoding order. The decoding order and contents of the NAL units in the
NAL unit stream are constrained.
The byte stream can be constructed by the NAL unit stream, by arranging the NAL
units in the decoding order, and adding a start code prefix and a number of zero bytes
to each NAL unit to form a byte stream. The NAL unit stream format can be extracted
from the byte stream format by searching a unique start code prefix in the byte stream.
Except for the byte stream format, other methods of constructing the NAL unit are not
specified in this Standard. The byte stream format is specified in Annex B.
5.1.2 Picture format
This clause specifies the relationship between the source determined by the bitstream
and the decoded frame.
The video stream represented by the bitstream is a series of frames arranged in
decoding order.
Each source or decoded frame is composed of one or more video sample point arrays:
- array of only luma (Y) (monochrome);
- array of luma and two chroma (YCbCr);
The following functions are used for the syntax description. These functions assume
that there is a bitstream pointer in the decoder that points to the next bit position in the
bitstream where the decoding process is to be read. Specific requirements are as
follows:
Specification for byte_aligned ():
- If the current position of the bitstream is at the boundary of the byte, that is, the
next bit in the bitstream is the first bit of the byte, then the return value of
byte_aligned () is TRUE;
- otherwise, the return value of byte_aligned () is FALSE.
Specification for get_left_ae_bits ():
- The value of the counter count in the entropy decoder plus 8 and then perform the
modulo operation on 8, if it is equal to 0, continue to parse through the fixed
probability of 128;
- if it is not equal to 0, then continue to parse through the fixed probability of 128 to
obtain the value after modulo operation and plus 8 bits.
Specification for more_data_in_byte_stream (), which is used in the byte stream NAL
unit syntax specified in Annex B:
- If there is more data in the byte stream, the return value of
more_data_in_byte_stream () is TRUE;
- otherwise, the return value of more_data_in_byte_stream () is FALSE.
Specification for more_rbsp_data ():
- If there is more data in RBSP before rbsp_trailing_bits (), the return value of
more_rbsp_data () is TRUE;
- otherwise, the return value of more_rbsp_data () is FALSE.
The method of determining whether there is more data in RBSP is not specified in this
Standard.
next_bits (n) provides the next n bits in the bitstream without changing the bitstream
pointer. This function makes the next n bits in the bitstream visible. When it is used in
the byte stream specified in Annex B, the return value of next_bits (n) is 0 if the
remaining byte stream has less than n bits.
Read_bits (n) reads the following n bits from the bitstream, and moves the bitstream
pointer forward by n bits. When n is equal to 0, the return value of read_bits (n) is 0
may also contain some emulation_prevention_three_byte. NumBytesInNALunit is
required for decoding the NAL unit. In order to be able to export NumBytesInNALunit, ...