Method, device and medium for video processing - Patents.com

The introduction of a picture-in-picture descriptor in metadata files addresses the lack of support for picture-in-picture services in DASH by enabling efficient embedding and decoding of auxiliary videos within main videos, optimizing resource usage and user experience.

JP2024534615AActive Publication Date: 2024-09-20BYTEDANCE INC
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2024518805
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-20
Estimated Expiration
2042-09-26

AI Technical Summary

Technical Problem

Existing media streaming systems, particularly DASH, lack support for picture-in-picture services, lacking necessary instructions and signaling mechanisms to enable seamless integration and replacement of encoded video data units for auxiliary videos within main videos.

Method used

Introduction of a new picture-in-picture descriptor in metadata files, allowing for the definition of a picture-in-picture service, indicating replaceable video data units, region IDs, and position/size information to facilitate the embedding of auxiliary videos within main videos, using VVC subpictures for efficient encoding and decoding.

Benefits of technology

Enables seamless support for picture-in-picture services in DASH by allowing clients to replace and embed auxiliary videos within main videos, optimizing resource usage and reducing redundant decoding, thereby enhancing user experience and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024534615000001
    Figure 2024534615000001
Patent Text Reader

Abstract

An embodiment of the present disclosure provides a solution for video processing. A method for video processing is proposed, which includes the steps of receiving a metadata file from a second device at a first device, and determining a descriptor in a data structure in the metadata file, the presence of the descriptor indicating that the data structure is for providing a picture-in-picture service, and the data structure indicating a selection of a first set of bitstreams of a first video and a second set of bitstreams of a second video for the picture-in-picture service.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] FIELD OF THE DISCLOSURE Embodiments of the present disclosure relate generally to video encoding technologies, and more specifically to the creation, storage, and consumption of digital audio-video media information in file formats.

[0002] CROSS-REFERENCE TO RELATED APPLICATIONS This application claims the benefit of priority to U.S. Provisional Application No. 63 / 248,852, filed September 27, 2021, the entire contents of which are incorporated herein by reference. [Background technology]

[0003] Media streaming applications are usually based on the Internet Protocol (IP), Transmission Control Protocol (TCP), and Hypertext Transfer Protocol (HTTP) transport methods, and usually rely on file formats such as ISO Base Media File Format (ISOBMFF). One such streaming system is HTTP-based Dynamic Adaptive Streaming (DASH). In HTTP-based Dynamic Adaptive Streaming (DASH), multiple representations of the video and / or audio data of a multimedia content may exist, where the different representations may correspond to different coding characteristics (e.g., different profiles or levels of a video coding standard, different bit rates, different spatial resolutions, etc.). Also, a technology called "picture-in-picture" has been proposed. Therefore, DASH, which supports picture-in-picture services, is worth studying. Summary of the Invention

[0004] The embodiments of the present disclosure provide a solution for video processing.

[0005] In a first aspect, a video processing method is proposed, the method comprising the steps of receiving, by a first device, a metadata file from a second device, and determining a descriptor in a data structure in the metadata file, the presence of the descriptor indicating that the data structure is for providing a picture-in-picture service, the data structure indicating a selection of a first set of bitstreams of a first video and a second set of bitstreams of a second video for the picture-in-picture service. The method according to the first aspect of the present disclosure employs a picture-in-picture descriptor in the metadata file, thereby enabling support of picture-in-picture services in DASH.

[0006] In a second aspect, another video processing method is proposed, the method comprising: determining, by a second device, a descriptor in a data structure in a metadata file, the presence of which indicates that the data structure is for providing a picture-in-picture service, the data structure indicating a selection of a first set of bitstreams of a first video and a second set of bitstreams of a second video for the picture-in-picture service; and transmitting the metadata file to the first device. The method according to the first aspect of the present disclosure employs a picture-in-picture descriptor in the metadata file, which enables support of picture-in-picture services in DASH.

[0007] In a third aspect, an apparatus for processing video data is proposed, the apparatus comprising a processor and a non-transitory memory with instructions that, when executed by the processor, cause the processor to perform a method according to the first or second aspect of the present disclosure.

[0008] In a fourth aspect, a non-transitory computer readable storage medium is proposed, said non-transitory computer readable storage medium storing instructions for causing said processor to perform a method according to the first or second aspect of the present disclosure.

[0009] This description is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. It is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter. [Brief description of the drawings]

[0010] The above and other objects, features, and advantages of exemplary embodiments of the present disclosure will become more apparent through the following detailed description taken in conjunction with the accompanying drawings, in which like reference numerals generally refer to like components. [Figure 1] 1 shows a block diagram of an example video encoding system in accordance with some embodiments of the present disclosure. [Diagram 2] 1 shows a block diagram of a first example of a video encoder in accordance with some embodiments of the present disclosure. [Diagram 3] 1 shows a block diagram of an exemplary video decoder in accordance with some embodiments of the present disclosure. [Figure 4] 1 shows a schematic diagram of a picture divided into 18 tiles, 24 slices and 24 sub-pictures. [Diagram 5] 1 shows a schematic diagram of a general sub-picture based viewport dependent 360 degree video delivery scheme. [Figure 6] FIG. 2 shows a schematic diagram of the extraction of one subpicture from a bitstream containing two subpictures and four slices. [Figure 7] 1 shows a schematic diagram of picture-in-picture support based on VVC subpictures. [Figure 8]1 shows a flowchart of a method according to an embodiment of the present disclosure. [Figure 9A] A schematic diagram of picture-in-picture is shown. [Figure 9B] A schematic diagram of picture-in-picture is shown. [Figure 10] 1 shows a flowchart of a method according to an embodiment of the present disclosure. [Figure 11] FIG. 1 illustrates a block diagram of a computing device capable of implementing various embodiments of the present disclosure.

[0011] Throughout the drawings, the same or similar reference numbers typically refer to the same or similar elements. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0012] Next, the principles of the present disclosure will be described with reference to some embodiments. It should be understood that these embodiments are provided for illustrative purposes only, to assist those skilled in the art in understanding and implementing the present disclosure, and do not imply any limitations on the scope of the present disclosure. The disclosure described herein can be implemented in various ways other than those described below.

[0013] In the following description and claims, unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs.

[0014] References in this disclosure to "one embodiment," "one embodiment," "exemplary embodiment," and the like indicate that the described embodiment may include a particular feature, structure, or characteristic, but not all embodiments necessarily include the particular feature, structure, or characteristic. Moreover, such phrases do not necessarily refer to the same embodiment. Furthermore, when a particular feature, structure, or characteristic is described in connection with an exemplary embodiment, it is noted that it is within the knowledge of one of ordinary skill in the art to affect such feature, structure, or characteristic in connection with other embodiments, whether or not explicitly stated.

[0015] Terms such as "first" and "second" may be used herein to describe various elements, but it should be understood that these elements should not be limited by these terms. These terms are used only to distinguish one element from another. For example, a first element may be referred to as a second element. Similarly, a second element may 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.

[0016] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of example embodiments. As used herein, the singular forms "a," "an," and "the" are intended to include the plural forms unless the context clearly dictates otherwise. It will be further understood that the terms "comprise," "comprising," "having," "having," "including," and / or "comprising," as used herein, specify 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.

[0017] Example Environment 1 is a block diagram illustrating an example video encoding system 100 that may utilize techniques of this disclosure. As shown, video encoding system 100 may include a source device 110 and a destination device 120. Source device 110 may also be referred to as a video encoding device. Destination device 120 may also be referred to as a video decoding device. In operation, source device 110 may be configured to generate encoded video data, and destination device 120 may be configured to decode the encoded video data generated by source device 110. Source device 110 may include a video source 112, a video encoder 114, and an input / output (I / O) interface 116.

[0018] Video source 112 may include sources such as video capture devices, examples of which include, but are not limited to, an interface that receives video data from a video content provider, a computer graphics system that generates video data, and / or combinations thereof.

