Video decoding method, device and readable medium

By parsing and analyzing the NAL unit header in RTP, identifying the access unit boundaries in VVC video encoding and decoding, the accuracy problem of the RTP packetizer in the absence of framing information is solved, and the accuracy and reliability of video decoding and transmission are achieved. sex.

CN114009030BActive Publication Date: 2024-09-13TENCENT AMERICA LLC
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202080044541.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-09-21
Filing Date
2020-10-05
Publication Date
2024-09-13
Estimated Expiration
2040-10-05

AI Technical Summary

Technical Problem

In the real-time transport protocol (RTP), video coding standards such as VVC video codec, when the long code stream is stored in the file, there is a lack of framing information, which makes it difficult for the RTP packager to correctly set the M bits, which in turn affects the performance of video decoding and transmission. accuracy.

Method used

By parsing the Network Abstraction Layer (NAL) unit header, it is determined whether the nalX unit is the last NAL unit in the encoded video stream, thereby identifying the access unit (AU) boundary and setting M bits. The specific method includes analyzing the NAL unit type, decoding order and other field information, combined with conditional judgment to determine whether nalX is the last NAL unit of the AU.

Benefits of technology

It achieves the accurate identification of the access unit boundary of the video code stream in the absence of encoder auxiliary information, ensures the correct processing of RTP packets and video decoding, and improves the accuracy of the RTP packetizer and the reliability of video transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114009030B_ABST
    Figure CN114009030B_ABST
Patent Text Reader

Abstract

The present application provides a method, device and readable medium for video decoding. A method for video decoding includes: parsing NAL unit headers of at least two network abstraction layer NAL units, wherein the at least two NAL units include a nalX unit and a nalY unit; associating information of at least one field of each of the at least two network abstraction layer NAL units; determining whether the nalX unit is the last NAL unit in the encoded video bitstream; and when determining that the nalX unit is the last NAL unit in the encoded video bitstream, determining that the nalX is the last NAL unit of the current access unit AU.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to U.S. Provisional Patent Application No. 62 / 980,659 filed on February 24, 2020 and U.S. Patent Application No. 17 / 026,781 filed on September 21, 2020, the entire contents of which are incorporated herein. Technical Field

[0003] The disclosed subject matter relates to network protocols for transmitting video over IP networks, and more particularly, to signaling of access unit (frame) boundary information for supporting individual access of frames in a video payload format. Background Art

[0004] refer to Figure 1 , a network connection system may include one or more endpoints (101, 102, 103). The endpoints communicate with each other over an IP network (104) such as the Internet using real-time media such as voice, video and / or other media. The system may further include one or more media-aware network elements (105), for example, the one or more media-aware network elements (105) are configured to manipulate media sent by an endpoint before forwarding the media to another endpoint.

[0005] In some such system designs, one or more endpoints and / or a Mobile Ad-hoc Network Emulator (MANE) may include a Real-time Transport Protocol (RTP) packetizer that sends RTP packets over a network to an RTP receiver located, for example, in another endpoint or another MANE. In some cases, the sending endpoint may include a video camera functionally coupled to a video encoder, which in turn may be coupled to the packetizer such that video captured by the video camera may be transmitted over the network (104) from a sending endpoint, such as endpoint (101), to a receiving endpoint, such as endpoint (102), using RTP packets.

[0006] In some cases, the sending endpoint may not include a video encoder. Alternatively, the video may be obtained from a file stored on a hard drive or the like (106) coupled to the endpoint (101).

[0007] Some real-time communication technologies for video over the Internet and other IP networks may rely on the Real-time Transport Protocol (RTP) specified in RFC 3550. In some cases, RTP packets may be transmitted from one endpoint or MANE to another over the User Datagram Protocol (UDP) over IP. Figure 2 , shows the RTP header structure as specified in RFC3550. Here, each RTP packet may start with an RTP packet header. Figure 2 The figure shows the format of the RTP header specified in RFC3550.

