WO2022222656A1 - 码流处理方法、装置、终端设备及存储介质 - Google Patents
码流处理方法、装置、终端设备及存储介质 Download PDFInfo
- Publication number
- WO2022222656A1 WO2022222656A1 PCT/CN2022/081593 CN2022081593W WO2022222656A1 WO 2022222656 A1 WO2022222656 A1 WO 2022222656A1 CN 2022081593 W CN2022081593 W CN 2022081593W WO 2022222656 A1 WO2022222656 A1 WO 2022222656A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- code stream
- layer
- stream
- encoding
- encoded
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 37
- 238000012545 processing Methods 0.000 title claims abstract description 26
- 238000003672 processing method Methods 0.000 claims description 30
- 230000002688 persistence Effects 0.000 claims description 23
- 238000004590 computer program Methods 0.000 claims description 12
- 230000002085 persistent effect Effects 0.000 claims description 10
- 230000000153 supplemental effect Effects 0.000 claims description 2
- 230000001419 dependent effect Effects 0.000 description 15
- 230000015654 memory Effects 0.000 description 12
- 238000005516 engineering process Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 7
- 238000004458 analytical method Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 5
- 238000000605 extraction Methods 0.000 description 4
- 238000012544 monitoring process Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000002159 abnormal effect Effects 0.000 description 3
- 238000011161 development Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000005538 encapsulation Methods 0.000 description 3
- 239000013307 optical fiber Substances 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 239000002360 explosive Substances 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/46—Embedding additional information in the video signal during the compression process
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/30—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using hierarchical techniques, e.g. scalability
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/44—Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/70—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards
Definitions
- the present application relates to the field of communication technologies, for example, to a code stream processing method, apparatus, terminal device and storage medium.
- the present application provides a code stream processing method, apparatus, terminal device and storage medium, which reduce decoding overhead.
- the present application provides a code stream processing method, including:
- the encoded code stream includes encoding indication information
- the encoding indication information indicates a code stream type of the encoded code stream
- obtain the encoding indication information decode the encoded code stream according to the encoding indication information Code stream after encoding.
- the present application provides a code stream processing method, including:
- the application provides a code stream processing device, including:
- the first obtaining module is configured to obtain the encoded code stream, the encoded code stream includes encoding indication information, and the encoding indication information indicates the code stream type of the encoded code stream; the second obtaining module is configured to obtain the encoded code stream.
- the encoding indication information; the decoding module is configured to decode the encoded code stream according to the encoding indication information.
- a code stream processing device provided by this application includes:
- a generation module is set to generate an image encoding code stream and the encoding instruction information corresponding to the image encoding code stream;
- the adding module is configured to add the encoding indication information to the image encoding code stream to obtain the encoded code stream; the sending module is configured to send the encoded code stream.
- This application provides a terminal device, including:
- one or more processors a storage device for storing one or more programs; when the one or more programs are executed by the one or more processors, the one or more processors implement the Any of the code stream processing methods provided in the application embodiments.
- the present application provides a storage medium, where a computer program is stored in the storage medium, and when the computer program is executed by a processor, any one of the code stream processing methods in the embodiments of the present application is implemented.
- FIG. 1 is a schematic flowchart of a code stream processing method provided by an embodiment of the present application.
- FIG. 2 is a schematic flowchart of another code stream processing method provided by an embodiment of the present application.
- FIG. 3 is a schematic flowchart of another code stream processing method provided by an embodiment of the present application.
- FIG. 4 is a schematic structural diagram of a code stream processing apparatus provided by an embodiment of the present application.
- FIG. 5 is a schematic structural diagram of a code stream processing apparatus provided by an embodiment of the present application.
- FIG. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
- FIG. 1 is a schematic flowchart of a code stream processing method provided by an embodiment of the present application.
- the method may be suitable for reducing decoding overhead, the method may be executed by a code stream processing apparatus, the apparatus may be implemented by software and/or hardware, and the apparatus may be integrated in a terminal device.
- the related technology can create video content of different resolution levels and identify the video resources of each resolution level.
- the user requests the resolution description information of the video resources of each resolution level before acquiring the video resources.
- video resources with appropriate resolution levels are selected for selective reception or active acquisition of corresponding video resources.
- the main role of video content is not only for real-time monitoring, but also for finding clues after the fact, so network bandwidth consumption and storage time need to be considered.
- Using a higher resolution will consume a lot of network bandwidth, and will also lead to shorter storage time of video content and reduced video traceability under the condition that the storage space on the user side remains unchanged.
- using a lower resolution can reduce network bandwidth consumption and user-side storage space overhead, it may also lose details in some key images, resulting in loss of important clues.
- the video stream may include a base layer (Base Layer) sub-stream and at least one enhancement layer (Enhancement Layer) sub-stream, and the enhancement layer sub-stream may be an independent enhancement layer sub-stream or a dependent enhancement layer sub-stream flow.
- the base layer substream can be decoded independently to provide basic quality video content
- the independent enhancement layer substream can be independently decoded to provide higher quality video content.
- the dependent enhancement layer substream needs to be decoded together with the base layer substream to provide higher quality video content. quality video content.
- the decoding end must perform deep decoding on the received multi-layer encoded code stream (must parse at least the video parameter set in the code stream Video Parameter Set, VPS)) before it can parse out the necessary information and extract the user side
- VPS Video Parameter Set
- the code stream type can indicate the type to which the encoded code stream belongs.
- the decoding overhead is reduced by including encoding indication information in the encoded code stream to indicate decoding.
- the code stream type is not limited here.
- the encoded codestream may include a multi-layer encoded codestream and a termination codestream.
- the corresponding types of the multi-layer encoded code stream and the termination code stream can be indicated by the code stream type.
- the termination code stream can be regarded as a code stream that terminates the continuous range indicated by the previous coding indication information.
- the termination code stream can be a multi-layer coded code stream or a non-multi-layer coded code stream.
- the code stream type may be indicated by at least one of the following in the encoding indication information: cancellation identification indication information, encoding indication information itself, and key frame identification information.
- Whether the termination code stream is a multi-layer encoded code stream or a non-multi-layer code stream may be indicated by at least one of the following information: cancellation identification indication information, encoding indication information itself and key frame identification information.
- the terminal device in this embodiment may be regarded as a device at the decoding end.
- the encoded code stream at the encoding end can be obtained. It is also possible to obtain the encoded code stream obtained by encoding at the local end.
- the encoding indication information is not limited.
- the SEI message or the encoding indication information is included to indicate in the file encapsulation of the code stream.
- the encoded code stream may be parsed to obtain the encoding indication information included in the encoded code stream. How to obtain the encoding indication information is not limited here, and may be determined based on the location of the encoding indication information in the encoded code stream.
- this embodiment may perform decoding based on encoding indication information. Since the encoding indication information indicates the code stream type of the encoded code stream, the decoding can be performed in combination with the code stream type during decoding, which reduces the decoding overhead. How to decode is not limited here.
- the code can be decoded in combination with the information indicating decoding in the encoding instruction information. postcode stream.
- the information indicating decoding includes but is not limited to one of the following: enhancement type parameter, sub-stream parameter information, key frame identification information and persistent identification information.
- a code stream processing method provided by the present application obtains an encoded code stream, the encoded code stream includes encoding indication information, and the encoding indication information indicates the code stream type of the encoded code stream; obtains the encoded code stream. encoding indication information; and decoding the encoded code stream according to the encoding indication information. This method effectively reduces the decoding overhead.
- the encoding indication information includes a Supplemental Enhancement Information (SEI) message
- SEI Supplemental Enhancement Information
- the code stream corresponding to the code stream type includes a multi-layer encoded code stream and a termination code stream
- the termination code stream is Terminates a codestream encoded as a multi-layer encoded codestream.
- SEI Supplemental Enhancement Information
- the SEI message may include the SEI message in the standard and the newly added SEI message.
- the SEI message includes at least one of the following:
- the extended user data SEI message The extended user data unregistered SEI message; the newly added SEI message.
- the SEI message includes at least one of the following:
- the sub-code stream refers to the base layer sub-code stream and the enhancement layer sub-code stream.
- the enhanced type parameter and the enhanced layer type parameter are unified into the enhanced type parameter, and the enhanced type parameter is a parameter carried in the SEI message.
- enhancement-layer sub-stream types in this application may be unified into enhancement-layer sub-stream types, that is, the types corresponding to independent enhancement-layer sub-streams and dependent enhancement-layer sub-streams.
- the previous SEI message may be regarded as the previous SEI message sent by the encoding end corresponding to the current encoded code stream, and the message is included in the corresponding encoded code stream.
- Cancelling the persistence restriction of the previous SEI message can be considered as canceling the encoding to the multi-layer encoding code stream at the beginning of the code stream corresponding to the cancellation identification indication information, or canceling the encoding to the multi-layer encoding code stream after canceling the code stream corresponding to the identification indication information.
- the persistent identification information sets a persistent restriction
- the sub-stream parameter information includes at least one of the following: an enhancement layer quantity parameter, a quality level, and a layer identifier of the sub-stream corresponding to the quality level, where the number of sub-streams corresponding to the quality level is one or wherein, the enhancement layer quantity parameter indicates the number of enhancement layer sub-streams included in the encoded code stream, and the quality level indicates a quality level that can be provided by the sub-streams in the encoded code stream.
- the decoding the encoded stream according to the encoding indication information includes:
- the layer identifier of the sub-stream to be extracted from the encoded stream may be determined based on the encoding indication information, and the determination is not limited here, such as determination based on the quality level.
- the obtaining a sub-stream from the encoded stream according to the encoding indication information includes:
- FIG. 2 is a schematic flowchart of another code stream processing method provided by an embodiment of the present application. Referring to FIG. 2, the method includes:
- the sub-stream parameter information can be queried based on the quality level required by the user, and the layer identifier of the sub-stream to be extracted corresponding to the required quality level can be determined.
- the required quality level can be regarded as the picture quality level required after decoding.
- the present application further provides a code stream processing method
- FIG. 3 is a schematic flowchart of another code stream processing method provided by an embodiment of the present application, and the method can be applied to the case of reducing decoding overhead , the method can be integrated in a code stream processing device, the device can be implemented by software and/or hardware, and the device can be integrated on a terminal device.
- the details of this embodiment refer to the above-mentioned embodiment.
- a code stream processing method provided by this embodiment of the present application includes:
- the image encoding code stream in this embodiment may be a multi-layer encoding code stream, and may also be a non-multi-layer encoding code stream.
- the image encoding code stream may be a termination code stream.
- the multi-layer encoding code stream is generated for the image, including but not limited to the following three types: 1) The image contains an indication that multi-layer encoding needs to be performed, for example, indicating that the image is a key picture, and the image needs to be encoded. Multi-layer encoding; 2) The encoding end analyzes the image characteristics, and determines that multi-layer encoding needs to be performed according to the image characteristics; 3) The image is included in the persistent scope (persistent_scope) of the SEI message corresponding to the previous multi-layer encoded image.
- the image When it is determined that a termination code stream is generated for the image, the image should be included in the persistent scope (persistent_scope) of the SEI message corresponding to the previous multi-layer encoded image and/or one of the following conditions should be satisfied at the same time: 1) Encoding The terminal analyzes the characteristics of the image, and determines according to the characteristics of the image that multi-layer coding is not required; 2) the image contains an instruction to terminate the multi-layer coding.
- persistent_scope persistent scope
- This embodiment does not limit the sequence of generating the coding indication information and generating the image coding code stream.
- coding indication information is generated so as to reduce overhead during decoding.
- the coding indication information includes an SEI message.
- the location where the encoding indication information is added to the image encoding code stream is not limited, as long as the decoding end can obtain it.
- the terminal device in this embodiment may be regarded as a device at the encoding end, and in this step, the encoded code stream may be sent to the device at the decoding end.
- an image coding code stream and coding indication information corresponding to the image coding code stream are generated; the coding indication information is added to the image coding code stream to obtain an encoded code stream; sending In the encoded code stream, decoding overhead is reduced by adding encoding indication information to the code stream.
- the encoding indication information includes at least one of the following: enhancement type parameter, sub-code stream parameter information, key frame identification information, cancellation Identification indication information and persistent identification information.
- the encoding indication information includes at least one of the following enhancement type parameters, substream parameter information, key frame identification information, cancellation identification indication information, and persistent identification information may be: Included in the SEI message.
- the encoding instruction The information includes cancellation identification indication information, and the image encoding code stream is a multi-layer encoding code stream or a termination code stream.
- the cancellation identification indication information included in the coding indication information may be included in the SEI message.
- the encoding indication information is used to generate a multi-layer encoded code stream, or the encoding indication information is obtained after the multi-layer encoded code stream is generated.
- the present application is exemplarily described below, and the code stream processing method provided by the present application can be considered as a method for processing a multi-layer encoded video code stream.
- the solution of the present application provides the basic encoding code stream for the regular picture, provides the multi-layer encoding code stream for the key picture, and provides the indication of the encoding code stream layer information corresponding to the key picture in the high-level semantics such as SEI information, so that the decoding end can be used without
- the appropriate encoding code stream layer or combination of encoding code stream layers in the multi-layer encoding code stream can be selected for decoding and playback, so as to provide low-quality content for conventional monitoring images and high-quality key monitoring images. The effect of quality content.
- the user side can select different multi-layer encoding code streams for different display terminals according to the instructions in the code stream.
- the encoding code stream layer or the combination of the encoding code stream layers is used for decoding and playback.
- the SEI message is used as an example for description in the subsequent scheme, but other encoding code stream layer information that can be used to indicate the corresponding key pictures is not excluded. other ways, including but not limited to indicating in the file encapsulation of the code stream.
- the code stream processing method applied to the decoding end may include:
- Step 1 Receive a code stream to be decoded, and obtain a cross-layer indication SEI message corresponding to the code stream to be decoded.
- the decoding end receives the code stream to be decoded, that is, the code stream after encoding, and the code stream to be decoded includes a cross-layer indication SEI message (that is, cross_layer_indication SEI message) proposed in this application, and the cross-layer indication SEI message is used. Indicates that the code stream associated with it is a multi-layer encoded code stream.
- the cross-layer indication SEI message may be regarded as a standard newly added SEI message.
- the decoder Before obtaining the SEI message, the decoder first obtains the Network Abstract Layer unit (NAL unit) from the code stream to be decoded.
- NAL unit is the most basic syntax structure in the code stream, and each NAL unit contains a header Information (nal_unti_header) and raw byte sequence payload (Raw Byte Sequence Payload, RBSP) information.
- the NAL unit header information includes the NAL unit type information (nal_unti_type).
- the cross-layer indication SEI message is not limited to be PREFIX_SEI_NUT or SUFFIX_SEI_NUT.
- the RBSP data in the NAL unit is parsed according to the raw byte sequence payload (Raw Byte Sequence Payload, RBSP) syntax structure corresponding to the SEI message, and an SEI RBSP may include one or more SEI message (sei_message).
- the syntax element payload_type included in the syntax structure indicates the type of the SEI message.
- the parameter information to be transmitted by the SEI message can be obtained by parsing according to the sei_payload() syntax structure corresponding to the SEI message of this type.
- the value of the payloadType of the cross-layer indication SEI message may be different from the defined SEI information in the current H.266/VVC version 1 (for example, the value may be 8).
- the decoding end can obtain the cross-layer indication SEI message through the above analysis. Since the grammatical structure and parsing process before obtaining a specific type of SEI message is a standard process, the description will not be repeated in the subsequent description, and the description will directly start with the payload grammatical structure of the relevant SEI message.
- Step 2 Determine the code stream to be decoded as the code stream to be extracted through the cross-layer indication SEI message, and determine the enhancement layer sub-code stream type contained in the code stream to be extracted.
- the cross-layer indication SEI message appears in the code stream, it means that the received code stream to be decoded is a multi-layer encoded code stream, and the sub-stream extraction process needs to be performed on the code stream to be decoded. It can also be called the code stream to be extracted.
- the video code stream When the video code stream is a multi-layer coded code stream, it may include a base layer (Base Layer) sub-code stream and at least one enhancement layer (Enhancement Layer) sub-code stream, and the enhancement layer sub-code stream may be an independent enhancement layer sub-code stream. codestream or dependent enhancement layer sub-codestream.
- the base layer substream can be decoded independently to provide basic quality video content, and the independent enhancement layer substream can be independently decoded to provide higher quality video content.
- the dependent enhancement layer substream needs to be decoded together with the base layer substream to provide higher quality video content. quality video content. Therefore, in order to better perform the sub-stream extraction process, it is also necessary to obtain the enhancement type (enhancement_type) parameter from the cross-layer indication SEI message.
- the enhancement type (enhancement_type) parameter is used to indicate the enhancement layer sub-codestream type contained in the to-be-extracted codestream.
- Table 1 is the payload syntax structure table indicating the SEI message across
- cross_layer_indication(payloadSize) ⁇ describe cli_enhancement_type u(3) ⁇
- the enhancement type parameter that is, cli_enhancement_type, is used to indicate the type of the enhancement layer sub-code stream contained in the to-be-extracted code stream, and Table 2 is a corresponding table of values and corresponding meanings of the types of the enhancement layer sub-code stream.
- cli_enhancement_type When the value of cli_enhancement_type is equal to 0, it indicates that only the independent enhancement layer type is included in the enhancement layer sub-stream of the code stream to be extracted. When the value of cli_enhancement_type is equal to 1, it indicates that the enhancement layer sub-stream of the to-be-extracted code stream only contains the dependent enhancement layer type. When the value of cli_enhancement_type is equal to 2, it indicates that the enhancement layer sub-stream of the code stream to be extracted contains both types of dependent enhancement layers and independent enhancement layers.
- Step 3 According to the enhancement layer sub-stream type contained in the code stream to be extracted, obtain the sub-stream parameter information corresponding to the type, and determine the sub-stream identifier to be extracted according to the sub-stream parameter information.
- the sub-stream parameter information may include a parameter of the number of enhancement layers (num_enhancement_layers), that is, the number of enhancement layer sub-streams, a quality level (quality_level_idx) parameter, and a layer identifier of the sub-stream corresponding to each quality level.
- the number of enhancement layer sub-streams (num_enhancement_layers) is used to indicate the number of enhancement layers contained in the to-be-extracted code stream, and the quality level (quality_level_idx) parameter is used to indicate the to-be-extracted code stream.
- Table 3 is a schematic table of the relationship between a quality level and a corresponding set provided by this embodiment of the present application.
- the quality level parameter that is, quality_level_idx
- the quality_level_idx when the quality level parameter, that is, quality_level_idx, is equal to 0, it indicates that the sub-stream in the to-be-extracted code stream can only be Provides basic quality video.
- the quality_level_idx is equal to 1
- quality_level_idx is equal to 2
- the sub-stream in the to-be-extracted code stream can simultaneously provide basic quality, medium quality and high quality video.
- Table 3 A schematic table of the relationship between a quality level and a corresponding set provided by the embodiment of the present application
- the user side After determining the set of quality levels that can be provided by the sub-streams in the code stream to be extracted, the user side selects an appropriate quality level from the set of quality levels according to the actual situation (input instructions, pre-configuration, device capabilities, etc.). , obtain a list of layer identifiers corresponding to the selected quality level, where the list of layer identifiers corresponding to the quality level is the layer identifier of the substream to be extracted.
- step 2 there are three types of enhancement layer sub-streams contained in the to-be-extracted code stream.
- the following describes the list of layer identifiers corresponding to each quality level in the quality level set and the determination of the three different types. The process of identifying the substream to be extracted.
- Example 1 cli_enhancement_type is equal to 0, and the code stream to be extracted contains only the independent enhancement layer sub-code stream.
- the base layer sub-stream and the enhancement layer sub-stream in the to-be-extracted code stream can be decoded independently, so there is only one code stream layer identifier in the code stream layer identifier list corresponding to the quality level, and Table 4 is as follows: This application provides a correspondence table between quality levels and layer identifiers.
- the corresponding code stream identification list only contains layer 0, so layer 0 is the sub-stream layer identification to be extracted, and the code stream layer identification is the sub-stream of layer 0. It is the sub-stream to be extracted.
- the corresponding stream ID list only contains layer 1, so layer 1 is the sub-stream layer ID to be extracted, and the sub-stream whose code stream layer ID is layer 1 is to be extracted substream.
- the corresponding stream ID list only contains layer 2, so layer 0 is the sub-stream layer ID to be extracted, and the sub-stream whose code stream layer ID is layer 2 needs to be extracted substream.
- Example 2 when cli_enhancement_type is equal to 1, the to-be-extracted code stream only contains the dependent enhancement layer sub-code stream.
- the dependent enhancement layer sub-stream cannot be decoded alone, the dependent enhancement layer sub-stream must be combined with the base layer sub-stream to achieve decoding, so the code stream identification list corresponding to the quality level (except the basic quality) should be At least two code stream layer identifiers are included, and the basic quality corresponding code stream identifier list may only contain one code stream layer identifier.
- Table 5 is yet another correspondence table between quality levels and layer identifiers provided by this application.
- the corresponding code stream identification list only contains layer 0, so layer 0 is the sub-stream layer identification to be extracted, and the sub-stream whose code stream layer identification is layer 0 is Substream to be extracted.
- the corresponding code stream identification list contains both layer 0 and layer 1, so layer 0 and layer 1 are the sub-stream layer identifications to be extracted, and the code stream layer identification is layer 0 and layer 1
- the sub-stream is the sub-stream to be extracted.
- the corresponding code stream identifier list contains both layer 0 and layer 2, so layer 0 and layer 2 are the sub-stream layer identifiers to be extracted, and the code stream layer identifiers are layer 0 and layer 2
- the sub-stream is the sub-stream to be extracted.
- the corresponding code stream identification list includes layer 0, layer 1 and layer 2 at the same time, so layer 0, layer 1 and layer 2 are the sub-stream layer identifications to be extracted, and the code The stream layer is identified as layer 0, and the sub-streams of layer 1 and layer 2 are the sub-streams to be extracted.
- the basic quality corresponding code stream identifier list may also include more than one code stream layer identifier.
- Table 6 is yet another correspondence table between quality levels and layer identifiers provided by this application.
- the corresponding code stream identifier list contains both layer 0 and layer 1, so layer 0 and layer 1 are the sub-stream layer identifiers to be extracted, and the code stream layer identifier is the layer The sub-streams of 0 and layer 1 are the sub-streams to be extracted.
- Example 3 cli_enhancement_type is equal to 2, the code stream to be extracted contains both the independent enhancement layer sub-stream and the dependent enhancement layer sub-stream.
- the code stream identification list corresponding to the quality level may include one or more code stream layer identifications.
- Table 7 is another quality level and layer identification correspondence table provided by the present application.
- Tier 1 (medium quality picture)
- Tier 2 (high quality picture)
- Tier 1 (high quality picture)
- Tier 1 (high quality picture)
- Tier 2 (high quality picture)
- the corresponding code stream identification list only contains layer 1, so layer 1 is the sub-stream layer identification to be extracted, and the sub-stream whose code stream layer identification is layer 1 is Substream to be extracted.
- the corresponding stream identifier list can include layer 1 and layer 2, so layer 1 and layer 2 are the sub-stream layer identifiers to be extracted, and the stream layer identifiers are layer 1 and layer 2
- the sub-stream is the sub-stream to be extracted.
- the number of sub-code stream identifiers to be extracted contained in the code stream identifier list corresponding to the quality level should not be greater than the number indicated by the aforementioned enhancement layer sub-code stream quantity (num_enhancement_layers) parameter.
- Step 4 According to the identifier of the sub-code stream to be extracted, extract the sub-code stream to be extracted from the to-be-extracted code stream.
- Extracting a sub-stream from a complete code stream according to the sub-stream identifier is a related technology that has been defined in the standard, and can be implemented by those skilled in the art according to the content of the standard protocol, and the extraction process is not described in detail in this solution.
- the parameter set (Parameter Set) is an important syntax structure in the video coding and decoding standard, it can contain the public information required in the coding and decoding process, such as the flag bit (flag), public parameter information (such as the maximum number of layers (max layers). )Wait).
- flag bit flag bit
- maximum number of layers maximum layers
- the value of the vps_all_independent_layers_flag parameter in the video parameter set associated with the to-be-extracted code stream associated with the cross-layer indication SEI message should be 1;
- the value of the cli_enhancement_type in the SEI message is not equal to 0, the value of the vps_all_independent_layers_flag parameter in the video parameter set associated with the to-be-extracted code stream associated with the SEI message should be 0.
- the value of the maximum number of layers parameter vps_max_layers_minus1 in the video parameter set should be consistent with the value of the number of enhancement layer sub-streams num_enhancement_layers in the cross-layer indication SEI message.
- Table 8 is a syntax structure table of a cross-layer indication SEI message provided by this application.
- Table 8 Syntax structure table of a cross-layer indication SEI message provided by this application
- the parameter of the number of enhancement layers namely cli_num_enhancement_layers: indicates the number of enhancement layer sub-streams in the to-be-decoded code stream associated with the SEI message.
- Layer ID that is, cli_layer_id[i]: indicates the layer ID of the i-th substream.
- the quality level parameter also known as the quality level, that is, cli_quality_level_idx: indicates the quality level (set) that can be provided by the sub-codestream in the to-be-extracted codestream, see the description in the first embodiment.
- the layer identifier corresponding to the quality level indicates the layer identifier of the corresponding extractable substream when the quality level is i.
- cli_extractable_layer_id[i] may also be expressed as cli_extractable_layer_id[i][0], indicating the layer identifier of the corresponding extractable substream when the quality level is i.
- cli_extractable_layer_flag[i][j] indicates the extractable flag bit of the jth layer substream when the quality level is i. When its value is equal to 1, it indicates that the jth layer substream is the extractable substream when the quality level is i.
- Code stream when its value is equal to 0, it indicates that the sub-stream of the j-th layer is not an extractable sub-stream when the quality level is i. All sub-stream layer flags corresponding to j satisfying cli_extractable_layer_flag[i][j] equal to 1 form a list of extractable sub-stream flags corresponding to the quality level i.
- This embodiment only provides an example of a feasible cross-layer indication SEI message syntax structure, and all SEI messages conforming to all or part of the solution described in the first embodiment are within the protection scope of the solution of this application.
- a key frame flag is added, and the key frame flag in the cross-layer indication SEI message indicates whether the code stream to be decoded needs to involve cross-layer operations.
- This specific type of SEI message ie, The SEI message in the second embodiment
- the cross-layer indication SEI message may further include a cancellation flag (cli_cancel_flag) and a persistence flag (cli_persistence_flag).
- Table 9 is another syntax structure table of cross-layer indication SEI message provided by this application.
- the cancellation flag indication information ie cli_cancel_flag: when the value is equal to 1, indicates that the cross-layer indication SEI message cancels the persistence of any previous cross-layer indication SEI message and does not use related SEI functions. On the contrary, when the value is equal to 0, it means that the following is cross-layer indication information such as the first multi-layer coding parameter information.
- Persistence identification information ie cli_persistence_flag: used to indicate the persistence of the current cross-layer indication SEI message.
- persistence flag bit 0
- persistence flag bit cli_persistence_flag
- the persistence scope (peisistence_scope) of the cross-layer indication SEI message may be an access unit (Access Unite, AU), a coded video sequence (Coded Video Sequence, CVS), or an unspecified (unspecified), this There are no restrictions on the application.
- cli_key_frame_flag When the value is equal to 1, it indicates that the code stream to be decoded is a multi-layer encoded code stream, and the sub-stream extraction process needs to be performed on the code stream to be decoded according to the type of the enhancement layer. Therefore, the code stream to be decoded is also It can be expressed as the code stream to be extracted. On the contrary, when its value is equal to 0, it indicates that the code stream to be decoded is not a multi-layer encoded code stream, and corresponding operations are performed on the code stream to be decoded according to the original basic decoding process in the standard.
- cli_extractable_layer_flag[i][j] indicates the extractable flag bit of the jth layer substream when the quality level is i. When its value is equal to 1, it indicates that the jth layer substream is the extractable substream when the quality level is i.
- Code stream when its value is equal to 0, it indicates that the sub-stream of the j-th layer is not an extractable sub-stream when the quality level is i. All sub-stream layer flags corresponding to j satisfying cli_extractable_layer_flag[i][j] equal to 1 form a list of extractable sub-stream flags corresponding to the quality level i.
- cli_extractable_layer_flag[i][j] is uniformly used to indicate the extractable flag bit of the jth layer substream when the quality level is i.
- the enhancement layer sub-stream type in the to-be-decoded stream associated with the SEI message should be an independent enhanced sub-stream, so the corresponding extractable sub-stream under each quality level is only 1 Therefore, as long as there is one j such that the value of cli_extractable_layer_flag[i][j] is 1, the substream of the j layer is the corresponding extractable substream when the level is i, and there is no need to continue executing the do loop.
- This embodiment provides another example of indicating the syntax structure and semantic information of the SEI message across layers.
- the solution of the present application can be implemented through the syntax element user_data_payload_byte in the SEI message with unregistered user data.
- the syntax element user_data_payload_byte can include the first embodiment
- the mentioned capability may include all or part of the content in the SEI message exemplified in the second embodiment, so as to achieve the purpose of implementing the solution of the present application.
- the user data SEI message registered with the existing ITU-T T.35 recommendation in the H.266/VVC version1 standard and the user data unregistered SEI message can be implemented.
- any other extension of the solution of the present application using these two SEI messages is also supported.
- This embodiment is a video encoding method, which is applied to a terminal device that encodes a video.
- the input of the device is an image contained in the video, and the output is an image code stream or a transport stream or media file containing the image code stream.
- Step S1 Read an image, the image is a complete image in the video sequence, or a sub-image in a complete image.
- Step S2. Determine whether the image involves multi-layer coding, if yes, execute step S3, otherwise, execute step S5.
- the methods for judging whether the image involves multi-layer coding include but are not limited to the following 3 methods: 1) The read image contains an indication that multi-layer coding needs to be performed, for example, indicating that the image is a key picture and needs to be encoded Multi-layer encoding; 2) The encoding end analyzes the image characteristics, and determines that multi-layer encoding needs to be performed according to the image characteristics; 3) The read image is included in the continuous range ( persistent_scope).
- Multi-layer coding can be thought of as encoding an image into a multi-layer code stream.
- Step S3. Obtain first multi-layer coding parameter information.
- the first multi-layer coding parameter information includes an enhancement type parameter, an enhancement layer quantity parameter, a quality level (quality_level_idx) parameter, and a bitstream layer identifier corresponding to the quality level, and the like.
- the ITU-T Rec. T.35 Registered User Data SEI message contains user data registered as specified in ITU-T Rec. T.35.
- the solution of the present application may be implemented through the syntax element itu_t_t35_payload_byte in the SEI message.
- the syntax element itu_t_t35_payload_byte may contain the capabilities mentioned in the first embodiment or all or part of the content in the SEI message exemplified in the second embodiment. , so as to achieve the purpose of the solution of the present application.
- Step S4 Generate a multi-layer coded code stream for image coding, and perform step S8.
- the encoding method can be implemented by the related art, which is not limited in this application, and the generated multi-layer encoding code stream should satisfy the first multi-layer encoding parameter information.
- the present application does not limit the sequence between S3 and S4.
- Step S5. Determine whether the image is used to end multi-layer coding, if so, execute step S6, otherwise execute step S7'.
- the methods for judging whether the image is used to end the multi-layer encoding include but are not limited to the following 3 kinds: 1) the read image contains an instruction that needs to end the multi-layer encoding; 2) the encoding end analyzes the image characteristics, according to the image characteristics It is determined that the multi-layer encoding needs to be terminated; 3) the encoding end analyzes the image characteristics and determines that multi-layer encoding is not required, but the read image is still included in the continuous range of the cross-layer indication SEI message corresponding to the previous indication of the multi-layer encoded image. (persistent_scope).
- Step S6 Obtain second multi-layer coding parameter information.
- the second multi-layer coding parameter information includes at least a cancellation flag bit (cancel_flag), that is, cancellation flag indication information.
- Step S7/S7' Generate a code stream for image coding.
- the encoding method can be implemented by related technologies, which is not limited in this application.
- the present application does not limit the sequence between S6 and S7.
- Step S8 Write the SEI message carrying the multi-layer coding parameter information into the code stream.
- the SEI message carrying the first multi-layer encoding parameter information or the second multi-layer encoding parameter information may be any one of the SEI message examples described in Embodiments 2 to 4.
- the multi-layer encoding parameter information includes first multi-layer encoding parameter information and second multi-layer encoding parameter information.
- the first multi-layer encoding parameter information is added to the multi-layer encoding code stream generated based on step S4, and the second multi-layer encoding parameter information is added to the code stream generated based on step S7.
- the encoding end may also check the first multi-layer encoding Whether the parameter information is exactly the same as the third multi-layer encoding parameter information in the previous SEI message carrying the multi-layer encoding parameter information, if the first multi-layer encoding parameter information is exactly the same as the third multi-layer encoding parameter information and carries the third
- the persistence scope (peisistence_scope) of the SEI message of the layer coding parameter information includes the current image, you may choose not to write the SEI message carrying the first multi-layer coding parameter information into the code stream.
- Step S9 Output an image code stream or a transport stream or media file containing the image code stream.
- FIG. 4 is a schematic structural diagram of a code stream processing apparatus provided by an embodiment of the present application.
- the apparatus may be integrated in a terminal device. As shown in FIG. 4 , the apparatus includes:
- the first obtaining module 31 is configured to obtain the encoded code stream, the encoded code stream includes encoding indication information, and the encoding indication information indicates the code stream type of the encoded code stream; the second obtaining module 32 is configured as Obtain the encoding indication information; the decoding module 33 is configured to decode the encoded stream according to the encoding indication information.
- the code stream processing apparatus provided in this embodiment is used to implement the code stream processing method in the embodiment shown in FIG. 1 .
- the implementation principle and technical effect of the code stream processing apparatus provided in this embodiment are the same as the code stream processing in the embodiment shown in FIG. 1 .
- the method is similar and will not be repeated here.
- the encoding indication information includes an SEI message
- the code stream corresponding to the code stream type includes a multi-layer encoded code stream and a termination code stream
- the termination code stream is a multi-layer encoded code stream whose termination code is terminated. code stream.
- the SEI message includes at least one of the following:
- the extended user data SEI message The extended user data unregistered SEI message; the newly added SEI message.
- the SEI message includes at least one of the following:
- Enhancement type parameter indicates the enhancement type of the enhancement layer substream contained in the encoded codestream
- the enhancement type parameter indicates the enhancement type of the enhancement layer substream contained in the encoded codestream
- the sub-code stream parameter information is used to determine the sub-code stream that needs to be extracted from the encoded code stream
- the key frame identification information indicates whether the encoded code stream is a multi-layer encoded code stream
- the cancellation identifier indicates whether the corresponding SEI message cancels the persistence restriction of the previous SEI message
- the persistence identification information indicates whether the persistence restriction is set.
- the sub-stream parameter information includes at least one of the following: an enhancement layer quantity parameter, a quality level, and a layer identifier of the sub-stream corresponding to the quality level, where the number of sub-streams corresponding to the quality level is one or wherein, the enhancement layer quantity parameter indicates the number of enhancement layer sub-streams included in the encoded code stream, and the quality level indicates a quality level that can be provided by the sub-streams in the encoded code stream.
- the decoding module 33 is set to:
- the decoding module 33 obtains a sub-stream from the encoded stream according to the encoding indication information, including:
- FIG. 5 is a schematic structural diagram of a code stream processing apparatus provided by an embodiment of the present application, and the apparatus is integrated in a terminal device. As shown in Figure 5, the device includes:
- the generating module 41 is configured to generate an image encoding code stream and the encoding instruction information corresponding to the image encoding code stream; the adding module 42 is configured to add the encoding instruction information to the image encoding code stream to obtain the post-encoding code stream; the sending module 43 is configured to send the encoded stream.
- the code stream processing apparatus provided in this embodiment is used to implement the code stream processing method in the embodiment shown in FIG. 3 .
- the implementation principle and technical effect of the code stream processing apparatus provided in this embodiment are the same as the code stream processing in the embodiment shown in FIG. 3 .
- the method is similar and will not be repeated here.
- the encoding indication information includes at least one of the following: enhancement type parameter, sub-code stream parameter information, key frame identification information, cancellation Identification indication information and persistent identification information.
- the encoding instruction The information includes cancellation identification indication information, and the image encoding code stream is a multi-layer encoding code stream or a termination code stream.
- the encoding indication information is used to generate a multi-layer encoded code stream, or the encoding indication information is obtained after the multi-layer encoded code stream is generated.
- FIG. 6 is a schematic structural diagram of a terminal device provided by an embodiment of the present application.
- the terminal device provided by this application includes one or more processors 51 and a storage device 52 ; the number of processors 51 in the terminal device may be one or more, and one processor 51 in FIG. 6 is used as the
- the storage device 52 is used to store one or more programs; the one or more programs are executed by the one or more processors 51 , so that the one or more processors 51 implement the implementation as in the embodiments of the present application The code stream processing method.
- the terminal device further includes: a communication device 53 , an input device 54 and an output device 55 .
- the processor 51 , the storage device 52 , the communication device 53 , the input device 54 and the output device 55 in the terminal device may be connected by a bus or in other ways, and the connection by a bus is taken as an example in FIG. 6 .
- the input device 54 can be used to receive input numerical or character information, and generate key signal input related to user setting and function control of the terminal device.
- the output device 55 may include a display device such as a display screen.
- the communication device 53 may include a receiver and a transmitter.
- the communication device 53 is configured to transmit and receive information according to the control of the processor 51 .
- Information includes but is not limited to encoded stream
- the storage device 52 can be configured to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the code stream processing method described in the embodiments of the present application (for example, a code stream processing device).
- the first acquisition module 31 , the second acquisition module 32 and the decoding module 33 in the code stream processing device are also for example the acquisition module 41 , the adding module 42 and the sending module 43 in the code stream processing device).
- the storage device 52 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal device, and the like.
- storage device 52 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
- storage device 52 may include memory located remotely from processor 51, and these remote memories may be connected to the terminal device through a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
- Embodiments of the present application further provide a storage medium, where a computer program is stored in the storage medium, and when the computer program is executed by a processor, any one of the methods described in the present application is implemented, and the storage medium stores a computer program, and the computer When the program is executed by the processor, any one of the code stream processing methods described in the embodiments of the present application is implemented.
- Stream processing methods include:
- the encoded code stream includes encoding indication information
- the encoding indication information indicates a code stream type of the encoded code stream
- obtain the encoding indication information decode the encoded code stream according to the encoding indication information Code stream after encoding.
- the code stream processing method including:
- the computer storage medium of the embodiments of the present application may adopt any combination of one or more computer-readable media.
- the computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium.
- the computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above.
- Examples (non-exhaustive list) of computer readable storage media include: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (Read Only Memory) Memory, ROM), Erasable Programmable Read Only Memory (EPROM), Flash Memory, Optical Fiber, Portable Compact Disc Read-Only Memory (CD-ROM), Optical Storage Devices, Magnetic memory device, or any suitable combination of the above.
- a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in connection with an instruction execution system, apparatus, or device.
- a computer-readable signal medium may include a propagated data signal in baseband or as part of a carrier wave, with computer-readable program code embodied thereon. Such propagated data signals may take a variety of forms including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing.
- a computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device .
- Program code embodied on a computer-readable medium may be transmitted using any suitable medium, including but not limited to: wireless, wire, optical fiber cable, radio frequency (RF), etc., or any suitable combination of the foregoing.
- suitable medium including but not limited to: wireless, wire, optical fiber cable, radio frequency (RF), etc., or any suitable combination of the foregoing.
- Computer program code for carrying out the operations of the present application may be written in one or more programming languages, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional Procedural programming language - such as the "C" language or similar programming language.
- the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server.
- the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or Wide Area Network (WAN), or may be connected to an external computer (eg, use an internet service provider to connect via the internet).
- LAN Local Area Network
- WAN Wide Area Network
- terminal equipment encompasses any suitable type of wireless user equipment, such as mobile telephones, portable data processing devices, portable web browsers or vehicle mounted mobile stations.
- the various embodiments of the present application may be implemented in hardware or special purpose circuits, software, logic, or any combination thereof.
- some aspects may be implemented in hardware, while other aspects may be implemented in firmware or software that may be executed by a controller, microprocessor or other computing device, although the application is not limited thereto.
- Embodiments of the present application may be implemented by the execution of computer program instructions by a data processor of a mobile device, eg in a processor entity, or by hardware, or by a combination of software and hardware.
- Computer program instructions may be assembly instructions, Instruction Set Architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or written in any combination of one or more programming languages source or object code.
- ISA Instruction Set Architecture
- the block diagrams of any logic flow in the figures of the present application may represent program steps, or may represent interconnected logic circuits, modules and functions, or may represent a combination of program steps and logic circuits, modules and functions.
- Computer programs can be stored on memory.
- the memory may be of any type suitable for the local technical environment and may be implemented using any suitable data storage technology, such as, but not limited to, Read-Only Memory (ROM), Random Access Memory (RAM), optical Memory devices and systems (Digital Video Disc (DVD) or Compact Disk (CD)), etc.
- Computer-readable media may include non-transitory storage media.
- the data processor may be of any type suitable for the local technical environment, such as, but not limited to, a general purpose computer, a special purpose computer, a microprocessor, a Digital Signal Processing (DSP), an Application Specific Integrated Circuit (ASIC) ), programmable logic devices (Field-Programmable Gate Array, FPGA) and processors based on multi-core processor architecture.
- a general purpose computer such as, but not limited to, a general purpose computer, a special purpose computer, a microprocessor, a Digital Signal Processing (DSP), an Application Specific Integrated Circuit (ASIC) ), programmable logic devices (Field-Programmable Gate Array, FPGA) and processors based on multi-core processor architecture.
- DSP Digital Signal Processing
- ASIC Application Specific Integrated Circuit
- FPGA Field-Programmable Gate Array
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Description
cross_layer_indication(payloadSize){ | 描述 |
cli_enhancement_type | u(3) |
} |
质量等级 | 与质量等级相对应的层标识列表 |
0(基本质量画面) | 层0 |
1(中等质量画面) | 层1 |
2(高质量画面) | 层2 |
质量等级 | 与质量等级相对应的层标识列表 |
0(基本质量画面) | 层0 |
1(中等质量画面) | 层0,层1 |
2(高质量画面) | 层0,层2或层0,层1,层2 |
质量等级 | 与质量等级相对应的层标识列表 |
0(基本质量画面) | 层0,层1 |
1(中等质量画面) | 层0,层1,层2或层0,层2 |
2(高质量画面) | 层0,层1,层2,层3或其他可能的组合 |
质量等级 | 与质量等级相对应的层标识列表 |
0(基本质量画面) | 层0 |
1(中等质量画面) | 层1 |
2(高质量画面) | 层1,层2或层0,层2 |
Claims (15)
- 一种码流处理方法,包括:获取编码后码流,所述编码后码流包括编码指示信息,所述编码指示信息指示所述编码后码流的码流类型;获取所述编码指示信息;根据所述编码指示信息解码所述编码后码流。
- 根据权利要求1所述的方法,其中,所述编码指示信息包括补充增强信息SEI消息,所述码流类型对应的码流包括多层编码码流和终止码流,所述终止码流为终止编码为多层编码码流的码流。
- 根据权利要求2所述的方法,其中,所述SEI消息包括如下至少一项:扩展后的用户数据SEI消息;扩展后的用户数据未注册的SEI消息;新增的SEI消息。
- 根据权利要求2所述的方法,其中,所述SEI消息,包括如下至少一项:增强类型参数、子码流参数信息、关键帧标识信息、取消标识指示信息和持久性标识信息;所述增强类型参数指示所述编码后码流中包含的增强层子码流的增强类型,所述子码流参数信息用于确定所需从所述编码后码流中抽取的子码流,所述关键帧标识信息指示所述编码后码流是否为多层编码码流,所述取消标识指示信息指示所对应SEI消息是否取消了前一SEI消息的持久性限制,所述持久性标识信息指示是否设置持久性限制。
- 根据权利要求4所述的方法,其中,所述子码流参数信息包括如下至少一项:增强层数量参数、质量等级、质量等级所对应子码流的层标识,所述质量等级所对应子码流的数量为至少一个;其中,所述增强层数量参数指示所述编码后码流中包括的增强层子码流的数量,所述质量等级指示所述编码后码流中子码流可以提供的质量等级。
- 根据权利要求1所述的方法,其中,所述根据所述编码指示信息解码所述编码后码流,包括:根据所述编码指示信息从所述编码后码流中获取子码流;解码所述子码流。
- 根据权利要求6所述的方法,其中,所述根据所述编码指示信息从所述编码后码流中获取子码流,包括:获取所述编码指示信息所包括的增强类型参数;获取对应所述增强类型参数的子码流参数信息;根据所述子码流参数信息和所需质量等级,确定需提取的子码流的层标识;根据所述子码流的层标识,从所述编码后码流中提取子码流。
- 一种码流处理方法,包括:生成图像编码码流和所述图像编码码流对应的编码指示信息;将所述编码指示信息添加至所述图像编码码流中,得到编码后码流;发送所述编码后码流。
- 根据权利要求8所述的方法,其中,在所述图像编码码流为多层编码码流的情况下,所述编码指示信息包括如下至少一项:增强类型参数、子码流参数信息、关键帧标识信息、取消标识指示信息和持久性标识信息。
- 根据权利要求8所述的方法,其中,在所述图像编码码流在前一个编码指示信息的持续范围内,且所述图像编码码流对应的图像结束编码为多层编码码流的情况下,所述编码指示信息包括取消标识指示信息,所述图像编码码流为多层编码码流或终止码流。
- 根据权利要求8所述的方法,其中,所述编码指示信息用于生成多层编码码流,或所述编码指示信息在生成多层编码码流后获取。
- 一种码流处理装置,包括:第一获取模块,设置为获取编码后码流,所述编码后码流包括编码指示信息,所述编码指示信息指示所述编码后码流的码流类型;第二获取模块,设置为获取所述编码指示信息;解码模块,设置为根据所述编码指示信息解码所述编码后码流。
- 一种码流处理装置,包括:生成模块,设置为生成图像编码码流和所述图像编码码流对应的编码指示信息;添加模块,设置为将所述编码指示信息添加至所述图像编码码流中,得到编码后码流;发送模块,设置为发送所述编码后码流。
- 一种终端设备,包括:至少一个处理器;存储装置,设置为存储至少一个程序;当所述至少一个程序被所述至少一个处理器执行,使得所述至少一个处理器实现如权利要求1-11任一项所述的码流处理方法。
- 一种存储介质,存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1-11任一项所述的码流处理方法。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US18/555,912 US20240223794A1 (en) | 2021-04-20 | 2022-03-18 | Methods and apparatuses for processing bitstream, terminal device, and storage medium |
EP22790765.6A EP4329306A1 (en) | 2021-04-20 | 2022-03-18 | Methods and apparatuses for processing code stream, terminal device, and storage medium |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110426571.1 | 2021-04-20 | ||
CN202110426571.1A CN115225913A (zh) | 2021-04-20 | 2021-04-20 | 一种码流处理方法、装置、终端设备及存储介质 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022222656A1 true WO2022222656A1 (zh) | 2022-10-27 |
Family
ID=83604705
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2022/081593 WO2022222656A1 (zh) | 2021-04-20 | 2022-03-18 | 码流处理方法、装置、终端设备及存储介质 |
Country Status (4)
Country | Link |
---|---|
US (1) | US20240223794A1 (zh) |
EP (1) | EP4329306A1 (zh) |
CN (1) | CN115225913A (zh) |
WO (1) | WO2022222656A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115866254A (zh) * | 2022-11-24 | 2023-03-28 | 亮风台(上海)信息科技有限公司 | 一种传输视频帧及摄像参数信息的方法与设备 |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116828231B (zh) * | 2023-08-02 | 2024-05-24 | 纽扣数字智能科技(深圳)集团有限公司 | 一种视频传输优化方法、系统、电子设备及介质 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160212439A1 (en) * | 2014-12-18 | 2016-07-21 | Nokia Technologies Oy | Apparatus, a method and a computer program for video coding and decoding |
CN110419223A (zh) * | 2017-03-21 | 2019-11-05 | 高通股份有限公司 | 必需的及非必需的视频补充信息的信号发送 |
WO2021049580A1 (ja) * | 2019-09-11 | 2021-03-18 | パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ | 符号化装置、復号装置、符号化方法、および復号方法 |
WO2021061392A1 (en) * | 2019-09-24 | 2021-04-01 | Futurewei Technologies, Inc. | Error mitigation for sublayers in video coding |
-
2021
- 2021-04-20 CN CN202110426571.1A patent/CN115225913A/zh active Pending
-
2022
- 2022-03-18 EP EP22790765.6A patent/EP4329306A1/en active Pending
- 2022-03-18 US US18/555,912 patent/US20240223794A1/en active Pending
- 2022-03-18 WO PCT/CN2022/081593 patent/WO2022222656A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160212439A1 (en) * | 2014-12-18 | 2016-07-21 | Nokia Technologies Oy | Apparatus, a method and a computer program for video coding and decoding |
CN110419223A (zh) * | 2017-03-21 | 2019-11-05 | 高通股份有限公司 | 必需的及非必需的视频补充信息的信号发送 |
WO2021049580A1 (ja) * | 2019-09-11 | 2021-03-18 | パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ | 符号化装置、復号装置、符号化方法、および復号方法 |
WO2021061392A1 (en) * | 2019-09-24 | 2021-04-01 | Futurewei Technologies, Inc. | Error mitigation for sublayers in video coding |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115866254A (zh) * | 2022-11-24 | 2023-03-28 | 亮风台(上海)信息科技有限公司 | 一种传输视频帧及摄像参数信息的方法与设备 |
Also Published As
Publication number | Publication date |
---|---|
EP4329306A1 (en) | 2024-02-28 |
CN115225913A (zh) | 2022-10-21 |
US20240223794A1 (en) | 2024-07-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022222656A1 (zh) | 码流处理方法、装置、终端设备及存储介质 | |
US11076160B2 (en) | Devices and methods for identifying a leading picture | |
US20230007316A1 (en) | Apparatus for transmitting broadcast signal, apparatus for receiving broadcast signal, method for transmitting broadcast signal and method for receiving broadcast signal | |
EP3399752B1 (en) | Image decoding method and decoding device | |
KR102332387B1 (ko) | 수신 장치, 수신 방법, 송신 장치 및 송신 방법 | |
CN110662114B (zh) | 视频处理方法、装置、电子设备及存储介质 | |
TW200822758A (en) | Scalable video coding and decoding | |
US10270989B2 (en) | Broadcasting signal transmission device, broadcasting signal reception device, broadcasting signal transmission method, and broadcasting signal reception method | |
US11956159B2 (en) | Transmission device, transmission method, reception device, and reception method | |
WO2020109154A1 (en) | Method, device, and computer program for encapsulating media data into a media file | |
US11336965B2 (en) | Method and apparatus for processing video bitstream, network device, and readable storage medium | |
US10412422B2 (en) | Apparatus for transmitting broadcasting signal, apparatus for receiving broadcasting signal, method for transmitting broadcasting signal, and method for receiving broadcasting signal | |
US20240080487A1 (en) | Method, apparatus for processing media data, computer device and storage medium | |
US20230319374A1 (en) | Method and device for creating/receiving media file containing layer information, and media file transfer method | |
CN116506412A (zh) | 兼容h.264和h.265编码标准的视频实时加密传输方法及系统 | |
WO2024079718A1 (en) | Apparatus and method for integrating neural-network post-filter supplemental enhancement information with iso base media file format | |
CN118296178A (zh) | 文件生成方法、装置、设备及可读存储介质 | |
CN114040172A (zh) | 一种基于视频监控系统的车辆卡口数据融合传输方法及系统 | |
CN116235502A (zh) | 生成/接收包括输出层集合信息的媒体文件的方法和设备及发送媒体文件的方法 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22790765 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 18555912 Country of ref document: US |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2022790765 Country of ref document: EP |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
ENP | Entry into the national phase |
Ref document number: 2022790765 Country of ref document: EP Effective date: 20231120 |