[0019] 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 a series of bits that form an encoded representation of 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 syntax structures. The I / O interface 116 may include a modulator / demodulator and / or a transmitter. The encoded video data may be transmitted directly to the destination device 120 through the network 130A via the I / O interface 116. The encoded video data may be stored in a storage medium / server 130B for access by the destination device 120.

[0020] Destination device 120 may include an I / O interface 126, a video decoder 124, and a display device 122. I / O interface 126 may include a receiver and / or a modem. I / O interface 126 may obtain encoded video data from source device 110 or storage medium / server 130B. Video decoder 124 may decode the encoded video data. Display device 122 may display the decoded video data to a user. Display device 122 may be integrated with destination device 120 or may be external to destination device 120 configured to interface with an external display device.

[0021] The video encoder 114 and the video decoder 124 may operate in accordance with a video compression standard, such as the High Efficiency Video Coding (HEVC) standard, the Versatile Video Coding (VVC) standard, and other current and / or future standards.

[0022] FIG. 2 is a block diagram illustrating an example of a video encoder 200, which may be an example of the video encoder 114 in the system 100 shown in FIG. 1, according to some embodiments of the disclosure.

[0023] Video encoder 200 may be configured to perform any or all of the techniques of 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 various components of video encoder 200. In some examples, a processor may be configured to perform any or all of the techniques described in this disclosure.

[0024] In some embodiments, the video encoder 200 may include a division unit 201, a prediction unit 202, which may include a mode selection unit 203, a motion estimation unit 204, a motion compensation unit 205, and an intra prediction unit 206, 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 coding unit 214.

[0025] In other examples, video encoder 200 may include more, fewer, or different functional components. In one example, prediction unit 202 may include an intra block copy (IBC) unit. The IBC unit may perform prediction in an IBC mode, where at least one reference picture is the picture in which the current video block is located.

[0026] Furthermore, some components, such as the motion estimation unit 204 and the motion compensation unit 205, may be integrated, but are depicted separately in the example of FIG. 2 for illustrative purposes.

[0027] Division unit 201 may divide a picture into one or more video blocks. Video encoder 200 and video decoder 300 may support a variety of video block sizes.

[0028] The mode selection unit 203 may, for example, select one of an intra-coding mode or an inter-coding mode based on an error result, provide the resulting intra-coded or inter-coded block to the residual generation unit 207 to generate residual block data, and provide the coded block to the reconstruction unit 212 to reconstruct and use as a reference picture. In some examples, the mode selection unit 203 may select a combined intra- and inter-prediction (CIIP) mode, in which prediction is based on an inter-prediction signal and an intra-prediction signal. In the case of inter-prediction, the mode selection unit 203 may select a resolution of the motion vector of the block (e.g., sub-pixel or integer pixel accuracy).

[0029] To perform inter prediction on the current video block, motion estimation unit 204 may generate motion information for the current video block by comparing one or more reference frames from buffer 213 with the current video block. Motion compensation unit 205 may determine a prediction video block for the current video block based on the motion information and decoded samples of pictures from buffer 213 other than the picture associated with the current video block.

[0030] 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. As used herein, an "I slice" may refer to a portion of a picture that is composed of macroblocks, all of which are based on macroblocks in the same picture. Additionally, as used herein, in some aspects, a "P slice" and a "B slice" may refer to a portion of a picture that is composed of macroblocks that are independent of macroblocks in the same picture.

[0031] In some examples, motion estimation unit 204 may perform unidirectional prediction on the current video block, and motion estimation unit 204 may look for a reference picture in list 0 or list 1 for a reference video block of the current video block. Motion estimation unit 204 may then generate a reference index indicating a reference picture in list 0 or list 1 that contains the reference video block, 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 predictive video block for the current video block based on the reference video block indicated by the motion information of the current video block.

[0032] Alternatively, in other examples, motion estimation unit 204 may perform bidirectional prediction on the current video block. Motion estimation unit 204 may look for a reference picture in list 0 for a reference video block of the current video block, and may look for a reference picture in list 1 for another reference video block of the current video block. Motion estimation unit 204 may then generate a reference index indicating the reference picture in list 0 and list 1 that contains the reference video block, and a motion vector indicating a spatial displacement between the reference video block and the current video block. Motion estimation unit 204 may output the reference index and the motion vector of the current video block as motion information of the current video block. Motion compensation unit 205 may generate a predictive video block for the current video block based on the reference video block indicated by the motion information of the current video block.

[0033] In some examples, motion estimation unit 204 may output a full set of motion information for the decoding process of the decoder. Alternatively, in some embodiments, motion estimation unit 204 may signal the motion information of the current video block with reference to motion information of another video block. For example, motion estimation unit 204 may determine that the motion information of the current video block is sufficiently similar to the motion information of a neighboring video block.

[0034] In one example, motion estimation unit 204 may indicate, in a syntax structure associated with the current video block, a value that indicates to video decoder 300 that the current video block has the same motion information as another video block.

[0035] In another example, motion estimation unit 204 may identify another video block and a motion vector differential (MVD) in a syntax structure associated with the current video block. The motion vector differential 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 differential to determine the motion vector of the current video block.

[0036] As discussed above, video encoder 200 may predictively signal motion vectors. Two examples of predictive signaling techniques that may be implemented by video encoder 200 include advanced motion vector prediction (AMVP) and merge mode signaling.

[0037] 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 predictive data for the current video block based on decoded samples of other video blocks in the same picture. The predictive data for the current video block may include a predicted video block and various syntax elements.

[0038] 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 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 components of the samples in the current video block.

[0039] In other examples, such as in skip mode, residual data for the current video block may not be present, and residual generation unit 207 may not perform the subtraction operation.

[0040] Transform processing unit 208 may generate one or more transform coefficient video blocks for the current video block by applying one or more transforms to the residual video block associated with the current video block.

[0041] After transform processing unit 208 generates the 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.

[0042] Inverse quantization unit 210 and inverse transform unit 211 may apply inverse quantization and inverse transform, 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 generate a reconstructed video block associated with the current video block for storage in buffer 213.

[0043] After reconstruction unit 212 reconstructs the video blocks, a loop filtering operation may be performed to reduce video blocking artifacts in the video blocks.

[0044] Entropy encoding unit 214 may receive data from other functional components of video encoder 200. Once entropy encoding unit 214 receives the data, it may perform one or more entropy encoding operations to generate entropy encoded data and output a bitstream including the entropy encoded data.

[0045] FIG. 3 is a block diagram illustrating an example of a video decoder 300, which may be an example of the video decoder 124 in the system 100 shown in FIG. 1, according to some embodiments of the disclosure.

[0046] The video decoder 300 may be configured to perform any or all of the techniques of 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 various 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.

[0047] 3, the video decoder 300 includes an entropy decoding unit 301, a motion compensation unit 302, an intra prediction unit 303, an inverse quantization unit 304, an inverse transform unit 305, a reconstruction unit 306, and a buffer 307. The video decoder 300 may, in some examples, perform a decoding pass that is generally inverse to the encoding pass described with respect to the video encoder 200.

[0048] The entropy decoding unit 301 may retrieve an encoded bitstream. The encoded bitstream may include entropy encoded video data (e.g., encoded blocks of video data). The entropy decoding unit 301 may decode the entropy encoded video data, from which the motion compensation unit 302 may determine motion information including motion vectors, motion vector precision, reference picture list indexes, and other motion information. The motion compensation unit 302 may determine such information, for example, by performing AMVP and merge mode. AMVP is used and includes derivation of some most likely candidates based on data from neighboring PB and reference pictures. The motion information typically includes horizontal and vertical motion vector displacement values, one or two reference picture indexes, and, in the case of prediction regions in B slices, identification of which reference picture list is associated with each index. As used herein, in some aspects, "merge mode" may refer to deriving motion information from spatially or temporally neighboring blocks.

[0049] The motion compensation unit 302 may generate the motion-compensated block, possibly performing interpolation based on an interpolation filter. An identifier of the interpolation filter used with sub-pixel precision may be included in the syntax element.

[0050] Motion compensation unit 302 may calculate interpolated values ​​for sub-integer pixels of a reference block using an interpolation filter used by video encoder 200 during encoding of the video block. Motion compensation unit 302 may determine the interpolation filter used by video encoder 200 according to received syntax information and use the interpolation filter to generate a predictive block.