[0008] like Figure 2 As shown, the version (V) field (201) may specify the version of RTP and may be equal to 2. The padding (P) field (202) may specify whether the data packet contains one or more additional padding octets at the end. The extension (X) field (203) may indicate whether exactly one header extension follows the fixed header. The CSRC count (CC) field (204) may contain the number of CSRC identifiers following the fixed header. The marker (M) field (205) may allow marking of important events, such as AU boundaries in a packet stream. The payload type (PT) field may indicate the payload type (206) - the type of media in use, such as video encoded according to ITU-T Recommendation H.264 using the RTP payload format RFC 6184 with a certain set of RFC3984 parameters. The PT may be selected by the call control protocol in many cases. For each RTP packet sent, the RTP sequence number (207) may be increased by one until it wraps around. The RTP timestamp (208) may indicate the moment when the first sample of the packet has been sampled (capture time), and may be commonly used as the presentation time. The timestamp for at least some video codecs may be 90 kHz, while for many audio codecs the timestamp may be equal to the sampling rate, such as 8 kHz, 44.1 kHz, or 48 kHz. The synchronization source (SSRC) identifier (209) and contributing source (CSRC) identifier (210) are described below.

[0009] RTP may follow a generic approach to application layer framing, so adaptations to certain payloads, such as coded video formats specified by certain video codec standards, may be specified by auxiliary specifications outside the main RTP specification called RTP payload formats. Certain RTP payload formats may reuse bits such as the network abstraction header as the payload header of these RTP payload formats, which is present in certain video codec standards such as H.264 or H.265. In such RTP payload formats and video codec standards, a Network Abstraction Layer Unit (NAL unit or NALU) may be a finite-sized codestream covering a coded picture or a well-defined portion of a coded picture, such as, for example, a slice, tile, group of blocks (GOB), and so on.

[0010] A codestream may include at its beginning a relatively short data structure, for example 8 or 16 bits in length, which contains minimal information about the type of codestream included and, in some cases, hierarchical information.

[0011] At least some video codec standards recognize the concept of an Access Unit (AU). In the single-layer case, an Access Unit may consist of a single coded picture. In other cases, especially those involving layered codecs and multi-view codecs, an AU may include multiple coded pictures that share some timing information. Multiple coded pictures may have the same presentation time, for example.

[0012] The RTP header may include a so-called "marker" bit (M bit) (205). By convention, in substantially all RTP payload formats that recognize the concept of an AU, the M bit is designated equal to one for the RTP packet carrying the last codestream of an AU, and may be set to zero otherwise. When a receiver receives an RTP packet with the M bit set, the receiver typically knows that the RTP packet is the last packet of the AU and may process the RTP packet accordingly. Some details of this processing may be found in the RTP specification.

[0013] Again briefly reference Figure 1, assuming that the sending endpoint (101) obtains the video stream it is sending from a storage device / hard drive (106), such a file may not include easily accessible meta-information about access unit boundaries, for example because the stream may be stored in a format commonly referred to as an "Appendix B stream". In this case, there may be no Application Programmer's Interface (API) information available from the encoder to the RTP packetizer that signals that the stream is the final stream of an AU. Instead, the RTP packetizer may have to identify the stream that includes the end of the AU without the auxiliary information that is usually available from the encoder. Summary of the invention

[0014] The present application discloses a method, a device and a readable medium for video decoding.

[0015] The present application provides a method for video decoding, comprising: parsing NAL unit headers of at least two network abstraction layer NAL units, wherein the at least two NAL units include a nalX unit and a nalY unit; associating information of at least one field of each of the at least two network abstraction layer NAL units; determining whether the nalX unit is the last NAL unit in an encoded video bitstream; and when determining that the nalX unit is the last NAL unit in the encoded video bitstream, determining that the nalX is the last NAL unit of a current access unit AU.

[0016] The present application provides a video decoding device, comprising: at least one memory configured to store program codes; and at least one processor configured to read the program codes and operate according to instructions of the program codes to execute a video decoding method.

[0017] The present application provides a video decoding device, comprising:

[0018] A parsing module, parsing NAL unit headers of at least two network abstraction layer NAL units, wherein the at least two NAL units include a nalX unit and a nalY unit;

