Video processing method, device and medium
By introducing new track references and entity groupings in ISOBMFF, the patent addresses the lack of picture-in-picture support in media files, enabling efficient handling and display of interchangeable video data units and precise region signaling for enhanced media file compatibility and user experience.
Patent Information
- Application Number
- JP2024519072
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-09-27
- Filing Date
- 2022-09-26
- Publication Date
- 2024-09-12
- Estimated Expiration
- 2042-09-26
AI Technical Summary
Existing media file formats like ISOBMFF lack mechanisms to support picture-in-picture services effectively, particularly in handling interchangeable video data units and signaling picture-in-picture regions, which is crucial for technologies like VVC sub-pictures.
Introduce new track reference types and entity groupings in ISOBMFF to indicate interchangeable video data units and specify picture-in-picture regions, enabling seamless support for picture-in-picture services by defining track references like 'ppsr' and 'ppsn' for permutable and non-permutable data units, and using 'picInPicEntityGroupBox' for grouping video tracks.
Enables efficient handling and display of picture-in-picture services by allowing interchangeable video data units and precise signaling of picture-in-picture regions, enhancing media file compatibility and user experience.
Smart Images

Figure 2024533758000001
Abstract
Description
[Technical field]
[0001] [CROSS REFERENCE TO RELATED APPLICATIONS] This application claims priority to U.S. Provisional Application No. 63 / 248,832, filed September 27, 2021, the entire contents of which are incorporated herein by reference.
[0002] TECHNICAL FIELD Embodiments of the present disclosure relate generally to video processing techniques, and more specifically to designing file formats to support picture-in-picture. [Background technology]
[0003] Media stream applications generally comply with Internet Protocol (IP), Transmission Control Protocol (TCP), and Hypertext Transfer Protocol (HTTP) transmission methods, and generally rely on file formats, such as ISO Base Media File Format (ISOBMFF). One such stream system is Dynamic Adaptive Streaming over HTTP (DASH). In DASH, various representations may exist for video and / or audio data of multimedia content, and the different representations may correspond to different codec characteristics (e.g., different profiles or levels of a video codec standard, different bit rates, different spatial resolutions, etc.). In addition, a technology called "picture-in-picture" has also been proposed. Therefore, a file format that supports picture-in-picture services is open to study. Summary of the Invention
[0004] The embodiments of the present disclosure provide a technical solution for processing video.
[0005] According to a first aspect, there is provided a method for processing video, the method including performing a conversion between a media file of a first video and a bitstream of the first video, the media file including a first instruction for indicating whether a first group of encoded and decoded video data units indicating a target picture-in-picture region in the first video can be replaced with a second group of encoded and decoded video data units associated with a second video.
[0006] According to the above method, an indication is adopted to indicate whether a first group of encoded and decoded video data units indicating a target picture-in-picture area in a first video can be replaced with a second group of encoded and decoded video data units associated with a second video, thereby making the proposed method easily capable of supporting picture-in-picture services in media files based on ISOBMFF.
[0007] According to a second aspect, there is provided an apparatus for processing video data, comprising a processor and a non-transitory memory storing instructions that, when executed by the processor, cause the processor to perform a method according to the first aspect of the present disclosure.
[0008] According to a third aspect, there is provided a non-transitory computer readable storage medium for causing a processor to execute instructions of a method according to the first aspect of the present disclosure.
[0009] According to a fourth aspect, there is provided another non-transitory computer-readable recording medium storing a video bitstream generated by a method performed on a video processing device, the method including performing a conversion between a media file of a first video and the bitstream of the first video, the media file including first instructions for indicating whether a first group of encoded and decoded video data units indicating a target picture-in-picture region in the first video can be replaced with a second group of encoded and decoded video data units associated with a second video.
[0010] According to a fifth aspect, there is provided a method for storing a bitstream of a first video, the method including performing a conversion between a media file of the video and the bitstream of the first video, and storing the bitstream on a non-transitory computer-readable recording medium, the media file including first instructions for indicating whether a first group of encoded and decoded video data units indicating a target picture-in-picture region in the first video can be replaced with a second group of encoded and decoded video data units associated with a second video.
[0011] According to a sixth aspect, there is provided another non-transitory computer-readable recording medium storing a media file of a first video generated by a method performed on a video processing device, the method including performing a conversion between the media file of the first video and a bitstream of the first video, the media file including first instructions for indicating whether a first group of encoded and decoded video data units indicating a target picture-in-picture region in the first video can be replaced with a second group of encoded and decoded video data units associated with a second video.
[0012] According to a seventh aspect, there is provided a method for storing a media file of a first video, the method including performing a conversion between the media file of the first video and a bitstream of the first video, and storing the media file on a non-transitory computer-readable recording medium, the media file including a first instruction for indicating whether a first group of encoded and decoded video data units indicating a target picture-in-picture region in the first video can be replaced with a second group of encoded and decoded video data units associated with a second video.
[0013] This Summary is intended to introduce a selection of concepts in a simplified form that are described in more detail below in the Detailed Description. This Summary is not intended to identify key features or required features of the disclosure, nor is it intended to limit the scope of the disclosure. [Brief description of the drawings]
[0014] The above and other objects, features and advantages of the exemplary embodiments of the present disclosure will become more apparent from the following detailed description taken in conjunction with the accompanying drawings, in which like reference numerals generally refer to like elements. [Figure 1] 1 illustrates a block diagram of an example video codec system according to some embodiments of the present disclosure. [Diagram 2] 1 shows a block diagram of a first exemplary video encoder according to some embodiments of the present disclosure. [Diagram 3] 1 illustrates a block diagram of an exemplary video decoder according to some embodiments of the present disclosure. [Figure 4] It shows a picture divided into 18 tiles, 24 slices and 24 subpictures. [Diagram 5] As a representative example, a 360° video transmission method for a sub-picture viewport is shown. [Figure 6]It shows the extraction of one subpicture from a bitstream containing two subpictures and four slices. [Figure 7] An example of picture-in-picture support using VVC subpictures is shown. [Figure 8] 1 shows a flow diagram of a method for processing video according to some embodiments of the present invention; [Figure 9] FIG. 1 illustrates a block diagram of a computing device in which various embodiments of the present disclosure may be implemented. In all the accompanying drawings, the same or similar reference numerals generally refer to the same or similar elements. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0015] Next, the principles of the present disclosure will be described with reference to some embodiments. It should be understood that these embodiments are described only for the purpose of explanation and to assist those skilled in the art in understanding and implementing the present disclosure, and are not meant to limit the scope of the present disclosure. The disclosure described herein can be implemented in various ways in addition to those described below.
[0016] In the following description and claims, all scientific and technical terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs, unless otherwise defined.
[0017] In this disclosure, the terms "one embodiment," "embodiment," "exemplary embodiment," and the like indicate that the described embodiment may include a particular feature, structure, or characteristic, but not all embodiments must include each of the particular features, structures, or characteristics. Moreover, these phrases do not necessarily refer to the same embodiment. Moreover, when a particular feature, structure, or characteristic is described with reference to an exemplary embodiment, it is believed to be within the knowledge of one of ordinary skill in the art that it affects the feature, structure, or characteristic in other embodiments, whether or not it is explicitly stated.
[0018] Terms such as "first" and "second" may be used to describe various elements, but it should be understood that these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, a first element can be referred to as a second element, and similarly, a second element can be referred to as a first element, without departing from the scope of the exemplary embodiments. As used herein, the term "and / or" includes any and all combinations of one or more of the listed terms.
[0019] As used herein, terms are used only for the purpose of describing particular embodiments and are not intended to limit the illustrated embodiments. As used herein, the singular forms "a", "an", and "the" are also intended to include the plural forms unless the context clearly dictates otherwise. It should also be understood that the terms "comprise", "include", and / or "have" as used herein indicate the presence of stated features, elements, and / or components, etc., but do not exclude the presence or addition of one or more other features, elements, components, and / or combinations thereof.
[0020] Environment of the embodiment 1 illustrates a block diagram of an exemplary video codec system 100 to which the techniques of this disclosure may be applied. Thus, the video codec system 100 may comprise a source device 110 and a target device 120. The source device 110 may also be referred to as a video encoding device, and the target device 120 may also be referred to as a video decoding device. During operation, the source device 110 may be arranged to generate encoded video data, and the target device 120 may be arranged to decode the encoded video data generated by the source device 110. The source device 110 may include a video source 112, a video encoder 114, and an input / output (I / O) interface 116.
[0021] Video source 112 may include sources such as, but not limited to, a video capture device that interfaces with a video content provider to receive video data, a computer graphics system for generating video data, and / or combinations thereof.
[0022] The video data may include one or more pictures. The video encoder 114 encodes the video data from the video source 112 to generate a bitstream. The bitstream may include an encoded sequence of bits forming the video data. The bitstream may include encoded pictures and associated data. An encoded picture is an encoded representation of a picture. The associated data may include sequence parameter sets, picture parameter sets, and other syntactic constructs. The I / O interface 116 may include a modem and / or a transmitter. The encoded video data may be transmitted directly to the target device 120 via the I / O interface 116 over the network 130A. The encoded video data may be stored on a storage medium / server 130B for access by the target device 120.
[0023] The target device 120 may include an I / O interface 126, a video decoder 124, and a display device 122. The I / O interface 126 may include a receiver and / or a modem. The I / O interface 126 may obtain encoded video data from the source device 110 or the storage medium / server 130B. The video decoder 124 may decode the encoded video data. The display device 122 may display the decoded video data to a user. The display device 122 may be integrated with the target device 120, or an external display device interface may be arranged outside the target device 120 so as to be connectable to the target device 120.
[0024] The video encoder 114 and the video decoder 124 may operate in accordance with video compression standards, such as the High Efficiency Video Coding (HEVC) standard, the Versatile Video Coding (VVC) standard, and other conventional and / or additional standards.
[0025] 2 is an example block diagram illustrating a video encoder 200 according to some embodiments of the present disclosure. The video encoder 200 may be an example of the video encoder 114 of the system 100 shown in FIG.
[0026] Video encoder 200 may be configured to implement any or all of the techniques described in this disclosure. In the example of FIG. 2, video encoder 200 includes multiple functional components. The techniques described in this disclosure may be shared among the components of video encoder 200. In some examples, a processor may be configured to execute any or all of the techniques described in this disclosure.
[0027] In some embodiments, the video encoder 200 may include a partitioning unit 201, a prediction unit 202, a residual generation unit 207, a transform unit 208, a quantization unit 209, an inverse quantization unit 210, an inverse transform unit 211, a reconstruction unit 212, a buffer 213, and an entropy encoding and decoding unit 214, and the prediction unit 202 may include a mode selection unit 203, a motion estimation unit 204, a motion compensation unit 205, and an intra-frame prediction unit 206.
[0028] In another example, the video encoder 200 may include more, less, or different functional components. In one embodiment, the prediction unit 202 may include an intra-block copy (IBC) unit. The IBC unit may perform prediction in an IBC mode. The at least one reference picture is the picture in which the current video block is located.
[0029] Furthermore, some components (eg, the motion estimation unit 204 and the motion compensation unit 205) can be aggregated, but for ease of interpretation, these components are shown separated in the example of FIG.
[0030] The division unit 201 may divide a picture into one or more video blocks. The video encoder 200 and the video decoder 300 may support various video block sizes.
[0031] The mode selection unit 203 may, for example, select one of various codec modes (intra-coded or inter-coded) based on the error result, and provide the resulting intra-coded or inter-coded block to the residual generation unit 207 to generate residual block data and provide it to the reconstruction unit 212 to reconstruct the coded block as a reference picture. In some examples, the mode selection unit 203 may select a combination of intra- and inter-prediction (CIIP) modes to predict based on the inter-prediction signal and the intra-prediction signal. For inter-prediction, the mode selection unit 203 may also select a resolution for the motion vector for the block (e.g., sub-pixel accuracy or integer pixel accuracy).
[0032] To perform inter-frame prediction for the current video block, motion estimation unit 204 may generate motion information for the current video block by comparing the current video block with one or more reference frames from buffer 213. Motion compensation unit 205 may identify a prediction video block for the current video block according to the motion information and decoded samples of pictures other than the picture associated with the current video block from buffer 213.
[0033] Motion estimation unit 204 and motion compensation unit 205 may perform different operations on a current video block depending on whether the current video block is in an I slice, a P slice, or a B slice. For example, an "I slice" as used herein may be a portion of a picture that is made up of macroblocks, all of which originate from macroblocks in the same picture. Additionally, as used herein, in some aspects, a "P slice" and a "B slice" may be portions of a picture that are made up of macroblocks other than those in the same picture.
[0034] In some examples, motion estimation unit 204 may perform unidirectional prediction on the current video block, and motion estimation unit 204 may search reference pictures in list 0 or list 1 to find a reference video block for the current video block. Motion estimation unit 204 may then generate a reference index indicating a reference picture containing the reference video block in list 0 or list 1, and a motion vector indicating a spatial displacement between the current video block and the reference video block. Motion estimation unit 204 may output the reference index, the prediction direction indicator, and the motion vector as motion information for the current video block. Motion compensation unit 205 may generate a prediction video block for the current video block according to the reference video block indicated in the motion information of the current video block.
[0035] Also, in another example, motion estimation unit 204 may perform bi-directional prediction for the current video block. Motion estimation unit 204 may search reference pictures in list 0 to find reference video blocks for the current video block, and may further search reference pictures in list 1 to find other reference video blocks for the current video block. Then, motion estimation unit 204 may generate a plurality of reference indexes indicating a plurality of reference pictures including the plurality of reference video blocks in list 0 and list 1, and a plurality of motion vectors indicating a plurality of spatial displacements between the plurality of reference video blocks and the current video block. Motion estimation unit 204 may output the plurality of reference indexes and the plurality of motion vectors of the current video block as motion information of the current video block. Motion compensation unit 205 may generate a prediction video block for the current video block according to the plurality of reference video blocks indicated in the motion information of the current video block.
[0036] In some examples, motion estimation unit 204 may output a complete set of motion information for use in the decoding process of a decoder. Alternatively, in some embodiments, motion estimation unit 204 may transmit the motion information of the current video block in a signal with reference to the motion information of other video blocks. For example, motion estimation unit 204 may determine that the motion information of the current video block and the motion information of a neighboring video block are sufficiently similar.
[0037] In one embodiment, the motion estimation unit 204 may indicate a value to the video decoder 300 in a grammar configuration associated with a current video block, which indicates that the current video block has the same motion information as other video blocks.
[0038] In another example, motion estimation unit 204 may identify a motion vector difference (MVD) in a grammar configuration associated with the current video block and other video blocks. The motion vector difference indicates a difference between the motion vector of the current video block and the motion vector of the indicated video block. Video decoder 300 may use the motion vector of the indicated video block and the motion vector difference to determine the motion vector of the current video block.
[0039] As described above, the video encoder 200 can signal motion vectors in a predictive manner. Two examples of predictive signaling techniques that the video encoder 200 can implement include advanced motion vector prediction (AMVP) and merge mode signaling.
[0040] Intra prediction unit 206 may perform intra prediction on the current video block. When intra prediction unit 206 performs intra prediction on the current video block, intra prediction unit 206 may generate prediction data for the current video block based on decoded samples of other video blocks in the same picture. The prediction data for the current video block may include a prediction video block and respective syntax elements.
[0041] Residual generation unit 207 may generate residual data for the current video block by subtracting (e.g., as indicated by a minus sign) the prediction video block(s) of the current video block from the current video block. The residual data for the current video block may include residual video blocks that correspond to different sample portions of the samples of the current video block.
[0042] In another example, for example in skip mode, residual data for the current video block may not be present and residual generation unit 207 may not perform a subtraction operation.
[0043] Transform processing unit 208 may apply one or more transforms to a residual video block related to the current video block, generating one or more transform coefficient video blocks for the current video block.
[0044] After transform processing unit 208 generates a transform coefficient video block associated with the current video block, quantization unit 209 may quantize the transform coefficient video block associated with the current video block based on one or more quantization parameter (QP) values associated with the current video block.
[0045] Inverse quantization unit 210 and inverse transform unit 211 may apply inverse quantization and inverse transformation, respectively, to the transform coefficient video block to reconstruct a residual video block from the transform coefficient video block. Reconstruction unit 212 may add the reconstructed residual video block to corresponding samples from one or more prediction video blocks generated by prediction unit 202 to result in a reconstructed video block related to the current video block, and store in buffer 213.
[0046] After reconstructing the video blocks, reconstruction unit 212 may perform loop filtering to reduce video block effect artifacts in the video blocks.
[0047] The entropy encoding and decoding unit 214 may receive data from other functional components of the video encoder 200. As the entropy encoding and decoding unit 214 receives the data, it may perform one or more entropy encoding operations to generate entropy encoded and decoded data, and output a bitstream including the entropy encoded and decoded data.
[0048] 3 illustrates an example block diagram of a video decoder 300 according to some embodiments of the present disclosure. The video decoder 300 may be an example of the video decoder 124 in the system 100 shown in FIG.
[0049] The video decoder 300 may be configured to perform any or all of the techniques described in this disclosure. In the example of FIG. 3, the video decoder 300 includes multiple functional components. The techniques described in this disclosure may be shared among the components of the video decoder 300. In some examples, a processor may be configured to perform any or all of the techniques described in this disclosure.
[0050] 3, the video decoder 300 includes an entropy decoding unit 301, a motion compensation unit 302, an intraframe prediction unit 303, an inverse quantization unit 304, an inverse transform unit 305, a reconstruction unit 306, and a buffer 307. In some examples, the video decoder 300 may perform a decoding process for the encoding process generally described for the video encoder 200.
[0051] The entropy decoding unit 301 can retrieve the encoded bitstream. The encoded bitstream may include entropy encoded video data (e.g., encoded video data blocks). The entropy decoding unit 301 can decode the entropy encoded video data, and the motion compensation unit 302 can determine motion information from the entropy decoded video data, including motion vectors, motion vector precision, reference picture list indexes, and other motion information. The motion compensation unit 302 can determine the information by, for example, performing AMVP and merge mode. AMVP is used including obtaining some most likely candidates from neighboring PB data and reference pictures. The motion information typically includes horizontal and vertical motion vector displacement values and one or two reference picture indexes, and further includes, in the case of prediction regions in B slices, an identification of which reference picture list is associated with each index. As used herein, in one aspect, "merge mode" may refer to deriving motion information from spatially or temporally neighboring blocks.
[0052] The motion compensation unit 302 may generate motion compensation blocks, possibly using an interpolation filter to perform the interpolation. An identifier of the interpolation filter used with sub-pixel precision may be included in the syntax element.
[0053] The motion compensation unit 302 may utilize an interpolation filter used by the video encoder 200 during encoding of the video block to calculate interpolated values for the sub-integer pixels of the reference block. The motion compensation unit 302 may determine the interpolation filter used by the video encoder 200 based on received syntax information, and the motion compensation unit 302 may utilize the interpolation filter to generate a prediction block.
[0054] The motion compensation unit 302 can utilize at least some syntax information to determine block sizes of frame(s) and / or slice(s) for encoding the encoded video sequence, partition information describing how each macroblock of a picture of the encoded video sequence is partitioned, a mode indicating how each partition is coded, one or more reference frames (and reference frame lists) for each inter-coded block, and other information for decoding the encoded video sequence. As used herein, in some aspects, a "slice" may be a data organization that is decodable independently from other slices of the same picture for entropy coding, signal prediction, and residual signal reconstruction. A slice may be an entire picture or a region of a picture.
[0055] The intra prediction unit 303 may form a prediction block from spatially adjacent blocks, for example, using an intra prediction pattern received in the bitstream. The inverse quantization unit 304 inverse quantizes (i.e., dequantizes) the quantized video block coefficients decoded by the entropy decoding unit 301, which are provided in the bitstream. The inverse transform unit 305 applies an inverse transform.
[0056] The reconstruction unit 306 may obtain a decoded block by, for example, adding the residual block and a corresponding prediction block generated by the motion compensation unit 302 or the intra prediction unit 303. If necessary, a deblocking effect filter may be applied to filter the decoded block to remove block effect artifacts. The decoded video block is then stored in a buffer 307, which provides a reference block for subsequent motion compensation / intra prediction, and which further generates the decoded video for presentation to a display device.
[0057] In the following, some exemplary embodiments of the present disclosure are described in detail. It should be noted that the headings of the chapters in this specification are used for ease of understanding and are not intended to limit the embodiments disclosed in a certain chapter to that chapter. Furthermore, although some embodiments are described with reference to a general-purpose video codec or other specific video codec, the disclosed techniques are also applicable to other video codec techniques. Furthermore, although in some embodiments, a video encoding step is described in detail, it should be understood that a corresponding decoding step for canceling the encoding is realized by a decoder. Furthermore, the term video processing includes video encoding or compression, video decoding or decompression, and video transcoding, which represents video pixels from one compressed format to another compressed format or at another compressed bit rate. 1. Overview This disclosure relates to video file formats, and in particular to picture-in-picture support in media files. These concepts can be applied individually or in various combinations to media file formats, such as the ISO Base Media File Format (ISOBMFF) or extensions thereof. 2.Background technology 2.1 Video Codec Standards Video codec standards have evolved primarily through the development of well-known ITU-T and ISO / IEC standards. ITU-T established H.261 and H.263, ISO / IEC established MPEG-1 and MPEG-4 Visual, and the two organizations jointly established H.262 / MPEG-2Video, H.264 / MPEG-4 Advanced Video Codec (AVC), and H.265 / HEVC standards. Since H.262, video codec standards have been based on hybrid video codec architectures using temporal prediction and transform codecs. To explore future video coding technologies beyond HEVC, VCEG and MPEG jointly founded the Joint Video Exploration Team (JVET) in 2015. Since then, JVET has adopted many new approaches and incorporated them into reference software called the Joint Exploration Model (JEM). With the official launch of the Generic Video Codec (VVC) project, JVET has changed its name to the Joint Video Experts Team (JVET). VVC is a new codec standard that was finalized at the 19th meeting of JVET, which ended on July 1, 2020, and aims to reduce the bitrate by 50% compared to HEVC. The Generic Video Codec (VVC) standard (ITU-T H.266 | ISO / IEC 23090-3) and the related Multifunctional Supplementary Enhancement Information (VSEI) standard (ITU-T H.274 | ISO / IEC 23002-7) are designed for use in the widest range of applications, including both traditional applications (e.g. television broadcast, videoconferencing or playback from storage media) and newer, more advanced applications (e.g. adaptive bitrate streaming, video region extraction, and content combining and merging of multiple encoded and decoded video bitstreams, multi-view video, enhancement layer codecs, and viewport-adaptive 360° immersive media). The Elementary Video Codec (EVC) standard (ISO / IEC 23094-1) is another video codec standard recently developed by MPEG. 2.2 File format standards Media stream applications are usually based on IP, TCP and HTTP transport methods and usually rely on file formats, e.g. ISO Base Media File Format (ISOBMFF). One of these streaming systems is Dynamic Adaptive Streaming over HTTP (DASH). To use video formats with ISOBMFF and DASH, video format specific file format standards, e.g. AVC file format and HEVC file format, are needed to encapsulate the video content into ISOBMFF tracks and DASH representations or clips. Important information about the video bitstream, e.g. profile, layer, class and many other information, needs to be exposed as file format class metadata and / or DASH Media Presentation Description (MPD) for content selection purposes, e.g. selection of appropriate media clips both for initialization at streaming session start and for streaming adaptation during streaming session. Similarly, use of the ISOBMFF image format requires an image format-specific file format standard, for example, the AVC image file format and the HEVC image file format. A VVC video file format for storing VVC video content based on ISOBMFF is currently being developed by MPEG. A VVC image file format for storing VVC encoded image content based on ISOBMFF is currently being developed by MPEG. 2.3 Picture division and sub-pictures in VVC In VVC, a picture is divided into one or more tile rows and one or more tile columns. A tile is a sequence of CTUs that is a rectangular region covering the picture. The CTUs in a tile are scanned in raster scan order in the tile. A slice consists of an integer number of complete tiles or an integer number of contiguous complete CTU rows within a tile of a picture. Two slice modes are supported: raster scan slice mode and rectangular slice mode. In raster scan slice mode, a slice contains a complete sequence of tiles in the tile raster scan of the picture. In rectangular slice mode, a slice contains multiple complete tiles that together form a rectangular area of the picture, or multiple consecutive complete CTU rows of one tile that together form a rectangular area of the picture. The tiles in a rectangular slice are scanned in tile raster scan order within the rectangular area corresponding to the slice. A subpicture contains one or more slices that together cover a rectangular area of the picture. 2.3.1 Subpicture Concept and Function In VVC, each sub-picture consists of one or more complete rectangular slices that jointly cover a rectangular region of the picture, as shown, for example, in Figure 4. Sub-pictures may be qualified as extractable (i.e., encoded and decoded independently of other sub-pictures of the same picture and other sub-pictures of previous pictures in the decoding order) or non-extractable. Regardless of whether a sub-picture is extractable or non-extractable, the encoder can control whether to apply loop filtering (including deblocking, SAO and ALF) across sub-picture boundaries individually for each sub-picture. Functionally, subpictures are similar to motion-constrained tilesets (MCTS) in HEVC: both allow independent codecs and extraction of rectangular subsets of the coded and decoded picture sequence for applications such as viewport-related 360° video stream optimization and region of interest (ROI) applications. In a 360° video stream (aka omnidirectional video), at any particular time, only a subset (i.e., the current viewport) of the entire omnidirectional video sphere is presented to the user, and the user can at any time change his / her viewing direction and current viewport by rotating his / her head. At the same time, it is desirable to have some lower quality representations, at least for areas not covered by the current viewport of the client terminal, ready to be rendered to the user so as to prevent the user from suddenly changing his / her viewing direction to any position on the sphere. At any given time, a high quality representation of the omnidirectional video on the sphere is only needed for the current viewport that needs to be rendered to the user. Such optimization can be achieved by splitting the high quality representation of the entire omnidirectional video into sub-pictures with a suitable granularity, as shown in FIG. 4, where FIG. 4 has 12 sub-pictures with high resolution located on the left side and the remaining 12 sub-pictures of the omnidirectional video with low resolution located on the right side. Another representative sub-picture based viewport-related 360° video delivery scheme is shown in Fig. 5, where only a high-resolution representation of the complete video is composed of sub-pictures, while a low-resolution representation of the complete video can be encoded and decoded without sub-pictures and with less frequent RAPs than the high-resolution representation. At the client terminal, the complete low-resolution video is received, but for the high-resolution video, only the sub-pictures that cover the current viewport are received and decoded. 2.3.2 Differences between Subpicture and MCTS There are some important design differences between subpictures and MCTS. First, like picture boundaries, the VVC subpicture feature allows the motion vectors of coding blocks to point outside the subpicture. Even in this case, subpictures can be extracted by applying sample padding at the subpicture boundaries. Second, during merge mode and VVC decoder-side motion refinement, the selection and export of motion vectors introduces additional variation. Compared to unorthodox motion constraints applied at the MCTS encoder side, higher codec efficiency is possible. Third, when extracting one or more extractable subpictures from an image sequence to create a subbitstream (which is a coherent bitstream), there is no need to rewrite the SH (and PHNAL units, if present). In HEVC MCTS-based subbitstream extraction, SH rewriting is required. Note that SPS and PPS need to be rewritten in both HEVC MCTS extraction and VVC subpicture extraction. However, since a bitstream generally has only a few parameter sets and each picture has at least one slice, rewriting the SH imposes a heavy burden on the application system. Fourth, slices of different subpictures in a picture may have different NAL unit types. As will be explained in more detail below, this is a feature commonly referred to as mixed NAL unit types or mixed subpicture types in a picture. Fifth, because VVC specifies the HRD and level definition of subpicture sequences, an encoder can ensure the consistency of subbitstreams of each extractable subpicture sequence. 2.3.3 About Mixed Subpicture Types of Pictures In AVC and HEVC, all VCL NAL units in a picture are required to have the same NAL unit type. VVC introduces the option for pictures to have mixed subpictures with different VCL NAL unit types to support random access not only at the picture level but also at the subpicture level. In VVC, VCL NAL units in subpictures are still required to have the same NAL unit type. The random access feature from IRAP sub-pictures is advantageous for 360° video applications. In a viewport-dependent 360° video-like distribution scheme shown in FIG. 5, the contents of spatially adjacent viewports overlap significantly, i.e., during a viewport orientation change, only a small portion of the sub-pictures in the viewport are replaced by new sub-pictures, while the majority of the sub-pictures remain in the viewport. Although the sequence of sub-pictures newly introduced in the viewport must be disclosed from IRAP slices, a significant reduction in the overall transmission bitrate can be achieved if the remaining sub-pictures are allowed to perform inter-frame prediction during the viewport change. An indication of whether a picture contains only a single type of NAL unit or multiple types is provided in the referenced PPS of the picture (i.e., using the flag pps_mixed_nalu_types_in_pic_flag). A picture can consist of a sub-picture containing an IRAP slice and a sub-picture containing a following slice. Several other combinations of different NAL unit types are possible in a picture, including preceding picture slices of NAL unit types RASL and RADL. This allows merging sub-picture sequences with open-GOP and close-GOP codec structures extracted from different bitstreams into one bitstream. 2.3.4 Subpicture Layout and ID Signaling The layout of VVC subpictures is not changed in CLVS because it is signaled in SPS. Each subpicture is represented by the position of its upper left corner CTU and the width and height of multiple CTUs, so a subpicture occupies a rectangular area that covers the picture with CTU granularity. The index of each subpicture within a picture is determined by the subpicture order signaled in SPS. To be able to extract and merge subpicture sequences without rewriting SH or PH, the slice addressing scheme in VVC associates slices with subpictures based on the subpicture ID and the specific slice index of the subpicture. In SH, the subpicture ID of the subpicture containing the slice and the subpicture level slice index are signaled. Note that the value of the subpicture ID of a specific subpicture may be different from the value of its subpicture index. The mapping between both is signaled or implicitly inferred in the SPS or PPS (but not both). If the subpicture ID mapping exists, it needs to be rewritten or added when rewriting the SPS and PPS during the subpicture sub-bitstream extraction process. The subpicture ID together with the subpicture level slice index indicates to the decoder the exact location of the first decoded CTU of the slice within the DPB time slit of the decoded image. After the extraction of the subbitstream, the subpicture ID of the subpicture does not change, but the subpicture index may change. Even if the raster scan CTU address of the first CTU in a slice of a subpicture changes compared to the value in the original bitstream, the unchanged subpicture ID and subpicture level slice index in the corresponding SH correctly determine the location of each CTU in the decoded image of the extracted subbitstream. Figure 6 illustrates the extraction of subpictures using the subpicture ID, subpicture index and subpicture level slice index by an example including two subpictures and four slices. Similar to sub-picture extraction, for sub-picture signaling, assuming that different bitstreams are generated in a coordinated manner (e.g., they use different sub-picture IDs, but otherwise often have aligned SPS, PPS and PH parameters such as CTU dimensions, chroma format, codec tools, etc.), multiple sub-pictures from different bitstreams can be merged into a single bitstream by rewriting only the SPS and PPS. Although subpictures and slices are signaled independently in the SPS and PPS, respectively, there are inherent mutual constraints between subpicture and slice layouts in order to form a coherent bitstream. First, the existence of subpictures requires the use of rectangular slices and prohibits raster scan slices. Second, the slices of a given subpicture must be consecutive NAL units in decoding order. This means that the subpicture layout restricts the order of the coded and decoded slice NAL units in the bitstream. 2.4 Picture-in-Picture Service Picture-in-picture services provide the ability to include a lower resolution picture within a higher resolution picture. Such services can simultaneously display two videos to the user, the higher resolution video being the primary video and the lower resolution video being the supplemental video. Such picture-in-picture services are used to provide accessibility services, where the primary video is supplemented with a signage video. VVC sub-pictures are used for picture-in-picture services by taking advantage of their extraction and merging properties. In such services, a primary video is encoded with multiple sub-pictures, one of which is the same size as the supplemental video, located at the exact location where the supplemental video is to be composited into the primary video, and is encoded separately and extractably. When a user watches a version of the service that includes supplemental video, the sub-pictures corresponding to the picture-in-picture areas of the primary video are extracted from the primary video bitstream, and the supplemental video bitstream is merged into its location in the primary video bitstream, as shown in Figure 7. Figure 7 shows an example of picture-in-picture support with VVC sub-pictures. In this case, the pictures of the primary and supplemental video must share the same video characteristics, in particular the bit depth, sample aspect ratio, size, frame rate, color space, transmission characteristics, and chroma sample positions. The primary and supplemental video bitstreams do not need to use NAL unit types for each picture. However, merging requires that the pictures of the primary and supplemental bitstreams are encoded and decoded in the same order. In this disclosure, since merging subpictures is required, the subpicture IDs used in the primary video and the supplemental video must not overlap. Even if the supplemental video bitstream does not have any other tile or slice division and is composed of only one subpicture, the supplemental video bitstream must be merged into the primary video bitstream by signaling the subpicture information, especially the subpicture ID and the subpicture ID length. The subpicture ID length of the subpicture syntax element in the slice NAL unit for signaling the supplemental video bitstream must be the same as the subpicture ID length of the subpicture ID in the slice NAL unit for signaling the primary video bitstream. Also, to simplify the merging of the supplemental video bitstream and the primary video bitstream without rewriting the PPS division information, it is beneficial to code the supplemental video using only one slice and one tile in the corresponding area of the primary video. The primary video bitstream and the auxiliary video bitstream must signal the same codec tools used in the SPS, PPS, and picture header. This includes using the same maximum allowed size, minimum allowed size for block partitioning, and the same value of the initial quantization parameter indicated in the PPS (same value as the pps_init_qp_minus26 syntax element). The codec tool usage can be changed at the slice header level. When a main bitstream and a supplemental bitstream are available in an ISOBMFF-based media file, they can be stored in two separate file format tracks. 3.Problems The following issues have been identified when supporting picture-in-picture in ISOBMFF-based media files: 1) Although different file format tracks can be used to store each of the picture-in-picture primary and supplemental bitstreams, there is a lack of a mechanism to indicate such track pairs within an ISOBMFF-based media file. 2) Although VVC sub-pictures can be used to provide a picture-in-picture experience, other decoders and methods may be used if, for example, coded video data units indicating target picture-in-picture regions in the primary video cannot be replaced with corresponding video data units in the supplemental video as described above, and therefore, it is necessary to indicate in the ISOBMFF-based media file whether such replacement is possible. 3) If the above-mentioned replacement is possible, the client terminal must know which of the coded and decoded video data units in each picture of the primary video represents an image area in the target view before it can perform the replacement, so in this case it is necessary to signal this information in the ISOBMFF-based media file. 4) For content selection purposes and other possible purposes, it is useful to signal the location and size of the target picture-in-picture area in the main video in an ISOBMFF-based media file. 4. Exemplary Embodiments In order to solve the above-mentioned problems, the method generally described below is disclosed. It should be noted that the present embodiment should not be understood as a limiting example for illustrating a general concept. Furthermore, the embodiments may be applied individually or in any combination. For convenience, a pair of tracks carrying a main bitstream and a supplemental bitstream that jointly provide a picture-in-picture experience is referred to as a pair of picture-in-picture tracks or a pair of picture-in-picture tracks. 1) To solve the first problem, a new track reference type is defined such that a track contains a track reference and indicates that the track referenced by the track reference is a pair of picture-in-picture tracks. a. In one embodiment, such a new type of track reference is indicated by a track reference type equal to a particular value, e.g., "pips" (meaning "references a picture-in-picture supplemental bitstream"), and the track containing the track reference carries the main bitstream and the track referenced by the track reference carries the supplemental bitstream. b. In another example, the new type of this track reference is indicated by a track reference type equal to a particular value, e.g., "pipm" (meaning "references picture-in-picture main bitstream"), and the track containing the track reference carries the supplemental bitstream and the track referenced by the track reference carries the main bitstream. c. In yet another example, two track reference types as described above are defined. 2) To solve the first and second problems, two new types of track references are defined for inclusion in tracks carrying the primary bitstream: one points to a pair of picture-in-picture tracks that allow for the replacement of coded video data units indicating target picture-in-picture areas in the primary video with corresponding video data units of the supplemental bitstream, and the other points to a pair of picture-in-picture tracks that do not allow for such replacement of video data units. a. In one embodiment, the two new types of track references are indicated by track reference type values equal to "ppsr" (meaning "references a picture-in-picture supplemental bitstream that allows video data unit interleaving") and "ppsn" (meaning "picture-in-picture supplemental bitstream that does not allow video data unit interleaving"). 3) Alternatively, to solve the first and second problems, two new types of track references are defined for inclusion in tracks carrying the supplementary bitstream, one of which points to a pair of picture-in-picture tracks that allow for replacement of encoded and decoded video data units indicating target picture-in-picture areas in the main video with corresponding video data units of the supplementary bitstream, and the other of which points to a pair of picture-in-picture tracks that do not allow for such replacement of video data units. a. In one embodiment, the two new types of track references are indicated by track reference type values equal to "ppmr" (meaning "references a picture-in-picture main bitstream that allows for video data unit interchanging") and "ppmn" (meaning "references a picture-in-picture main bitstream that does not allow for video data unit interchanging"). 4) Alternatively, to solve the first and second problems, new types of track references of the four kinds are defined as described in the second and third paragraphs above. 5) To solve the above four problems, a new type of entity grouping is defined, which is explained in detail below. a. The new type of entity grouping is named Picture-in-Picture entity grouping with its grouping_type equal to "pinp" (or a different name or a different grouping type value, but with similar functionality, as described below). b. One embodiment specifies that each entity in an entity group must be a video track. c. PicInPicEntityGroupBox is defined by extending EntityToGroupBox and carries at least one or more of the following information: i. The number of primary bitstream tracks is N. The entities (i.e., tracks here) identified by the first N entity_id values in the EntityToGroupBox are primary bitstream tracks, and those identified by other entity_id values in the entity EntityToGroupBox are supplemental bitstream tracks. To play a picture-in-picture experience, one primary bitstream track in the primary bitstream tracks is selected, and one supplemental bitstream track in the supplemental bitstream tracks is selected. 1. Alternatively, the primary bitstream track is signaled via an index list in the Entity_id value list in the EntityToGroupBox, and other entities / tracks in the entity group are supplemental bitstream tracks. 2. Alternatively, the main bitstream track is signaled via a track_id value list, and other entities / tracks in the entity group are supplemental bitstream tracks. ii. An indication to indicate whether a coded and decoded video data unit representing a target picture-in-picture area in the primary video can be replaced with a corresponding video data unit in the supplemental video. 1. In one embodiment, the indication is signaled with a one-bit flag called data_units_replacable, where values 1 and 0 indicate that this video data unit replacement is enabled and not enabled, respectively. iii. A region ID list for indicating which of the coded and decoded video data units in each picture of the primary video indicate target picture-in-picture regions. 1. In one embodiment, it is specified that for a particular video decoder, certain semantics of region IDs must be explicitly specified. a. In one embodiment, it is defined as follows: for VVC, the region IDs are sub-picture IDs and the coded and decoded video data units are VCL NAL units. The VCL NAL units indicating the target picture-in-picture region in the primary video are the VCL NAL units with these sub-picture IDs, which are the same as the sub-picture IDs in the corresponding VCL NAL units in the supplemental video (generally, all VCL NAL units of one screen in the supplemental video share the same sub-picture IDs that are explicitly signaled, in which case there is only one region ID in the list of region IDs). b. In one embodiment, it is specified as follows: In the case of VVC, if the client terminal selects to replace the encoded and decoded video data units (i.e., VCL NAL units) indicating the target picture-in-picture area in the primary video with the corresponding VCL NAL units of the supplemental video before transmission to the video decoder, then, for each sub-picture ID, replace the VCL NAL units in the primary video with the corresponding VCL NAL units of that sub-picture ID in the supplemental video without changing the order of the corresponding VCL NAL units. iv. The location and size in the main video for embedding / overlapping the supplemental video is smaller in size than the main video. 1. In one embodiment, it is signaled with four values (x, y, width, height), where x, y specify the location of the top left corner of the region, and width and height specify the width and height of the region. The units may be luma samples / pixel. 2. In one embodiment, it is specified that if data_units_replacable is equal to 1 and position and size information is present, the position and size should correctly point to the target picture-in-picture area in the main video. 3. In one embodiment, if data_units_replacable is equal to 0 and position and size information is present, the position and size information is defined to indicate a preferred area for embedding and covering the supplemental video (i.e., the client terminal can choose to overlay the supplemental video on a different area of the main video). 4. In one embodiment, if data_units_replacable is equal to 0 and there is no position and size information, it specifies that there is no information or recommendation on where to cover the supplemental video and it is entirely up to the client's choice. 5. Embodiment The following are some example embodiment embodiments of item 5 and some of the subitems generally described in section 4 above. These embodiments are applicable to ISOBMFF. 5.1 About Picture-in-Picture Entity Grouping 5.1.1 Definitions The picture-in-picture service provides the ability to include a lower spatial resolution video in a higher spatial resolution video, referred to as the supplemental video and the primary video, respectively. Tracks in the same entity group with grouping_type equal to "pinp" are used to support the picture-in-picture service by selecting one track from the tracks designated to contain the primary video and one track (containing the supplemental video) from the other tracks. All entities within a picture-in-picture entity group should be video tracks. 5.1.2 Syntax aligned(8)classSPicInPicEntityGroupBoxextendSEntityToGroupBox("pinp",0,0){ unsigneDint(8)num_main_video_tracks; unsigneDint(1)data_units_replacable; unsigneDint(1)pinp_window_info_present; bit(6)reserveD=0; if(data_units_replacable) { unsigneDint(8)num_region_ids; for(i=0;i <num_region_ids;i++) unsigneDint(16)region_id[i]; } if(pinp_window_info_present) { unsigneDint(16)x; unsigneDint(16)y; unsigneDint(16)width; unsigneDint(16)height; } } 5.1.3 About Semantics num_main_video_tracks specifies the number of tracks carrying picture-in-picture main video in that entity group. data_units_replacable indicates whether the coded and decoded video data units in the primary video that indicate the target picture-in-picture region can be replaced with corresponding video data units in the supplemental video. A value of 1 indicates that such video data units can be replaced, and a value of 0 indicates that such video data units cannot be replaced. When data_units_replacable is equal to 1, the player can choose to replace the coded and decoded video data units indicating the target picture-in-picture area in the primary video with the corresponding coded and decoded video data units in the supplemental video before being sent to the video decoder for decoding. In this case, for a particular picture in the primary video, the corresponding video data units in the supplemental video are all of the coded and decoded video data units in the decoding time synchronization samples in the supplemental video track. In the case of VVC, when the client terminal chooses to replace the coded and decoded video data units (i.e., VCL NAL units) indicating the target picture-in-picture area in the primary video with the corresponding VCL NAL units in the supplemental video before being sent to the video decoder, for each sub-picture ID, the VCL NAL units in the primary video are replaced with the corresponding VCL NAL units having that sub-picture ID in the supplemental video without changing the order of the corresponding VCL NAL units. pinp_window_info_present equal to 1 specifies that the fields x, y, width and height are present. A value of 0 specifies that these fields are not present. num_region_ids specifies the number of subsequent fields Region_id[i]. region_id[i] specifies the i-th ID of the coded or decoded video data unit indicating the target picture-in-picture region. For a particular video decoder, the particular semantics of region IDs need to be explicitly specified. For VVC, region IDs are sub-picture IDs, and the coded and decoded video data units are VCL NAL units. The VCL NAL units that indicate the target picture-in-picture region in the primary video are the VCL NAL units with these sub-picture IDs, which are the same as the sub-picture IDs in the corresponding VCL NAL units of the supplemental video. x specifies the horizontal position, in units of video pixels (samples), of the coded video pixel (sample) that is located in the top-left corner of the target picture-in-picture area in the primary video. y specifies the vertical position, in units of video pixels (samples), of the coded video pixel (sample) that is located in the top-left corner of the destination picture-in-picture area in the primary video. Width specifies the width of the target picture-in-picture area in the main video, in units of video pixels (samples). Height specifies the height of the target picture-in-picture area in the main video, in units of video pixels (samples).
[0058] Embodiments of the present disclosure relate to file format designs to support a type of picture-in-picture (PiP) service. As used herein, a "picture-in-picture (PiP) service" provides the ability to include a lower spatial resolution video (also referred to as a "supplemental video" or "PiP video") within a higher spatial resolution video (also referred to as the "primary video").
[0059] FIG. 8 illustrates a flow diagram of a method 800 for processing a video according to some embodiments of the present disclosure. The method 800 can be implemented in a client terminal or a server. The term "client terminal" used herein may refer to a piece of computer hardware or software that accesses a service provided by a server in a client terminal-server model as a computer network. For example, the client terminal may be a smartphone or a tablet. The term "server" used herein may refer to a device with computing capabilities. In this case, the client terminal accesses the server via a network. The server may be a physical or virtual computer device.
[0060] As shown in FIG. 8, the method 800 starts at block 802, where a conversion is performed between a media file of a first video and a bitstream of the first video. The media file includes a first instruction for indicating whether a first group of encoded and decoded video data units indicating a target picture-in-picture region in the first video can be replaced with a second group of encoded and decoded video data units associated with a second video. For example, the first instruction may include a one-bit flag. In one example, if the flag is a first value (e.g., 1), the first group of encoded and decoded video data units can be replaced with the second group of encoded and decoded video data units, and if the flag is a second value (e.g., 0), the first group of encoded and decoded video data units cannot be replaced with the second group of encoded and decoded video data units. It should be understood that the above examples are for illustrative purposes only. The scope of the present disclosure is not limited thereto.
[0061] According to the method 800, an indication is employed to indicate whether an encoded and decoded video data unit indicating an image region in a target picture in a first video can be replaced with an associated encoded and decoded video data unit in a second video, thereby making the proposed method easily possible to support picture-in-picture services in ISOBMFF based media files.
[0062] In some embodiments, the spatial resolution of the second video is lower than the spatial resolution of the first video, ie, the second video is a supplemental video and the first video is a primary video.
[0063] In some embodiments, the first indication may include a first track reference indicating a track carrying a bitstream of a second video. For example, if the first track reference has a first type, the first group of encoded and decoded video data units are interchangeable with the second group of encoded and decoded video data units, and if the first track reference has a second type, the first group of encoded and decoded video data units are not interchangeable with the second group of encoded and decoded video data units. In one embodiment, the first track reference of the first type is a "ppsr" track reference and the first track reference of the second type is a "ppsn" track reference. It should be understood that the above examples are for illustrative purposes only. The scope of the present disclosure is not limited thereto.
[0064] In some embodiments, the media file of the second video includes a second instruction for indicating whether the first group of encoded and decoded video data units are replaceable with the second group of encoded and decoded video data units. For example, the second instruction includes a second track reference indicating a track carrying the bitstream of the first video. If the second track reference has a third type, the first group of encoded and decoded video data units are replaceable with the second group of encoded and decoded video data units, and if the second track reference has a fourth type, the first group of encoded and decoded video data units are not replaceable with the second group of encoded and decoded video data units. In one embodiment, the third type of second track reference is a "ppmr" track reference, and the fourth type of second track reference is a "ppmn" track reference. It should be understood that the above examples are for illustrative purposes only. The scope of the present disclosure is not limited thereto.
[0065] In some embodiments, the first group of encoded and decoded video data units includes Video Deck Network Abstraction Layer (VCL NAL) units and the second group of encoded and decoded video data units includes VCL NAL units.
[0066] In some embodiments, converting includes creating a media file and storing the bitstream in the media file. Alternatively or additionally, in some embodiments, converting includes parsing the media file and reconstructing the bitstream.
[0067] In some embodiments, the bitstream of the first video can be stored on a non-transitory computer-readable recording medium. The bitstream of the first video can be generated by a method executed on a video processing device, the method performing a conversion between a media file of the first video and the bitstream of the first video, the media file including a first instruction for indicating whether a first group of encoded and decoded video data units indicating a target picture-in-picture region in the first video can be replaced with a second group of encoded and decoded video data units associated with the second video.
[0068] In some embodiments, a conversion between a media file of a first video and a bitstream is performed, the media file including a first instruction for indicating whether a first group of encoded and decoded video data units indicating a target picture-in-picture region in the first video can be replaced with a second group of encoded and decoded video data units associated with a second video, the bitstream being storable on a non-transitory computer-readable storage medium.
[0069] In some embodiments, the media file of the first video can be stored on a non-transitory computer-readable storage medium. The media file of the first video can be generated by a method executed on a video processing device, the method performing a conversion between the media file of the first video and a bitstream of the first video, the media file including a first instruction for indicating whether a first group of encoded and decoded video data units indicating a target picture-in-picture region in the first video can be replaced with a second group of encoded and decoded video data units associated with the second video.
[0070] In some embodiments, a conversion between a media file of a first video and a bitstream is performed, the media file including a first instruction for indicating whether a first group of encoded and decoded video data units indicating a target picture-in-picture region in the first video can be replaced with a second group of encoded and decoded video data units associated with a second video, the media file being storable on a non-transitory computer-readable storage medium.
[0071] Embodiments of the present disclosure can be described based on the following clauses, and the features according to these clauses can be combined in any reasonable manner.
[0072] Clause 1. A method for processing video, comprising performing a conversion between a media file of a first video and a bitstream of the first video, the media file comprising a first instruction for indicating whether a first group of encoded and decoded video data units indicating a target picture-in-picture region in the first video are replaceable with a second group of encoded and decoded video data units relating to a second video.
[0073] Clause 2. The method of clause 1, wherein the spatial resolution of the second video is lower than the spatial resolution of the first video.
[0074] Clause 3. The method according to any one of clauses 1 to 2, wherein the first instruction includes a one-bit flag.
[0075] Clause 4. The method of clause 3, wherein if the flag has a first value, the coded and decoded video data units of the first group are interchangeable with the coded and decoded video data units of the second group, and if the flag has a second value, the coded and decoded video data units of the first group are not interchangeable with the coded and decoded video data units of the second group.
[0076] Clause 5. The method according to any one of clauses 1 to 2, wherein the first instruction includes a first track reference indicating a track carrying a bitstream of the second video.
[0077] Clause 6. The method of clause 5, wherein if the first track reference has a first type, the coded and decoded video data units of the first group are interchangeable with the coded and decoded video data units of the second group, and if the first track reference has a second type, the coded and decoded video data units of the first group are not interchangeable with the coded and decoded video data units of the second group.
[0078] Clause 7. The method of clause 6, wherein the first track reference of the first type is a "ppsr" track reference and the first track reference of the first type is a "ppsn" track reference.
[0079] Clause 8. A method according to any one of clauses 5 to 7, wherein the media file of the second video includes a second instruction for indicating whether the first group of coded and decoded video data units can be replaced by the second group of coded and decoded video data units.
[0080] Clause 9. The method of clause 8, wherein the second instructions include a second track reference indicating a track carrying a bitstream of the first video.
[0081] Clause 10. The method of clause 9, wherein if the second track reference has a third type, the coded and decoded video data units of the first group are replaceable with the coded and decoded video data units of the second group, and if the second track reference has a fourth type, the coded and decoded video data units of the first group are not replaceable with the coded and decoded video data units of the second group.
[0082] Clause 11. The method of clause 10, wherein the second track reference of the third type is a "ppmr" track reference and the second track reference of the fourth type is a "ppmn" track reference.
[0083] Clause 12. The method according to any one of clauses 1 to 11, wherein the first group of encoded and decoded video data units comprises Video Codec Layer Network Abstraction Layer (VCL NAL) units and the second group of encoded and decoded video data units comprises VCL NAL units.
[0084] Clause 13. The method of any one of clauses 1 to 12, wherein the converting comprises creating a media file and storing the bitstream in the media file.
[0085] Clause 14. The method of any one of clauses 1 to 12, wherein the conversion comprises parsing the media file and reconstructing the bitstream.
[0086] Clause 15. An apparatus for processing video data, comprising a processor and a non-transitory memory storing instructions which, when executed by the processor, cause the processor to perform a method according to any one of clauses 1 to 14.
[0087] Clause 16. A non-transitory computer-readable storage medium for storing instructions that cause a processor to perform the method according to any one of clauses 1 to 14.
[0088] Clause 17. A non-transitory computer-readable recording medium storing a bitstream of a first video generated by a method performed in a video processing device, the method including performing a conversion between a media file of the first video and the bitstream, the media file including first instructions for indicating whether a first group of encoded and decoded video data units indicating a target picture-in-picture region in the first video are replaceable with a second group of encoded and decoded video data units associated with the second video.
[0089] Clause 18. A method for storing a bitstream of a first video, comprising: performing a conversion between a media file of the first video and the bitstream; and storing the bitstream on a non-transitory computer-readable recording medium, wherein the media file comprises first instructions for indicating whether a first group of encoded and decoded video data units indicating a target picture-in-picture area in the first video can be replaced with a second group of encoded and decoded video data units associated with the second video.
[0090] Clause 19. A non-transitory computer-readable recording medium storing a media file of a first video generated by a method performed in a video processing device, the method including performing a conversion between the media file and a bitstream of the first video, the media file including first instructions for indicating whether a first group of encoded and decoded video data units indicating a target picture-in-picture region in the first video are replaceable with a second group of encoded and decoded video data units associated with the second video.
[0091] Clause 20. A method for storing a media file of a first video, comprising: performing a conversion between the media file and a bitstream of the first video; and storing the media file on a non-transitory computer-readable recording medium, wherein the media file comprises first instructions for indicating whether a first group of encoded and decoded video data units indicating a target picture-in-picture region in the first video are replaceable with a second group of encoded and decoded video data units associated with the second video.
[0092] Equipment example 9 illustrates a block diagram of a computing device 900 capable of implementing embodiments of the present disclosure. The computing device 900 may be configured as or included within the source device 110 (or video encoder 114 or 200) or the target device 120 (or video decoder 124 or 300).
[0093] It should be understood that the computing device 900 depicted in FIG. 9 is for illustrative purposes only and is not intended to suggest any limitation on the functionality and scope of the embodiments of the present disclosure.
[0094] 9, the computing device 900 includes a general purpose computing device 900. The computing device 900 may include at least one or more processors or processing units 910, memory 920, storage 930, one or more communication units 940, one or more input devices 950, and one or more output devices 960.
[0095] In some embodiments, the computing device 900 may be configured as any user terminal or server terminal having computing capabilities. The server terminal may be a server provided by a service provider, a large computer device, etc. The user terminal may be any type of mobile, fixed, or handheld terminal, including, for example, a mobile phone, a station, a unit, a device, a multimedia computer, a multimedia tablet computer, an Internet node, a communicator, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a personal communication system (PCS) device, a personal navigation device, a personal digital assistant (PDA), an audio / video player, a digital camera / camcorder, a locator device, a television receiver, a radio broadcast receiver, an electronic paper device, a gaming device, or any combination thereof, as well as attachments and peripherals of these devices, or any combination thereof. It is envisioned that the computing device 900 can accommodate any type of user interface (e.g., a "wearable" circuit device, etc.).
[0096] The processing unit 910 may be a physical processor or a virtual processor, and realizes various processes according to programs stored in the memory 920. In a multiprocessor system, multiple processing units execute computer-executable instructions in parallel to improve the parallel processing capability of the computer device 900. The processing unit 910 may also be called a central processing unit (CPU), a microprocessor, a controller, or a microcontroller.
[0097] Computing device 900 typically includes a variety of computer storage media. Such media may be any media accessible by computing device 900, including, for example, volatile and non-volatile media, or removable and non-removable media. Memory 920 may be volatile memory (e.g., registers, cache, random access memory (RAM)), non-volatile memory (e.g., read only memory (ROM), electrically erasable programmable read only memory (EEPROM) or flash memory), or any combination thereof. Storage device 930 may be any removable or non-removable media, including, for example, memory, flash drives, machine readable media such as disks, or other media used to store information and / or data and accessible by computing device 900.
[0098] The computer device 900 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not shown in Fig. 9, a removable non-volatile disk disk driver for reading and / or writing from a removable non-volatile disk, and a removable non-volatile disk disk driver for reading and / or writing from a removable non-volatile disk may be provided. In this case, each driver may be connected to a bus (not shown) via one or more data medium interfaces.
[0099] The communication unit 940 further communicates with other computing devices via a communication medium. Also, the functionality of the components in the computing device 900 may be implemented by a single computing cluster or multiple computing machines that can communicate via a communication connection. Thus, the computing device 900 may utilize logical connections to one or more other servers, networked personal computers (PCs), or other general-purpose network nodes to operate in a networked environment.
[0100] The input device 950 may be one or more of various input devices, such as, for example, a mouse, a keyboard, a trackball, a voice input device, etc. The output device 960 may be one or more of various output devices, such as, for example, a display, a speaker, a printer, etc. The computing device 900 may communicate with one or more external devices (not shown) via the communication unit 940, such as, for example, a storage device and a display device, and the computing device 900 may communicate with one or more devices with which a user can interact with the computing device 900, as necessary, or with any device (e.g., a network card, a modem, etc.) that allows the computing device 900 to communicate with one or more other computing devices. Such communication is performed via an input / output (I / O) interface (not shown).
[0101] In some embodiments, some or all of the components of the computing device 900 may be located in a cloud computing architecture rather than being integrated in a single device. In a cloud computing architecture, the components may be provided remotely and cooperate to provide the functionality described in this disclosure. In some embodiments, cloud computing provides computing, software, data access, and storage services without the end user needing to be aware of the physical location or placement of the systems or hardware providing these services. In each embodiment, cloud computing provides services over a wide area network (e.g., the Internet) using an appropriate protocol. For example, a cloud computing operator provides applications accessible through a web browser or any other computing component over the wide area network. The software or components of the cloud computing architecture and corresponding data may be stored on a remote server. Computing sources in a cloud computing environment may be aggregated or distributed at a remote data center location. The cloud computing infrastructure may act as a single access point for users, but provide services through a data center. Thus, a cloud computing architecture may be used to provide the components and functions described herein from a remote service operator. Alternatively, they may be provided by a traditional server or installed on a client terminal device.
[0102] In an embodiment of the present disclosure, the computing device 900 can be used to implement video encoding / decoding. The memory 920 may include one or more video codec modules 925 having one or more program instructions. These modules can be accessed and executed by the processing unit 910 to perform the functions of the embodiments described herein.
[0103] In an example embodiment performing video encoding, the input device 950 may receive video data as an input 970 to be encoded. The video data may be processed, for example, by the video codec module 925 to generate an encoded bitstream. The encoded bitstream may be provided as an output 980 via the output device 960.
[0104] In an example embodiment performing video decoding, the input device 950 may receive an encoded bitstream as an input 970. The encoded bitstream may be processed, for example by the video codec module 925, to generate decoded video data. The decoded video data may be provided as output 980 via the output device 960.
[0105] Although the present disclosure has been shown and described in detail with reference to the preferred embodiments thereof, those skilled in the art will understand that various changes in form and details may be made therein without departing from the spirit and scope of the present application as defined by the appended claims. These changes are intended to be covered by the scope of the present application. Thus, the above description of the embodiments of the present application is not intended to be limiting.
Claims
1. 1. A method for processing a video, comprising: performing a conversion between a media file of a first video and a bitstream of the first video; A method according to claim 1, wherein the media file includes a first instruction for indicating whether a first group of encoded and decoded video data units indicating a target picture-in-picture area in the first video can be replaced with a second group of encoded and decoded video data units associated with a second video.
2. The method of claim 1 , wherein the second video has a lower spatial resolution than the first video.
3. The method according to claim 1 , wherein the first indication comprises a one-bit flag.
4. if the flag is a first value, the first group of coded and decoded video data units are replaceable with the second group of coded and decoded video data units; 4. The method of claim 3, wherein if the flag is a second value, the first group of coded and decoded video data units are not interchangeable with the second group of coded and decoded video data units.
5. The method according to any one of claims 1 to 2, wherein the first indication comprises a first track reference pointing to a track carrying the bitstream of the secondary video.
6. if the first track reference has a first type, the first group of coded and decoded video data units are replaceable with the second group of coded and decoded video data units; if the first track reference has a second type, the first group of coded and decoded video data units are not interchangeable with the second group of coded and decoded video data units; The method according to claim 5.
7. The method of claim 6 , wherein the first track reference of the first type is a “ppsr” track reference and the first track reference of the first type is a “ppsn” track reference.
8. A method according to any one of claims 5 to 7, wherein the second video media file includes a second instruction for indicating whether the first group of encoded and decoded video data units can be replaced by the second group of encoded and decoded video data units.
9. The method of claim 8 , wherein the second instructions include a second track reference that points to a track carrying the bitstream of the first video.
10. if the second track reference has a third type, the first group of coded and decoded video data units are replaceable with the second group of coded and decoded video data units; if the second track reference has a fourth type, the first group of coded and decoded video data units are not interchangeable with the second group of coded and decoded video data units; 10. The method of claim 9.
11. The method of claim 10, wherein the second track reference of the third type is a "ppmr" track reference and the second track reference of the fourth type is a "ppmn" track reference.
12. the first group of encoded and decoded video data units includes Video Codec Layer Network Abstraction Layer (VCL NAL) units; The method of any one of claims 1 to 11, wherein the second group of encoded and decoded video data units comprises VCL NAL units.
13. The method of any one of claims 1 to 12, wherein the converting comprises creating the media file and storing the bitstream in the media file.
14. The method of any one of claims 1 to 12, wherein the conversion comprises parsing the media file to reconstruct the bitstream.
15. 1. An apparatus for processing video data, comprising: a processor and a non-transitory memory having instructions stored therein; An apparatus, the instructions, when executed by the processor, causing the processor to perform the method of any one of claims 1 to 14.
16. A non-transitory computer readable storage medium for storing instructions that cause a processor to perform the method of any one of claims 1 to 14.
17. storing a bitstream of a first video generated by a method implemented in a video processing device; The method includes performing a conversion between a media file of the first video and the bitstream, the media file including first instructions for indicating whether a first group of encoded and decoded video data units indicating a target picture-in-picture area in the first video can be replaced with a second group of encoded and decoded video data units associated with a second video.
18. 1. A method for storing a bitstream of a first video, comprising: performing a conversion between the media file of the first video and the bitstream; storing the bitstream on a non-transitory computer-readable recording medium; A method, wherein the media file includes a first instruction for indicating whether a first group of encoded and decoded video data units indicating a target picture-in-picture area in a first video can be replaced with a second group of encoded and decoded video data units associated with a second video.
19. storing a media file of the first video generated by the method executed on the video processing device; The method includes performing a conversion between the media file and a bitstream of the first video; A non-transitory computer-readable recording medium, the media file including first instructions for indicating whether a first group of encoded and decoded video data units indicating a target picture-in-picture area in the first video can be replaced with a second group of encoded and decoded video data units associated with a second video.
20. 1. A method for storing a media file of a first video, comprising: performing a conversion between the media file and a bitstream of the first video; storing the media file on a non-transitory computer-readable recording medium; A method according to claim 1, wherein the media file includes a first instruction for indicating whether a first group of encoded and decoded video data units indicating a target picture-in-picture area in the first video can be replaced with a second group of encoded and decoded video data units associated with a second video.
Citation Information
Patent Citations
Recording medium, playback device, recording device, encoding method, and decoding method related to higher image quality
WO2012147350A1
Method and apparatus for encoding and decoding a video stream with subpictures
WO2021052794A1
Processing of filler data units in video streams
WO2021142372A1