[0051] The motion compensation unit 302 may use at least a portion of the syntax information to determine the size of blocks used to code frames and / or slices of the coded video sequence, partition information describing how each macroblock of a picture of the coded video sequence is divided, a mode indicating how each partition is coded, one or more reference frames (and reference frame lists) for each inter-encoded block, and other information for decoding the coded video sequence. As used herein, in some aspects, a "slice" may refer to a data structure that can be decoded independently from other slices of the same picture with respect to entropy coding, signal prediction, and residual signal reconstruction. A slice can be either an entire picture or a region of a picture.

[0052] The intra prediction unit 303 may form a prediction block from spatially neighboring blocks, e.g., using an intra prediction mode received in the bitstream. The inverse quantization unit 304 inverse quantizes, i.e., dequantizes, the quantized video block coefficients provided in the bitstream and decoded by the entropy decoding unit 301. The inverse transform unit 305 applies an inverse transform.

[0053] Reconstruction unit 306 may obtain a decoded block, for example, by adding the residual block and a corresponding prediction block generated by motion compensation unit 302 or intra prediction unit 303. Optionally, a deblocking filter may be applied to filter the decoded block to remove blockiness artifacts. The decoded video block is then stored in buffer 307, which provides reference blocks for subsequent motion compensation / intra prediction, and also generates the decoded video for presentation on a display device.

[0054] Some exemplary embodiments of the present disclosure will be described in detail below. Section headings are used herein for ease of understanding, but it should be understood that they do not limit the embodiments disclosed in a section to only that section. Furthermore, although certain embodiments are described with reference to versatile video encoding or other specific video codecs, the disclosed techniques are applicable to other video encoding techniques. Furthermore, although some embodiments describe video encoding steps in detail, it will be understood that a corresponding decoding step that undoes the encoding is performed by a decoder. Furthermore, the term video processing encompasses video encoding or compression, video encoding or decompression, and video transcoding, which represents video pixels from one compressed format to another compressed format or at a different compressed bit rate.

[0055] 1. Overview FIELD OF THE DISCLOSURE Embodiments of the present disclosure relate to video streaming, and in particular to supporting picture-in-picture services in Dynamic Adaptive Streaming over HTTP (DASH) via new descriptors. The ideas may be applied individually or in various combinations to media streaming systems based on the DASH standard, its extensions, etc.

[0056] 2.Background 2.1 Video Coding Standards Video coding standards have evolved mainly through the development of well-known ITU-T and ISO / IEC standards. ITU-T created H.261 and H.263, ISO / IEC created MPEG-1 and MPEG-4 Visual, and the two organizations jointly created H.262 / MPEG-2 Video, H.264 / MPEG-4 Advanced Video Coding (AVC), and H.265 / HEVC standards. Since H.262, video coding standards have been based on a hybrid video coding structure where temporal prediction plus transform coding is utilized. To explore future video coding technologies beyond HEVC, the Joint Video Exploration Team (JVET) was jointly established by VCEG and MPEG in 2015. Since then, many new methods have been adopted by JVET and incorporated into a reference software named the Joint Exploration Model (JEM). JVET was later renamed to Joint Video Experts Team (JVET) when the Versatile Video coding (VVC) project was officially launched. VVC is a new coding standard that aims for a 50% bitrate reduction compared to HEVC, and was finalized by JVET at its 19th meeting, which ended on July 1, 2020.

[0057] The Versatile Video Coding (VVC) standard (ITU-T H.266 | ISO / IEC 23090-3) and the associated Versatile Supplemental Enhancement Information (VSEI) standard (ITU-T H.274 | ISO / IEC 23002-7) are designed to be used in the widest range of applications, including both traditional uses such as television broadcast, videoconferencing, or playback from storage media, and newer, more advanced uses such as adaptive bitrate streaming, video region extraction, composition and combining of content from multiple coded video bitstreams, multiview video, scalable layered coding, and viewport adaptive 360° immersive media.

[0058] The Essential Video Coding (EVC) standard (ISO / IEC 23094-1) is another video coding standard recently developed by MPEG.

[0059] 2.2 File Format Standards Media streaming applications are typically based on IP, TCP, and HTTP transport methods and rely on file formats such as ISO Base Media File Format (ISOBMFF). One such streaming system is HTTP-based Dynamic Adaptive Streaming (DASH). When using video formats with ISOBMFF and DASH, the carriage of Network Abstraction Layer (NAL) unit-structured video in a video format specific file format specification such as the AVC file format or the HEVC file format in ISO / IEC 14496-15: "Information technology - Coding of audiovisual objects - Part 15: ISO Base Media File Format" may be required for encapsulation of video content in ISOBMFF tracks and DASH representations and segments. Important information about the video bitstream, such as profile, tier, level, and many other information, may need to be exposed as file format level metadata and / or DASH Media Presentation Description (MPD) for content selection purposes, e.g., selection of appropriate media segments for both initialization at the start of a streaming session and stream adaptation during a streaming session.

[0060] Similarly, the use of image formats in ISOBMFF may require file format specifications specific to the image format, such as the AVC image file format and the HEVC image file format in ISO / IEC 23008-12: "Information technology -- High-efficiency coding and delivery of media in heterogeneous environments -- Part 12: Image file formats".

[0061] The VVC video file format, a file format for storing VVC video content based on ISOBMFF, is currently being developed by MPEG. The latest draft specification for the VVC video file format is contained in ISO / IEC JTC 1 / SC 29 / WG 03 output document N0035 "Potential improvements on Carriage of VVC and EVC in ISOBMFF".

[0062] The VVC image file format, a file format for storing image content coded using VVC, based on ISOBMFF, is currently being developed by MPEG. The latest draft specification for the VVC image file format is contained in ISO / IEC JTC 1 / SC 29 / WG 03 output document N0038 "Information technology-High efficiency coding and media delivery in heterogeneous environments-Part 12: Image File Format-Amendment 3: Support for VVC, EVC, slideshows and other improvements (CD stage)".

[0063] 2.3 DASH In Dynamic Adaptive Streaming over HTTP (DASH), there may be multiple representations of video and / or audio data of a multimedia content, where different representations may correspond to different encoding characteristics (e.g., different profiles or levels of a video encoding standard, different bit rates, different spatial resolutions, etc.). A manifestation of such representations may be defined in a Media Presentation Description (MPD) data structure. A media presentation may correspond to a structured collection of data accessible to a DASH streaming client device. A DASH streaming client device may request and download media data information to provide a streaming service to a user of the client device. A media presentation may be described in an MPD data structure, including updates to the MPD.

[0064] A media presentation may include a series of one or more periods. Each period may extend until the start of the next period or, in the case of the last period, until the end of the media presentation. Each period may include one or more representations of the same media content. A representation may be one of many alternatively encoded versions of audio, video, timed text, or other such data. The representations may differ by encoding type, e.g., bit rate, resolution, and / or codec for video data, and bit rate, language, and / or codec for audio data. The term representation may be used to refer to a section of encoded audio or video data that corresponds to a particular period of multimedia content and is encoded in a particular manner.

[0065] Representations for a particular time period may be assigned to a group indicated by an attribute in the MPD indicating the adaptation set to which the representation belongs. Representations in the same adaptation set are generally considered to be alternatives to each other in that a client device may dynamically and seamlessly switch between these representations to perform, for example, bandwidth adaptation. For example, each representation of video data for a particular time period may be assigned to the same adaptation set, but any representation may be selected for decoding to present media data, such as video data or audio data, of the multimedia content for the corresponding time period. Media content within a time period may be represented, in some examples, by either one representation from group 0 (if present) or a combination of at most one representation from each non-zero group. Timing data for each representation for a time period may be expressed relative to a start time of the time period.