[0019] A first association module associates information of at least one field of each of at least two network abstraction layer NAL units;

[0020] A determination module is used to: determine whether the nalX unit is the last NAL unit in the encoded video stream; when determining that the nalX unit is the last NAL unit in the encoded video stream, determine that the nalX is the last NAL unit of the current access unit AU.

[0021] The present application provides a non-transitory computer-readable medium storing instructions, wherein the instructions include one or more instructions, and when the one or more instructions are executed by one or more processors of a device, the one or more processors are caused to perform a video decoding method. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Further features, properties and various advantages of the disclosed subject matter will become more apparent from the following detailed description and accompanying drawings, in which:

[0023] Figure 1 is a schematic diagram of a media transmission system using RTP.

[0024] Figure 2 is a schematic diagram of the RTP header.

[0025] Figure 3 is a schematic diagram of a NAL unit header of a VVC with a bit boundary embodiment.

[0026] Figure 4 is a schematic diagram of a simplified block diagram of access unit boundary detection.

[0027] Figure 5 is a schematic diagram of a computer system according to an embodiment.

[0028] Problem to be solved

[0029] The Real-time Transport Protocol (RTP) can be used in communication systems that utilize streaming media. Recently, there has been interest in the RTP payload format for carrying video data that complies with the coding standards ITU-T Recommendation [H.266] and ISO / IEC International Standard [ISO23090-3], both of which are also known as Versatile Video Coding (VVC) and were developed by the Joint Video Experts Team (JVET). The RTP payload format allows for the packetization of one or more Network Abstraction Layer (NAL) units in each RTP packet payload, as well as the segmentation of a single NAL unit into multiple RTP packets. The VVC video codec can be stored in a file as a long codestream with no framing information beyond the start code. Without parsing essentially all the details of this codestream, an RTP packetizer cannot correctly set the M bit as required by the RTP and RTP payload specifications. DETAILED DESCRIPTION

[0030] In an embodiment, when the marker bit is set equal to 1, it may indicate that the current packet is the last packet of an access unit (AU) in the current RTP stream. When the marker bit is set equal to 0, it may indicate that the current packet is not the last packet of an access unit. This use of the marker bit is consistent with the general usage of marker bits in substantially all currently specified video RTP payload formats.

[0031] refer to Figure 3 In the same or another embodiment, the VVC NAL unit header may consist of two bytes (16 bits). Here, 5 bits represent the NAL unit type (304). Thus, there may be up to 32 types of NAL units. A video coding layer (VCL) NAL unit may have a type with a numerical range between 0 and 12, and a non-VCL NAL unit may have a type with a range between 13 and 31. To prevent start code emulation, the forbidden_zero_bit (F bit, 301) needs to be set to zero. The nuh-reserved-bit (Z bit, 302) needs to be set to zero and is reserved for future extension by ITU and ISO / IEC. The nuh-layer-id (layer identification, LayerID, 303) may be used to identify the layer to which the NAL unit belongs, such as a spatial scalable layer or a quality scalable layer. The nal-unit-type (Type, 304) field may specify the NAL type and semantics based on the VVC specification. The final nuh-temporal-id-plus1 (Time Identifier, TID, 305) field can be the value of TemporalId plus 1, because a TID value of 0 may be illegal. This is to ensure that a NAL must be at least one bit for code emulation.

[0032] In the same or another embodiment, the content of the NAL unit may not be able to determine whether the NAL unit is the last NAL unit in the decoding order of the AU, at least not without parsing potentially many other NAL units. Therefore, without additional information, the packetizer cannot easily obtain this information (i.e., whether the NAL unit is the last NAL unit in the decoding order of the AU) from the video stream in isolation. In a real-time encoding context, for example, the implementation of the RTP sender can obtain this information from the video encoder or other one or more system elements through, for example, an API. However, there may also be situations where no such API is available, including the above-mentioned situation where the Appendix B codestream is stored on a hard drive before streaming. When this information cannot be explicitly obtained from the encoder or other system elements, then at decoding time, the implementation of the sender may need to interpret the NAL unit header (and possibly the payload data of the NAL unit) to determine whether the NAL unit is the last NAL unit of the access unit. This technique and other new techniques for obtaining such information are described below.

[0033] Figure 4 A technique for signaling and identifying access unit boundaries is shown in FIG. Figure 4 In the same or another embodiment, if a NAL unit is the last NAL unit of a code stream, the NAL unit may be determined as the last NAL unit of an AU.

[0034] Continue to refer Figure 4 , an embodiment for determining whether a NAL unit is the last NAL unit of an AU is shown. Here, the method can start (401) when there are two NAL units (nalX unit and nalY unit) in the decoding queue (402). Here, the goal is to decide whether nalX is the last bitstream of an AU, or whether nalY is the start of the next AU. If the nalX unit is the last NAL unit of the bitstream (403), it can be concluded (407) that nalX is the last NAL unit of the current AU. However, if this is not the case, the following method can be performed.

[0035] Specifically, if the type of nalX is AUD_NUT (404) and the NAL unit type value is 20, it is determined that nalX is the last NAL unit of the current AU. If nalX is not of the AUD_NUT NAL type, and nalY has a picture header type unit, and all NAL units between nalX and nalY are of the parameter set NAL type or the SEI (Supplementary Enhancement Information) NAL type, it is determined that nalX is the last NAL unit of the current AU, otherwise it is determined that nalX is not the last NAL unit (406).

[0036] NAL unit nalX may also be determined to be the last NAL unit of the AU if both of the following conditions are true: 1) the next VCL NAL unit nalY in decoding order has the high-order bits of the first byte after its NAL unit header equal to 1 or nal_unit_type (304) equal to 19, and 2) all NAL units between nalX and nalY, when present, have nal_unit_type (304) in the range of 13 to 17 (inclusive), nal_unit_type (304) equal to 20, nal_unit_type (304) equal to 23, or nal_unit_type (304) equal to 26.

[0037] In the same or different embodiments, NAL unit nalX may also be determined to be the last NAL unit of the access unit if both of the following conditions are true: 1) the next VCL NAL unit nalY in decoding order has picture_header_in_slice_header_flag equal to 1 in the slice segment header or nal_unit_type is set equal to PH_NUT, and 2) all NAL units between nalX and nalY, when present, have nal_unit_type set equal to DCI_NUT, VPS_NUT, SPS_NUT, PPS_NUT, PREFIX_APS_NUT, AUD_NUT, PREFIX_SEI_NUT.

[0038] In the same or another embodiment, when the next VCL NAL unit nalY in decoding order has nal_unit_type equal to AUD_NUT, the NAL unit nalX may also be determined to be the last NAL unit of the access unit.

[0039] The above-mentioned technology for identifying the boundaries of storage units (AUs) in the encoded video code stream can be implemented as computer software through computer-readable instructions and physically stored in one or more computer-readable media. For example, Figure 5 A computer system 500 is shown that is suitable for implementing certain embodiments of the disclosed subject matter.

[0040] The computer software may be encoded in any suitable machine code or computer language, and may be assembled, compiled, linked, or the like to create a code comprising instructions, which may be directly executed by a computer central processing unit (CPU), graphics processing unit (GPU), or the like, or executed by decoding, microcode, or the like.

[0041] The instructions may be executed on various types of computers or components thereof, including, for example, personal computers, tablet computers, servers, smartphones, gaming devices, Internet of Things devices, etc.

[0042] Computer software may be encoded using any suitable machine code or computer language that may be subject to assembly, compilation, linking or similar mechanisms to create code containing instructions executable directly or by interpretation, microcode execution, etc., by a computer central processing unit (CPU), graphics processing unit (GPU), etc.

[0043] The instructions may be executed on various types of computers or components thereof, including, for example, personal computers, tablets, servers, smartphones, gaming devices, IoT devices, etc.