[0066] A representation may include one or more segments. Each representation includes an initialization segment, and each segment of a representation may be self-initializing. If present, the initialization segment may include initialization information for accessing the representation. In general, the initialization segment does not include media data. A segment may be uniquely referenced by an identifier, such as a Uniform Resource Locator (URL), Uniform Resource Name (URN), or Uniform Resource Identifier (URI). The MPD may provide an identifier for each segment. In some examples, the MPD may provide a byte range in the form of a range attribute that may correspond to the data of a segment within a file accessible by a URL, URN, or URI.

[0067] Different representations may be selected to search for different types of media data substantially simultaneously. For example, a client device may select an audio representation, a video representation, and a timed text representation to search for a segment. In some examples, a client device may select a particular adaptation set to perform bandwidth adaptation. That is, the client device may select an adaptation set that includes a video representation, an adaptation set that includes an audio representation, and / or an adaptation set that includes timed text. Alternatively, a client device may select an adaptation set for a particular type of media (e.g., video) and directly select representations for other types of media (e.g., audio and / or timed text).

[0068] The general DASH streaming procedure is outlined in the following steps:

[0069] 1) The client obtains the MPD.

[0070] 2) The client estimates the downlink bandwidth and selects a video and audio representation according to the estimated downlink bandwidth and codec, decoding capability, display size, and audio language settings.

[0071] 3) Unless the end of the media presentation has been reached, the client requests the media segments of the selected representation and presents the streaming content to the user.

[0072] 4) The client continues to estimate the downlink bandwidth. If the bandwidth changes significantly in some direction (e.g., becomes lower), the client selects a different video representation that matches the newly estimated bandwidth and proceeds to step 3.

[0073] 2.4 Picture Split and Subpictures in VVC In VVC, a picture is divided into one or more tile rows and one or more tile columns. A tile is a set of CTUs that cover a rectangular area of ​​the picture. The CTUs within a tile are scanned in raster scan order within that tile.

[0074] 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.

[0075] Two modes of slicing are supported: raster scan slice mode and rectangular slice mode. In raster scan slice mode, a slice contains a sequence of complete tiles within the tile raster scan of the picture. In rectangular slice mode, a slice contains either a number of complete tiles that collectively form a rectangular region of the picture, or a contiguous complete CTU row of one tile that collectively form a rectangular region of the picture. The tiles within a rectangular slice are scanned in tile raster scan order within the rectangular region corresponding to the slice.

[0076] A sub-picture contains one or more slices that collectively cover a rectangular area of ​​the picture.

[0077] 2.4.1 Subpicture Concept and Function In VVC, each subpicture consists of one or more complete rectangular slices that collectively cover a rectangular area of ​​the picture, as shown, for example, in Figure 4. Figure 4 shows a schematic diagram 400 of a picture divided into 18 tiles, 24 slices, and 24 subpictures. A subpicture can be specified as extractable (i.e., coded independently of other subpictures of the same picture and previous picture in decoding order) or non-extractable. Regardless of whether a subpicture is extractable or not, the encoder can control whether in-loop filtering (including deblocking, SAO, ALF) is applied across subpicture boundaries and for each subpicture separately.

[0078] Functionally, subpictures are similar to Motion Constrained Tile Sets (MCTS) in HEVC: both allow independent encoding and extraction of rectangular subsets of a sequence of encoded pictures for use cases such as viewport-dependent 360-degree video streaming optimization and region of interest (ROI) applications.

[0079] In streaming 360-degree video (aka omnidirectional video), only a subset (i.e., the current viewport) of the entire omnidirectional video sphere may be rendered to the user at a given moment, but the user may at any time rotate his or her head to change the viewing orientation, and consequently, the current viewport. While it is desirable to have at least some lower quality representation of the areas not currently covered by the viewport available to the client to be rendered to the user in case the user suddenly changes viewing orientation somewhere on the sphere, a high quality representation of the omnidirectional video is only needed for the current viewport being rendered to the user at any moment. Splitting the high quality representation of the entire omnidirectional video into sub-pictures with the right granularity allows for an optimization such as that shown in FIG. 4, where 12 high resolution sub-pictures are displayed on the left and the remaining 12 sub-pictures of the low resolution omnidirectional video are displayed on the right.

[0080] 5 shows a schematic diagram 500 of a general sub-picture based viewport-dependent 360-degree video delivery scheme. Another general sub-picture based viewport-dependent 360-degree video delivery scheme is shown in FIG. 5, where only the high-resolution representation of the full video is composed of sub-pictures, and the low-resolution representation of the full video does not use sub-pictures and can be encoded with less frequent RAPs than the high-resolution representation. The client receives the full video in low resolution, but for the high-resolution video, the client receives and decodes only the sub-pictures that currently cover the viewport.

[0081] 2.4.2 Difference between Subpicture and MCTS There are some important design differences between sub-pictures and MCTS. First, the sub-picture feature in VVC allows the motion vectors of coding blocks to point outside the sub-picture even if the sub-picture is extractable, by applying sample padding to the sub-picture boundaries in this case, similar to picture boundaries. Second, additional changes are introduced in the selection and derivation of motion vectors in merge mode and the decoder-side motion vector refinement process of VVC. This allows for higher coding efficiency compared to the non-prescriptive motion constraints applied at the encoder side in MCTS. Third, no rewriting of the SH (and PH NAL units, if present) is required when extracting one or more extractable sub-pictures from a sequence of pictures to create a conforming bitstream, the sub-bitstream. Sub-bitstream extraction based on HEVC MCTS requires rewriting of the SH. It should be noted that both HEVC MCTS extraction and VVC sub-picture extraction require rewriting of the SPS, PPS. However, since a bitstream usually has only a small set of parameters and each picture has at least one slice, rewriting the SH can be a significant burden for application systems. Fourth, slices of different subpictures within a picture are allowed to have different NAL unit types. This feature is often called mixed NAL unit types or mixed subpicture types within a picture, and is explained in more detail below. Fifth, VVC specifies the HRD and level definition of subpicture sequences, so that the conformance of the sub-bitstreams of each extractable subpicture sequence can be guaranteed by the encoder.

[0082] 2.4.3 Mixing Subpicture Types within a Picture In AVC and HEVC, all VCL NAL units in a picture are required to have the same NAL unit type. VVC introduces the option to mix subpictures with certain different VCL NAL unit types within a picture, thus providing support for random access not only at the picture level but also at the subpicture level. In the VVC VCL, NAL units within a subpicture are still required to have the same NAL unit type.

[0083] The random access capability from IRAP sub-pictures is beneficial for 360-degree video applications. In a viewport-dependent 360-degree video delivery scheme similar to that shown in Fig. 5, the contents of spatially adjacent viewports overlap significantly, i.e., during a viewport orientation change, only a portion of the sub-pictures in a viewport are replaced by new sub-pictures, while most of the sub-pictures remain in the viewport. If the sub-picture sequence newly introduced to the viewport should start with an IRAP slice, but the remaining sub-pictures are allowed to perform inter prediction during the viewport change, the overall transmission bitrate can be significantly reduced.

[0084] An indication of whether a picture contains only a single type of NAL unit or multiple types of NAL units is provided in the PPS referenced by the picture (i.e., using a flag called pps_mixed_nalu_types_in_pic_flag). A picture may consist of a sub-picture containing an IRAP slice and a sub-picture containing a trailing slice at the same time. Several other combinations of different NAL unit types within a picture are also allowed, including leading picture slices of NAL unit types RASL and RADL, which allows merging sub-picture sequences with open GOP and closed GOP coding structures extracted from different bitstreams into one bitstream.

[0085] 2.4.4 Subpicture Layout and ID Signaling The layout of VVC subpictures is signaled in the SPS and is therefore constant in CLVS. Each subpicture is signaled by its top-left CTU position and its width and height in number of CTUs, ensuring that the subpicture covers a rectangular area of ​​the picture with CTU granularity. The order in which the subpictures are signaled in the SPS determines the index of each subpicture within the picture.