[0044] Figure 5 The components shown for computer system 500 are exemplary in nature and are not intended to limit the scope of use or functionality of computer software implementing embodiments of the present application. The configuration of the components should not be interpreted as having any dependency or requirement on any component or combination of components shown in the exemplary embodiment of computer system 500.

[0045] The computer system 500 may include certain human-computer interface input devices. Such human-computer interface input devices may respond to input from one or more human users through tactile input (e.g., keyboard input, sliding, data glove movement), audio input (e.g., sound, applause), visual input (e.g., gestures), and olfactory input (not shown). The human-computer interface devices may also be used to capture certain media that are not necessarily directly related to human conscious input, such as audio (e.g., speech, music, ambient sound), images (e.g., scanned images, photographic images obtained from a still image camera), and videos (e.g., two-dimensional video, three-dimensional video including stereoscopic video).

[0046] The human-machine interface input device may include one or more of the following (only one of which is depicted): keyboard 501 , mouse 502 , touch pad 503 , touch screen 510 , data gloves, joystick 505 , microphone 506 , scanner 507 , camera 508 .

[0047] The computer system 500 may also include certain human-computer interface output devices. Such human-computer interface output devices may stimulate one or more human user senses through, for example, tactile output, sound, light, and smell / taste. Such human-computer interface output devices may include tactile output devices (e.g., tactile feedback through a touch screen 510, a data glove, or a joystick 505, but there may also be tactile feedback devices that are not used as input devices), audio output devices (e.g., speakers 509, headphones (not shown)), visual output devices (e.g., screens 510 including cathode ray tube screens, liquid crystal screens, plasma screens, organic light emitting diode screens, each of which has or does not have a touch screen input function, each of which has or does not have a tactile feedback function - some of which may output two-dimensional visual outputs or outputs of more than three dimensions through means such as stereoscopic picture output; virtual reality glasses (not shown), holographic displays, and smoke boxes (not shown)) and printers (not shown).

[0048] The computer system 500 may also include human-accessible storage devices and their associated media, such as optical media including high-density read-only / rewritable optical disks (CD / DVD ROM / RW) 520 with CD / DVD or similar media 521, a thumb drive 522, a removable hard disk drive or solid state drive 523, traditional magnetic media such as magnetic tapes and floppy disks (not shown), special-purpose ROM / ASIC / PLD-based devices such as security software dongles (not shown), and the like.

[0049] Those skilled in the art should also understand that the term "computer-readable media" used in connection with the disclosed subject matter does not necessarily include transmission media, carrier waves, or other transient signals.

[0050] The computer system 500 may also include an interface to one or more communication networks. For example, the network may be wireless, wired, or optical. The network may also be a local area network, a wide area network, a metropolitan area network, an in-vehicle network, an industrial network, a real-time network, a delay-tolerant network, and the like. The network also includes local area networks such as Ethernet, wireless local area networks, cellular networks (GSM, 3G, 4G, 5G, LTE, etc.), television wired or wireless wide area digital networks (including cable television, satellite television, and terrestrial broadcast television), in-vehicle and industrial networks (including CANBus), and the like. Some networks typically require an external network interface adapter for connecting to some universal data ports or peripheral buses 549 (e.g., a USB port of the computer system 500); other systems are typically integrated into the core of the computer system 500 by connecting to the system bus described below (e.g., an Ethernet interface integrated into a PC computer system or a cellular network interface integrated into a smart phone computer system). By using any of these networks, the computer system 500 can communicate with other entities. The communication can be one-way, for receiving only (e.g., wireless television), one-way for sending only (e.g., CAN bus to certain CAN bus devices), or two-way, such as to other computer systems via a local or wide area digital network. Each of the above networks and network interfaces can use certain protocols and protocol stacks.

[0051] The above-mentioned human-machine interface devices, human-accessible storage devices, and network interfaces may be connected to the core 540 of the computer system 500 .