[0086] To enable extraction and merging of subpicture sequences without rewriting SH or PH, the slice addressing scheme of VVC associates slices to subpictures based on the subpicture ID and subpicture-specific slice index. In SH, the subpicture ID and subpicture-level slice index of the subpicture that contains the slice are signaled. It should be noted that the value of the subpicture ID of a particular subpicture can be different from the value of its subpicture index. The mapping between the two is either signaled in the SPS or PPS (but not both), or is implicitly inferred. If present, the subpicture ID mapping needs to be rewritten or added when rewriting the SPS and PPS during the subpicture sub-bitstream extraction process. The subpicture ID and subpicture-level slice index together indicate to the decoder the exact location of the first decoded CTU of the slice within the DPB slot of the decoded picture. After subbitstream extraction, 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 in a subpicture is changed compared to the value in the original bitstream, the unaltered values ​​of the subpicture ID and subpicture level slice index in the respective SH still accurately determine the location of each CTU in the decoded picture of the extracted sub-bitstream. Figure 6 shows a schematic diagram 600 of the use of subpicture IDs, subpicture indexes, and subpicture level slice indexes to enable subpicture extraction in an example including two subpictures and four slices.

[0087] Similar to sub-picture extraction, sub-picture signaling allows merging several sub-pictures from different bitstreams into a single bitstream by simply rewriting the SPS and PPS, provided that the different bitstreams are generated cooperatively (e.g., with distinct sub-picture IDs but otherwise mostly aligned SPS, PPS and PH parameters such as CTU size, chroma format, encoding tool, etc.).

[0088] Although sub-pictures and slices are signaled independently in the SPS and PPS, respectively, there are inherent inter-constraints between sub-picture and slice layouts in order to form a conforming bitstream. First, the presence of sub-pictures requires the use of rectangular slices, and raster-scan slices are forbidden. Second, the slices of a given sub-picture should be consecutive NAL units in decoding order, which means that the sub-picture layout constrains the order of coded slice NAL units in the bitstream.

[0089] 2.5 Picture-in-Picture Services Picture-in-picture services provide the ability to include a smaller resolution image within a larger resolution image. Such a service can be useful to display two videos simultaneously to a user, whereby the higher resolution video is considered the main video and the lower resolution video is considered the auxiliary video. Such picture-in-picture services can be used to provide accessibility services where the main video is supplemented by a signage video.

[0090] VVC subpictures can be used for picture-in-picture services by using both the extraction and merging properties of VVC subpictures. For such services, the main video is coded using a number of subpictures, one of which is the same size as the auxiliary video and is located at the exact location where the auxiliary video is going to be composited into the main video and coded independently, to allow for extraction. Figure 7 shows a schematic diagram 700 of the extraction of one subpicture from a bitstream containing two subpictures and four slices. As shown in Figure 7, if a user chooses to watch a version of the service that includes auxiliary video, the subpicture corresponding to the picture-in-picture area of ​​the main video is extracted from the main video bitstream, and the auxiliary video bitstream is merged with the main video bitstream at that location.

[0091] In this case, the pictures in the main and auxiliary video must share the same video characteristics, in particular the bit depth, sample aspect ratio, size, frame rate, color space and transfer characteristics, and chroma sample positions. The main and auxiliary video bitstreams do not require the use of NAL unit types within each picture. However, merging requires that the coding order of the pictures in the main and auxiliary bitstreams is the same.

[0092] Here, since subpicture merging is required, the subpicture IDs used in the main and auxiliary video cannot overlap. Even if the auxiliary video bitstream consists of only one subpicture without additional tile or slice partitioning, the subpicture information, especially the subpicture ID and the subpicture ID length, must be signaled to allow merging of the auxiliary and main video bitstreams. The length of the subpicture ID used to signal the length of the subpicture ID syntax element in the slice NAL unit of the auxiliary video bitstream must be the same as the length of the subpicture ID used to signal the subpicture ID in the slice NAL unit of the main video bitstream. Furthermore, to simplify the merging of the auxiliary and main video bitstreams without rewriting the PPS partitioning information, it may be beneficial to use only one slice and one tile in the coding of the auxiliary video and the corresponding area of ​​the main video. The main and auxiliary video bitstreams must signal the same coding tools in the SPS, PPS and picture headers. This includes using the same maximum and minimum allowed size for block partitioning and the same value of the initial quantization parameter signaled in the PPS (the same value of the pps_init_qp_minus26 syntax element). The coding tool usage can be modified at the slice header level.

[0093] When both the main and auxiliary bitstreams are available via a DASH-based delivery system, DASH Preselections may be used to signal the main and auxiliary bitstreams that are to be merged and rendered together.

[0094] 3.Problems The following issues have been observed with support for picture-in-picture services in DASH:

[0095] 1) It is possible to use DASH Preselections for a picture-in-picture experience, but there is a lack of indication of such a purpose.

[0096] 2) For example, as mentioned above, it is possible to use VVC sub-pictures for a picture-in-picture experience, but it is also possible to use other codecs and methods without being able to replace the coded video data units representing the target picture-in-picture area in the main video with the corresponding video data units in the auxiliary video. Therefore, it is necessary to indicate whether such a replacement is possible.

[0097] 3) If the above replacement is possible, the client needs to know which coded video data units in each picture of the main video represent the target picture-in-picture region so that the replacement can be performed. Therefore, this information needs to be signaled.

[0098] 4) For content selection purposes, and possibly other purposes, it is useful to signal the location and size of the target picture-in-picture area within the main video.

[0099] 4. Embodiments of the present disclosure In order to solve the above problems, the methods summarized as follows are disclosed. The embodiments should be considered as examples to illustrate the general concept, and should not be interpreted narrowly. Moreover, these embodiments can be applied individually or in any combination.

[0100] 1) To solve the first problem, for example, a new descriptor named Picture-in-Picture Descriptor could be defined, whose presence in the preselection indicates that the purpose of the preselection is to provide a Picture-in-Picture experience.

[0101] In one example, this new descriptor is defined as an auxiliary descriptor by extending the SupplementalProperty element.

[0102] b. In one example, this new descriptor is identified by the value of the @schemeIdUri attribute equal to “urn:mpeg:dash:pinp:2021” or a similar URN string.

[0103] 2) To solve the second problem, a new picture-in-picture descriptor signals an indication of whether the coded video data units representing the target picture-in-picture area in the main video can be replaced by the corresponding video data units from the auxiliary video.

[0104] In one example, this indication is signaled by an attribute of a new picture-in-picture descriptor element, named, for example, @dataUnitsReplacable.

[0105] 3) To solve the third problem, in a new picture-in-picture descriptor, a list of region IDs is signaled that indicates which coded video data units in each picture of the main video represent the target picture-in-picture region.

[0106] In one example, the list of region IDs is signaled as an attribute of a new picture-in-picture descriptor element, for example named @regionIds.

[0107] 4) To solve the fourth problem, a new picture-in-picture descriptor signals information about the position and size within the main video for embedding / overlaying an auxiliary video whose size is smaller than the main video.

[0108] In one example, this is signaled by signaling 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.

[0109] b. In one example, this is signaled by a number of attributes of a new picture-in-picture descriptor element.

[0110] 5. Embodiment The following are some example embodiments of the disclosed topics summarized above in Section 4, and some of their subtopics.

[0111] 5.1 Embodiment 1 This embodiment relates to all of the disclosed items summarized above in Section 4 and subitems thereof.

[0112] 5.1.1 DASH Picture-in-Picture Descriptor A SupplementalProperty element with an @schemeIdUri attribute equal to "urn:mpeg:dash:pinp:2021" is called a Picture-in-Picture Descriptor.

[0113] There can be at most one Picture-in-Picture descriptor at a Preselection level. The presence of a Picture-in-Picture descriptor in a Preselection indicates that the purpose of the Preselection is to provide a Picture-in-Picture experience.

[0114] Picture-in-picture services provide the ability to include a smaller spatial resolution video within a larger spatial resolution video, where the different bitstreams / representations of the main video are included in the Main Adaptation Set of preselection and the different bitstreams / representations of the auxiliary video are included in the Partial Adaptation Set of preselection.

[0115] If a picture-in-picture descriptor is present in the preselection and the picInPicInfo@dataUnitsReplacable attribute is present and equal to true, the client may choose to replace the coded video data units representing the target picture-in-picture region in the main video with the corresponding coded video data units of the auxiliary video before sending them to the video decoder. In this way, it is possible to avoid decoding the main and auxiliary videos separately. For a particular picture in the main video, the corresponding video data units of the auxiliary video are all the coded video data units in the decode-time-sync-samples of the auxiliary video representation.

[0116] For VVC, if the client chooses to replace the coded video data units (which are VCL NAL units) that represent the target picture-in-picture area in the main video with the corresponding VCL NAL units in the auxiliary video before sending to the video decoder, then for each sub-picture ID, the VCL NAL units in the main video are replaced with the corresponding VCL NAL units with that sub-picture ID in the auxiliary video without changing the order of the corresponding VCL NAL units.

[0117] The @value attribute of a picture-in-picture descriptor should not be present. A picture-in-picture descriptor contains a picInPicInfo element with attributes as specified in the following table.

[0118] [Table 1] TIFF2024534615000003.tif137166

[0119] 5.3.11.6.3 XML syntax for PicInpicInfo element [Table 2]

[0120] FIG. 8 shows a flowchart of a method 800 for video processing according to some embodiments of the present disclosure. The method 800 may be implemented in a first device. For example, the method 800 may be embedded in a client or a receiver. The term "client" as used herein may refer to computer hardware or software that accesses services made available by a server as part of a client-server model of a computer network. By way of example only, the client may be a smartphone or tablet. In some embodiments, the first device may be implemented in the destination device 120 shown in FIG. 1.

[0121] At block 810, the first device receives a metadata file from the second device. The metadata file may contain important information about the video bitstream, such as profile, tier, level, etc. For example, the metadata file may be a DASH Media Presentation Description (MPD) for content selection purposes, such as selection of appropriate media segments for both initialization at the start of a streaming session and stream adaptation during a streaming session.

[0122] In block 820, the first device determines a descriptor in a data structure in a metadata file. The presence of the descriptor indicates that the data structure is for providing a picture-in-picture service. In other words, if the data structure includes the descriptor, it means that the data structure is for providing a picture-in-picture service. A picture-in-picture service may provide the ability to include a video of a smaller spatial resolution within a video of a larger spatial resolution. In this way, the use of DASH Preselection for a picture-in-picture experience may be indicated.

[0123] The data structure indicates a selection of a first set of bitstreams of a first video and a second set of bitstreams of a second video for a picture-in-picture service. The first video may also be referred to as a "main video" and the second video may also be referred to as an "auxiliary video." Picture-in-picture services may provide the ability to include a video of a smaller spatial resolution (i.e., a second video or an auxiliary video) within a video of a larger spatial resolution (i.e., a first video or a main video). In some embodiments, the data structure may be a Preselection of a metadata file. In other words, a descriptor may exist at a Preselection level. A preselection may define an audio and / or video experience created by one or more audio and / or video components that are decoded and rendered simultaneously. As an example, in some embodiments, up to one descriptor may exist at a Preselection level. In some embodiments, a metadata file may include one or more Preselections.

[0124] In some embodiments, a descriptor may be defined as a supplemental descriptor based on a SupplementalProperty element in a metadata file. In some embodiments, a descriptor may be identified by a value of an attribute equal to a Uniform Resource Name (URN) string. For example, the attribute is a schemeIdUri attribute. In some embodiments, the UR string may be "urn:mpeg:dash:pinp:2022". For example, the UR string may be "urn:mpeg:dash:pinp:2021" or "urn:mpeg:dash:pinp:2023", although the UR string may be any suitable value. As an example, a SupplementalProperty element with an @schemeIdUri attribute equal to "urn:mpeg:dash:pinp:2022" may be referred to as a descriptor, i.e., a picture-in-picture descriptor.

[0125] In some embodiments, the main adaptation set of the data structure may include a first set of bitstreams of a first video, and the partial adaptation set of the data structure may include a second set of bitstreams of an auxiliary video. For example, as discussed above, picture-in-picture services may provide the ability to include a video of a smaller spatial resolution (i.e., a second video or auxiliary video) within a video of a larger spatial resolution (i.e., a first video or main video). In this case, the different bitstreams / representations of the first video may be included in the Main Adaptation Set of the preselection, and the different bitstreams / representations of the second video may be included in the Partial Adaptation Set of the preselection.

[0126] In some embodiments, the descriptor may indicate location and size information of a region in the first video for embedding or overlaying the second video. In this case, the size of the region may be smaller than that of the first video. In some embodiments, the region may include luma samples or luma pixels. In this way, content can be appropriately selected based on the location and size information of the region.

[0127] In some embodiments, the position information may indicate a horizontal position of the top left corner of the region and a vertical position of the top left corner of the region. Alternatively or in addition, the size information may indicate a width of the region and a height of the region. In one example, this is signaled by a four-value signal (x, y, width, height), where x, y specify the position of the top left corner of the region and width and height specify the width and height of the region. For example, as shown in FIG. 9A, the position information may indicate a horizontal position X and a vertical position Y of a picture-in-picture region 901 in the first video 910. The size information may also include a width 902 and a height 903 of the picture-in-picture region 901.

[0128] In some embodiments, a set of attributes of an element in the descriptor may indicate location and size information of the region. For example, Table 2 below shows an example of a picture-in-picture element with its attributes in the descriptor. It should be noted that Table 2 is only an example and is not limiting.

[0129] [Table 3]

[0130] In some embodiments, an indication to indicate whether a first set of coded video data units representing a picture-in-picture region in the first video are replaceable by a second set of coded video data units in the second video may be determined from a metadata file. In some embodiments, the indication may be an attribute of an element in a descriptor (e.g., a picture-in-picture descriptor) in the metadata file. For example, the attribute may be dataUnitsReplacable. In this manner, separate decoding of the main video and the auxiliary video may be avoided. Also, transmission resources for transmitting the main video and the auxiliary video may be saved.

[0131] In some examples, the instructions may enable the first set of coded video data units to be replaced by the second set of coded video data units. For example, if the instructions indicate that the first set of coded video data units representing the target picture-in-picture region in the first video can be replaced by the second set of coded video data units in the second video, the first set of coded video data units may be replaced with the second set of coded video data units. In this case, the main video including the second set of coded video data units from the auxiliary video may be decoded. As an example, if a descriptor (i.e., a picture-in-picture descriptor) is present in Preselection and a picInPicInfo@dataUnitsReplacable attribute is present and equal to true, the first device may select to replace the coded video data units representing the target picture-in-picture region in the main video with corresponding coded video data units of the auxiliary video before transmitting to the video decoder. For a particular picture in the main video, the corresponding video data units of the auxiliary video may be all the coded video data units in the decoded-time-synchronized samples in the auxiliary video representation. For example, Table 3 below shows an example of a picture-in-picture element with its attributes in the descriptor. It should be noted that Table 3 is merely an example and not a limitation.

[0132] [Table 4]

[0133] Alternatively, or in addition, a list of region identifiers (IDs) for indicating a first set of coded video data units in each picture of the first video representing the target picture-in-picture region may be determined from the metadata. In some embodiments, the list of region IDs may be an attribute of an element in a descriptor in the metadata file. For example, the attribute may be regionIds. In some embodiments, the region IDs in the list of region IDs may be sub-picture IDs. The target picture-in-picture region may be replaced by a second set of coded video units in the second video. For example, the list of region IDs enables the first set of coded video data units to be replaced by the second set of coded video units. In some embodiments, the first set of coded video data units may include a first set of video coding layer network abstraction layer (VCL NAL) units, and the second set of coded video data units may include a second set of VCL NAL units. In this way, the first device knows which coded video data units in each picture of the primary video represent the target picture-in-picture region and can perform the substitution.

[0134] In some embodiments, for a region ID in the list of region IDs, a first set of coded video data units having the region ID in the first video may be replaced with a second set of coded video units having the region ID in the second video. As shown in FIG. 9B, the first video may include subpictures having subpic IDs 00, 01, 02, 03. For example, if the list of region IDs in the metadata file includes subpicture ID 00, a coded video data unit having subpicture ID 00 in the first video 910 may be replaced with a second coded video unit having subpicture ID 00 in the second video 920.