[0052] The core 540 may include one or more central processing units (CPUs) 541, graphics processing units (GPUs) 542, dedicated programmable processing units in the form of field programmable gate arrays (FPGAs) 543, hardware accelerators for specific tasks 544, etc. These devices, as well as read-only memory (ROM) 545, random access memory 546, internal mass storage (e.g., internal non-user accessible hard disk drives, solid-state drives, etc.) 547, etc., may be connected via a system bus 548. In some computer systems, the system bus 548 may be accessed in the form of one or more physical plugs so that it can be expanded by additional central processing units, graphics processing units, etc. Peripheral devices may be attached directly to the core's system bus 548, or connected via a peripheral bus 549. The architecture of the peripheral bus includes a peripheral controller interface PCI, a universal serial bus USB, etc.

[0053] The CPU 541, GPU 542, FPGA 543, and accelerator 544 may execute certain instructions, which in combination may constitute the above-mentioned computer code. The computer code may be stored in ROM 545 or RAM 546. Transient data may also be stored in RAM 546, while permanent data may be stored in, for example, internal mass storage 547. Fast storage and retrieval of any memory device may be achieved by using a cache memory, which may be closely associated with one or more CPUs 541, GPU 542, mass storage 547, ROM 545, RAM 546, etc.

[0054] The computer readable medium may have computer code thereon for performing various computer-implemented operations. The medium and computer code may be specially designed and constructed for the purpose of this application, or may be medium and code well known and available to those skilled in the art of computer software.

[0055] As an embodiment and not limitation, the computer system 500, in particular the core 540, can provide the function of executing software contained in one or more tangible computer-readable media as a processor (including CPU, GPU, FPGA, accelerator, etc.). Such computer-readable media can be a medium associated with the above-mentioned user-accessible mass storage, as well as a specific memory of the core 540 having non-volatility, such as the core internal mass storage 547 or ROM 545. The software implementing various embodiments of the present application can be stored in such a device and executed by the core 540. According to specific needs, the computer-readable medium may include one or more storage devices or chips. The software can enable the core 540, in particular the processor therein (including CPU, GPU, FPGA, etc.) to perform a specific process or a specific part of a specific process described herein, including defining a data structure stored in RAM 546 and modifying such a data structure according to a software-defined process. In addition or as an alternative, the computer system can provide a function that is logically hardwired or otherwise contained in a circuit (e.g., accelerator 544), which can replace the software or run with the software to perform a specific process or a specific part of a specific process described herein. Where appropriate, references to software may include logic, and vice versa. Where appropriate, references to computer-readable media may include circuits (such as integrated circuits (ICs)) storing the software, circuits containing the logic, or both. The present application includes any suitable combination of hardware and software.

[0056] Although the present application has described a number of exemplary embodiments, various changes, arrangements and various equivalent substitutions of the embodiments are within the scope of the present application. Therefore, it should be understood that those skilled in the art can design a variety of systems and methods, which, although not explicitly shown or described herein, embody the principles of the present application and are therefore within the spirit and scope of the present application.

Claims

1. A video decoding method, characterized in that: include: Parsing NAL unit headers of at least two network abstraction layer NAL units, wherein the at least two NAL units include a nalX unit and a nalY unit; Associating information of at least one field of each of at least two network abstraction layer NAL units; Determine whether the nalX unit is the last NAL unit in the encoded video stream; When determining that the nalX unit is the last NAL unit in the encoded video bitstream, determining that the nalX is the last NAL unit of the current access unit AU; When it is determined that the nalX unit is not the last NAL unit in the encoded video stream, if both of the following conditions are true, the nalX unit is determined as the last NAL unit of the current access unit AU: 1) the nalY unit is the next VCL NAL unit after the nalX unit in decoding order, and has the high-order bits of the first byte when the NAL unit header of the nalY unit is equal to 1 or the nal_unit_type of the nalY unit is equal to 19, and 2) When there is a NAL unit between the nalX unit and the nalY unit, the value of nal_unit_type includes: a range of 13 to 17, 20, 23 or 26, where the nal_unit_type indicates the type of the NAL unit.

2. The method according to claim 1, further comprising: Information of at least one of a picture header and a slice header of the at least two NAL units is associated.

3. The method according to claim 2, further comprising: The at least one of the picture header and the slice header of the at least one of the at least two NAL units is parsed.

4. The method according to any one of claims 1 to 3, further comprising: When it is determined that the nalX unit is not the last NAL unit in the encoded video stream, if the type of the nalX unit is AUD_NUT and the NAL unit type value of the nalX unit is 20, it is determined that the nalX unit is the last NAL unit of the current access unit AU.

5. The method according to any one of claims 1 to 3, further comprising: When it is determined that the nalX unit is not the last NAL unit in the encoded video code stream, if the nalX unit is not of the AUD_NUT NAL type, and the nalY unit has a picture header type unit, and the NAL units between the nalX unit and the nalY unit are of the parameter set NAL type or the SEI NAL type, it is determined that the nalX unit is the last NAL unit of the current access unit AU.

6. The method according to any one of claims 1 to 3, further comprising: When determining that the nalX unit is not the last NAL unit in the encoded video stream, the nalX unit is determined to be the last NAL unit of the access unit AU if both of the following conditions are true: 1) the nalY unit is the next VCL after the nalX unit in the decoding order; the NAL unit, the nalY unit has picture_header_in_slice_header_flag equal to 1 in the slice header or nal_unit_type is set equal to PH_NUT, and 2) the NAL units between the nalX unit and the nalY unit, when present, have nal_unit_type set equal to DCI_NUT, VPS_NUT, SPS_NUT, PPS_NUT, PREFIX_APS_NUT, AUD_NUT, and PREFIX_SEI_NUT, where DCI_NUT, VPS_NUT, SPS_NUT, PPS_NUT, PREFIX_APS_NUT, AUD_NUT, and PREFIX_SEI_NUT represent the type of a NAL unit respectively.

7. The method according to any one of claims 1 to 3, further comprising: When it is determined that the nalX unit is not the last NAL unit in the encoded video stream, when the nalY unit is the next VCL NAL unit after the nalX unit in decoding order and the nalY unit has nal_unit_type equal to AUD_NUT, the nalX unit is the last NAL unit of the current access unit AU.

8. A video decoding device, characterized in that: include: at least one memory configured to store program code; At least one processor is configured to read the program code and operate according to instructions of the program code to execute the method according to any one of claims 1 to 7.

9. A video decoding device, characterized in that: include: A parsing module, parsing NAL unit headers of at least two network abstraction layer NAL units, wherein the at least two NAL units include a nalX unit and a nalY unit; A first association module associates information of at least one field of each of at least two network abstraction layer NAL units; Identify modules for: Determine whether the nalX unit is the last NAL unit in the encoded video stream; When determining that the nalX unit is the last NAL unit in the encoded video bitstream, determining that the nalX is the last NAL unit of the current access unit AU; The determination module is further configured to: when determining that the nalX unit is not the last NAL unit in the encoded video bitstream, determine the nalX unit as the last NAL unit of the current access unit AU if both of the following conditions are true: 1) the nalY unit is the next VCL NAL unit after the nalX unit in decoding order, and has the high-order bits of the first byte when the NAL unit header of the nalY unit is equal to 1 or the nal_unit_type of the nalY unit is equal to 19, and 2) When there is a NAL unit between the nalX unit and the nalY unit, the value of nal_unit_type includes: a range of 13 to 17, 20, 23 or 26, where the nal_unit_type indicates the type of the NAL unit.

10. A non-transitory computer-readable medium, characterized in that Instructions are stored, the instructions comprising one or more instructions, which, when executed by one or more processors of a device, cause the one or more processors to: execute the method according to any one of claims 1-7.

11. A method for processing a video code stream, characterized in that: The video code stream is decoded based on the video decoding method described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Techniques for signaling and identifying access unit boundaries

    US20210266599A1

  • An apparatus, a method and a computer program for video coding and decoding

    EP3346709A1

  • An apparatus, a method and a computer program for video coding and decoding

    EP3349467A1

  • Moving picture decoder and picture border judgement method

    JP2006295568A

  • Video coding with network abstraction layer units that include multiple encoded picture partitions

    US20130114735A1