[0135] As an example, in the case of VVC, if the first device chooses to replace the coded video data units (which are VCL NAL units) that represent the target picture-in-picture region in the main video with the corresponding VCL NAL units of the auxiliary video before sending to the video decoder, then for each sub-picture ID, the VCL NAL units in the main video may be replaced with the corresponding VCL NAL units with that sub-picture ID in the auxiliary video without changing the order of the corresponding VCL NAL units. For example, Table 4 below shows an example of a picture-in-picture element with its attributes in the descriptor. It should be noted that Table 4 is merely an example and not a limitation.

[0136] [Table 5]

[0137] FIG. 10 shows a flowchart of a method 1000 for video processing according to some embodiments of the present disclosure. The method 1000 may be implemented in a second device. For example, the method 1000 may be embedded in a server or a transmitter. The term "server" as used herein may refer to a computing-capable device where a client accesses a service over a network. The server may be a physical computing device or a virtual computing device. In some embodiments, the second device may be implemented in the source device 110 shown in FIG. 1.

[0138] At block 1010, the second device determines a descriptor in a data structure in a metadata file. The metadata file may include important information about the video bitstream, such as profile, tier, level, etc. For example, the metadata file may be a DASH Media Presentation Description (MPD) for content selection purposes, such as selection of appropriate media segments for both initialization at the start of a streaming session and stream adaptation during a streaming session. The presence of the descriptor indicates that the data structure is for providing a picture-in-picture service. In other words, if the data structure includes the descriptor, it means that the data structure is for providing a picture-in-picture service. Picture-in-picture services may provide the ability to include a smaller spatial resolution video within a larger spatial resolution video.

[0139] In block 1020, the second device sends the metadata file to the first device, thus indicating the use of DASH Preselection for the picture-in-picture experience.

[0140] The data structure indicates a selection of a first set of bitstreams of a first video and a second set of bitstreams of a second video for a picture-in-picture service. In some embodiments, the data structure may be a Preselection of a metadata file. In other words, a descriptor may exist at a Preselection level. A Preselection may define an audio and / or video experience created by one or more audio and / or video components that are decoded and rendered simultaneously. As an example, in some embodiments, up to one descriptor may exist at a Preselection level. In some embodiments, a metadata file may include one or more Preselections.

[0141] In some embodiments, a descriptor may be defined as a supplemental descriptor based on a SupplementalProperty element in a metadata file. In some embodiments, a descriptor may be identified by a value of an attribute equal to a Uniform Resource Name (URN) string. For example, the attribute is a schemeIdUri attribute. In some exemplary embodiments, the UR string may be "urn:mpeg:dash:pinp:2022". For example, the UR string may be "urn:mpeg:dash:pinp:2021" or "urn:mpeg:dash:pinp:2023", although the UR string may be any suitable value. As an example, a SupplementalProperty element with an @schemeIdUri attribute equal to "urn:mpeg:dash:pinp:2022" may be referred to as a descriptor, i.e., a picture-in-picture descriptor.

[0142] In some embodiments, the main adaptation set of the data structure may include a first set of bitstreams for a first video, and the partial adaptation set of the data structure may include a second set of bitstreams for a second video. For example, as discussed above, picture-in-picture services may provide the ability to include a video of a smaller spatial resolution (i.e., a second or auxiliary video) within a video of a larger spatial resolution (i.e., a first or main video). In this case, the different bitstreams / representations of the first video may be included in the Main Adaptation Set of the preselection, and the different bitstreams / representations of the second video may be included in the Partial Adaptation Set of the preselection.

[0143] In some embodiments, the descriptor may indicate location and size information of a region in the first video for embedding or overlaying the second video. In this case, the size of the region may be smaller than that of the first video. In some embodiments, the region may include luma samples or luma pixels. In this way, content can be appropriately selected based on the location and size information of the region.

[0144] In some embodiments, the position information may indicate the horizontal location of the top left corner of the region and the vertical location of the top left corner of the region. Alternatively or in addition, the size information may indicate the width of the region and the height of the region. In one example, this is signaled by a four-value signal (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. In some embodiments, a set of attributes of an element in the descriptor may indicate the position and size information of the region.

[0145] In some embodiments, the metadata file may include an indication for indicating whether a first set of coded video data units representing a target picture-in-picture region in the first video are replaceable by a second set of coded video data units in the second video. In some embodiments, the indication may be an attribute of an element in a descriptor (e.g., a picture-in-picture descriptor) in the metadata file. For example, the attribute may be dataUnitsReplacable. In this way, separate decoding of the first video and the second video may be avoided. In some embodiments, the coded video data units associated with the target picture-in-picture region of the first video may not be transmitted to the first device. Thus, transmission resources for transmitting the main video and the second video may also be saved.

[0146] Alternatively or in addition, the metadata file may include a list of region identifiers (IDs) to indicate a first set of coded video data units in each picture of the first video that represent the target picture-in-picture region, which may be determined from the metadata. In some embodiments, the list of region IDs may be attributes of an element in a descriptor in the metadata file. For example, the attribute may be regionIds. In some embodiments, a region ID in the list of region IDs may be a sub-picture ID. The target picture-in-picture region may be replaced by a second set of coded video units in the second video. In some embodiments, the first set of coded video data units may include a first set of video coding layer network abstraction layer (VCL NAL) units, and the second set of coded video data units may include a second set of VCL NAL units. In this way, the first device knows which coded video data units in each picture of the main video represent the target picture-in-picture region and can perform the replacement.

[0147] The embodiments of the present disclosure can be implemented individually. Alternatively, the embodiments of the present disclosure can be implemented in any suitable combination. Implementations of the present disclosure can be described in view of the following clauses, the features of which can be combined in any reasonable manner.

[0148] Clause 1. A video processing method comprising: receiving at a first device a metadata file from a second device; and determining a descriptor in a data structure within the metadata file, the presence of the descriptor indicating that the data structure is for providing a picture-in-picture service, and the data structure indicating a selection of a first set of bitstreams of a first video and a second set of bitstreams of a second video for the picture-in-picture service.

[0149] Clause 2. A video processing method, comprising: determining, at a second device, a descriptor in a data structure in a metadata file, the presence of the descriptor indicating the data structure is for providing a picture-in-picture service, the data structure indicating a selection of a first set of bitstreams of a first video and a second set of bitstreams of a second video for the picture-in-picture service; and transmitting the metadata file to the first device.

[0150] Clause 3. The method of clause 1 or 2, wherein the descriptor is defined as a supplementary descriptor based on a SupplementalProperty element in the metadata file.

[0151] Clause 4. The method of any one of clauses 1 to 3, wherein the descriptor is identified by a value of an attribute that is equal to a Uniform Resource Name (URN) string.

[0152] Clause 5. The method of clause 4, wherein the attribute is a schemeIdUri attribute and the URN string is "urn:mpeg:dash:pinp:2022".

[0153] Clause 6. A method according to any one of clauses 1 to 5, wherein a primary adaptation set of the data structure includes a first set of bitstreams of the first video and a partial adaptation set of the data structure includes a second set of bitstreams of the second video.

[0154] Clause 7. A method according to any one of clauses 1 to 6, wherein the descriptor indicates position information and size information of an area in the first video for embedding or overlaying the second video, and the size of the area is smaller than that of the first video.

[0155] Clause 8. The method of clause 7, wherein the position information indicates a horizontal position of a top left corner of the region and a vertical position of a top left corner of the region.

[0156] Clause 9. The method of clause 7, wherein the size information indicates a width of the region and a height of the region.

[0157] Clause 10. The method of clause 7, wherein a set of attributes of an element in the descriptor indicates position and size information of the region.

[0158] Clause 11. A method according to any one of clauses 7 to 10, wherein the region comprises a luminance sample or a luminance pixel.

[0159] Clause 12. The method according to any one of clauses 1 to 10, wherein the data structure is a preselection of an MPD file.

[0160] Clause 13. An apparatus for processing video data comprising a processor and a non-transitory memory comprising instructions which, when executed by the processor, cause the processor to perform a method according to any one of clauses 1 to 12.

[0161] Clause 14. A non-transitory computer-readable storage medium storing instructions that cause a processor to perform the method of any one of clauses 1 to 12.

[0162] Exemplary Devices 11 illustrates a block diagram of a computing device 1100 capable of implementing various embodiments of the present disclosure. The computing device 1100 may be implemented as or included in the source device 110 (or the video encoder 114 or 200) or the destination device 120 (or the video decoder 124 or 300).

[0163] It will be appreciated that the computing device 1100 shown in FIG. 11 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.

[0164] 11, the computing device 1100 includes a general-purpose computing device 1100. The computing device 1100 may include at least one or more processors or processing units 1110, a memory 1120, a storage unit 1130, one or more communication units 1140, one or more input devices 1150, and one or more output devices 1160.

[0165] In some embodiments, the computing device 1100 may be implemented as any user terminal or server terminal having computing capabilities. The server terminal may be a server provided by a service provider, a large-scale computing device, etc. The user terminal may be any type of mobile, fixed, or portable terminal, including, for example, a mobile phone, a station, a unit, a device, a multimedia computer, a multimedia tablet, an Internet node, a communicator, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet 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 positioning device, a television receiver, a radio broadcast receiver, an electronic book device, a gaming device, or any combination thereof (including accessories and peripherals of these devices, or any combination thereof). It is contemplated that the computing device 1100 may support any type of interface to a user, such as "wearable" circuitry.

[0166] The processing unit 1110 may be a physical or virtual processor and may perform various processes based on programs stored in the memory 1120. In a multiprocessor system, multiple processing units execute computer-executable instructions in parallel to increase the parallel processing capabilities of the computing device 1100. The processing unit 1110 may be referred to as a central processing unit (CPU), a microprocessor, a controller, or a microcontroller.

[0167] Computing device 1100 typically includes a variety of computer storage media. Such media may be any media accessible by computing device 1100, including, but not limited to, volatile and non-volatile media, or removable and non-removable media. Memory 1120 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), flash memory), or any combination thereof. Storage unit 1130 may be any removable or non-removable medium that can be used to store information and / or data and that can be accessed by computing device 1100, and may include a machine-readable medium, such as a memory, a flash memory drive, a magnetic disk, or another medium.

[0168] The computing device 1100 may further include additional removable / non-removable, volatile / non-volatile memory media. Although not shown in FIG. 11, a magnetic disk drive that reads from and writes to a removable non-volatile magnetic disk and an optical disk drive that reads from and writes to a removable non-volatile optical disk may be provided. In such a case, each drive may be connected to a bus (not shown) via one or more data media interfaces.

[0169] The communication unit 1140 communicates with further computing devices via a communication medium. Furthermore, the functionality of the components in the computing device 1100 may be implemented by a single computing cluster or multiple computing machines that may communicate via a communication connection. Thus, the computing device 1100 may operate in a networked environment using logical connections with one or more other servers, networked personal computers (PCs), or further general network nodes.

[0170] The input device(s) 1150 may be one or more of a variety of input devices such as a mouse, a keyboard, a tracking ball, a voice input device, etc. The output device(s) 1160 may be one or more of a variety of output devices such as a display, a speaker, a printer, etc. The communication unit 1140 may enable the computing device 1100 to further communicate with one or more external devices (not shown), such as a storage device and a display device, one or more devices allowing a user to interact with the computing device 1100, or any device (such as a network card, a modem, etc.) allowing the computing device 1100 to communicate with one or more other computing devices, as needed. Such communication may be performed via an input / output (I / O) interface (not shown).

[0171] In some embodiments, instead of being integrated into a single device, some or all of the components of the computing device 1100 may be located in a cloud computing architecture. In a cloud computing architecture, the components may be provided remotely and work together to perform the functions 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 configuration of the systems or hardware providing these services. In various embodiments, cloud computing provides services over a wide area network (such as the Internet) using appropriate protocols. For example, a cloud computing provider provides applications over a wide area network that can be accessed through a web browser or other computing components. The software or components of the cloud computing architecture and corresponding data may be stored on servers in remote locations. Computing resources in a cloud computing environment may be consolidated or distributed at remote data center locations. The cloud computing infrastructure may act as a single access point for users, but provide services through a shared data center. Thus, a cloud computing architecture may be used to provide the components and functions described herein from a service provider in a remote location. Alternatively, they may be provided from a conventional server or installed directly or otherwise on the client device.

[0172] The computing device 1100 may be used to perform video encoding / decoding in embodiments of the present disclosure. The memory 1120 may include one or more video encoding modules 1125 having one or more program instructions. These modules are accessible and executable by the processing unit 1110 to perform the functions of various embodiments described herein.

[0173] In an example embodiment performing video encoding, the input device 1150 may receive video data to be encoded as an input 1170. The video data may be processed, for example, by the video encoding module 1125 to generate an encoded bitstream. The encoded bitstream may be provided as an output 1180 via the output device 1160.

[0174] In an example embodiment performing video decoding, the input device 1150 may receive an encoded bitstream as an input 1170. The encoded bitstream may be processed, for example, by the video encoding module 1125 to generate decoded video data. The decoded video data may be provided as an output 1180 via the output device 1160.

[0175] Although the present disclosure has been particularly shown and described with reference to preferred embodiments thereof, it will be understood by those skilled in the art 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. Such variations are intended to be within the scope of the present application. Accordingly, the foregoing description of the embodiments of the present application is not intended to be limiting.

Claims

1. 1. A video processing method comprising the steps of: receiving, at the first device, a metadata file from the second device; determining a descriptor in a data structure in the metadata file, the presence of the descriptor indicating that the data structure is for providing a picture-in-picture service, the data structure indicating a selection of a first set of bitstreams for a first video and a second set of bitstreams for a second video for the picture-in-picture service.

2. 1. A video processing method comprising the steps of: determining, at the second device, a descriptor in a data structure in a metadata file, the presence of the descriptor indicating that the data structure is for providing a picture-in-picture service, the data structure indicating a selection of a first set of bitstreams of a first video and a second set of bitstreams of a second video for the picture-in-picture service; transmitting the metadata file to a first device.

3. The method of claim 1 or 2, wherein the descriptor is defined as an auxiliary descriptor based on a SupplementalProperty element in the metadata file.

4. A method according to any preceding claim, wherein the descriptor is identified by a value of an attribute which is equal to a Uniform Resource Name (URN) string.

5. The attribute is a schemeIdUri attribute, The method of claim 4 , wherein the URN string is “urn:mpeg:dash:pinp:2022”.

6. a primary application of the data structure including a first set of bitstreams of the first video; The method of any one of claims 1 to 5, wherein the partial adaptation set of the data structure comprises a second set of bitstreams of the second video.

7. The method of any one of claims 1 to 6, wherein the descriptor indicates position information and size information of an area in the first video for embedding or overlaying the second video, and the size of the area is smaller than that of the first video.

8. The method of claim 7 , wherein the position information indicates a horizontal location of a top left corner of the region and a vertical location of a top left corner of the region.

9. The method of claim 7 , wherein the size information indicates a width of the region and a height of the region.

10. The method of claim 7 , wherein a set of attributes of an element in the descriptor indicates position and size information of the region.

11. The method according to any one of claims 7 to 10, wherein the regions comprise luminance samples or luminance pixels.

12. The method according to any one of claims 1 to 11, wherein the data structure is a preselection of the metadata files.

13. 1. An apparatus for processing video data comprising a processor and a non-transitory memory with instructions, comprising: Apparatus, wherein the instructions, when executed by the processor, cause the processor to perform the method of any one of claims 1 to 12.

14. A non-transitory computer readable storage medium storing instructions for causing a processor to perform the method of any one of claims 1 to 12.

Citation Information

Patent Citations

  • Picture-in-picture methods for multimedia applications

    JP2013538482A

  • Method, device and computer program for improving rendering display during streaming of timed media data

    JP2019531662A

  • Controlling element presence in a video rendering

    US20190068911A1