Method and device for video processing and medium
By adjusting the transmission method of the numTracks field and the selection_priority value in the PredictionInformationBox in ISOBMFF, the problems of redundant and unclear priority of preselection signaling in the existing technology are solved, and more efficient preselection description information signaling is achieved.
Patent Information
- Application Number
- CN202380021927.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-02-15
- Filing Date
- 2023-02-14
- Publication Date
- 2024-10-01
AI Technical Summary
The track grouping mechanism in the existing ISOBMFF used for pre-selection signaling has problems of redundancy and unclear priority, resulting in low efficiency of pre-selection description information signaling.
In the PredictionInformationBox, the numTracks field is signaled before all selectable boxes and requires the same selection_priority value in all tracks that contribute to the preselection. The presence and priority of the preselection description information are controlled through track-level flags to ensure preselection. Describes appropriate signaling of information.
Redundant information is reduced, effective signaling of pre-selected description information is ensured, and signaling efficiency and priority accuracy are improved.
Smart Images

Figure CN118743231A_ABST
Abstract
Description
Incorporated by Reference
[0001] This application claims the benefit of priority to U.S. Provisional Application No. 63 / 310,433, filed on February 15, 2022. The disclosure of the prior application is incorporated herein by reference in its entirety. Technical Field
[0002] Embodiments of the present disclosure relate generally to video processing techniques, and more particularly, to signaling of pre-selected descriptive information in media files. Background Art
[0003] Media streaming applications are typically based on Internet Protocol (IP), Transmission Control Protocol (TCP), and Hypertext Transfer Protocol (HTTP) transport methods, and typically rely on file formats such as the ISO Base Media File Format (ISOBMFF). One such streaming system is Dynamic Adaptive Streaming over HTTP (DASH). In DASH, there may be multiple representations of video and / or audio data for multimedia content, and 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 preselection is a set of one or more media components representing a version of a media presentation that can be selected by a user for simultaneous decoding and presentation. Therefore, the signaling of preselection description information in a media file is worth studying. Summary of the invention
[0004] The disclosed embodiment provides a scheme for video processing. In a first aspect, a method for video processing is proposed. The method includes: performing conversion between a bitstream of a video and a media file of the video, wherein a first data structure in the media file includes a first indication and at least one second data structure describing a preselection in the media file, and the first indication is transmitted with a signal before a group of second data structures, and the first indication specifies the number of non-alternative tracks grouped by a preselected track group for a preselection.
[0005] According to the method of the first aspect of the present disclosure, the first indication is signaled before the second data structure set. Compared with the conventional solution in which the first indication is signaled after the second data structure set, the proposed method can advantageously ensure appropriate signaling of the pre-selected description information.
[0006] In a second aspect, a device for video processing is provided. The device includes a processor and a non-volatile memory having instructions thereon. The instructions, when executed by the processor, cause the processor to perform the method according to the first aspect of the present disclosure.
[0007] In a third aspect, a non-transitory computer-readable storage medium is provided, wherein the non-transitory computer-readable storage medium stores instructions, which enable a processor to execute the method according to the first aspect of the present disclosure.
[0008] In a fourth aspect, another non-transitory computer-readable recording medium is provided. The non-transitory computer-readable recording medium stores a bitstream of a video, the bitstream being generated by a method performed by a video processing device. The method includes: performing conversion between the bitstream and a media file of the video, wherein a first data structure in the media file includes a first indication and at least one second data structure describing a preselection in the media file, and the first indication is signaled before a group of the second data structures, and the first indication specifies the number of non-alternative tracks grouped by the preselected track group for the preselection.
[0009] In a fifth aspect, a method for storing a bitstream of a video is provided. Converting between the bitstream and a media file of the video is performed; and storing the bitstream in a non-transitory computer-readable recording medium, wherein a first data structure in the media file includes a first indication and at least one second data structure describing a preselection in the media file, and the first indication is signaled before a set of the second data structures, and the first indication specifies the number of non-alternative tracks grouped by the preselected track group for the preselection.
[0010] In a sixth method, another non-transitory computer-readable recording medium is provided. The non-transitory computer-readable recording medium stores a media file of a video, the media file being generated by a method performed by a video processing device. The method includes: performing conversion between a bitstream of the video and the media file, wherein a first data structure in the media file includes a first indication and at least one second data structure describing a preselection in the media file, and the first indication is signaled before a group of the second data structures, and the first indication specifies the number of non-alternative tracks grouped by the preselected track group for the preselection.
[0011] In a seventh aspect, a method for storing a media file of a video is provided. The method includes: performing conversion between a bitstream of the video and a media file; and storing the media file in a non-transitory computer-readable recording medium, wherein a first data structure in the media file includes a first indication and at least one second data structure describing a preselection in the media file, and the first indication is signaled before a group of the second data structures, and the first indication specifies the number of non-alternative tracks grouped by the preselected track group for the preselection.
[0012] This disclosure is provided to introduce a selection of concepts in a simplified form, which are further described below in the Detailed Description. This disclosure 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
[0013] The above and other objects, features and advantages of the exemplary embodiments of the present disclosure will become more apparent through the following detailed description with reference to the accompanying drawings.In the exemplary embodiments of the present disclosure, the same reference numerals generally refer to the same components.
[0014] Figure 1 A block diagram of an example video encoding and decoding system according to some embodiments of the present disclosure is shown;
[0015] Figure 2 A block diagram of a first example video encoder is shown according to some embodiments of the present disclosure;
[0016] Figure 3 A block diagram of an example video decoder is shown according to some embodiments of the present disclosure;
[0017] Figure 4 A flowchart showing a method for video processing according to some embodiments of the present disclosure; and
[0018] Figure 5 A block diagram of a computing device is shown in which various embodiments of the present disclosure may be implemented.
[0019] In the drawings, same or similar reference numbers generally refer to same or similar elements. DETAILED DESCRIPTION
[0020] The principle of the present disclosure will now be described with reference to some embodiments. It should be understood that these embodiments are described only for the purpose of illustrating and helping those skilled in the art to understand and implement the present disclosure, and do not imply any limitation on the scope of the present disclosure. In addition to the methods described below, the disclosure described herein can also be implemented in various ways.
[0021] In the following description and claims, unless otherwise defined, all scientific and technical terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the present disclosure belongs.
[0022] References in this disclosure to "one embodiment," "an embodiment," "an example embodiment," etc. indicate that the described embodiment may include a particular feature, structure, or characteristic, but not every embodiment must include the particular feature, structure, or characteristic. Furthermore, these phrases do not necessarily refer to the same embodiment. Furthermore, when a particular feature, structure, or characteristic is described in conjunction with an example embodiment, whether or not explicitly described, it is considered to be within the knowledge of those skilled in the art to affect such feature, structure, or characteristic in relation to other embodiments.
[0023] It should be understood that although the terms "first" and "second" etc. can be used to describe various elements, these elements should not be limited to these terms. These terms are only used to distinguish one element from another element. 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.
[0024] The terms used herein are only used for the purpose of describing specific embodiments and are not intended to limit the exemplary embodiments. As used herein, the singular forms "a", "an", and "the" are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the terms "including", "comprising", and / or "having" when used herein indicate the presence of the 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. Example Environment
[0025] Figure 1 1 is a block diagram illustrating an example video codec system 100 that may utilize the techniques of the present disclosure. As shown, the video codec system 100 may include a source device 110 and a destination device 120. The source device 110 may also be referred to as a video encoding device, and the destination device 120 may also be referred to as a video decoding device. In operation, the source device 110 may be configured to generate encoded video data, and the destination device 120 may be configured 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.
[0026] Video source 112 may include a source such as a video capture device. Examples of a video capture device include, but are not limited to, an interface that receives video data from a video content provider, a computer graphics system for generating video data, and / or combinations thereof.
[0027] 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 bit sequence that forms a coded representation of the video data. The bitstream may include coded pictures and associated data. The coded pictures are coded representations of pictures. The associated data may include sequence parameter sets, picture parameter sets, and other grammatical structures. The I / O interface 116 may include a modulator / demodulator and / or a transmitter. The coded video data may be directly transmitted to the destination device 120 via the network 130A via the I / O interface 116. The coded video data may also be stored on a storage medium / server 130B for access by the destination device 120.
[0028] The destination 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 the user. The display device 122 may be integrated with the destination device 120, or may be outside the destination device 120, which is configured to be connected to an external display device interface.
[0029] The video encoder 114 and the video decoder 124 may operate according to a video compression standard, such as the High Efficiency Video Codec (HEVC) standard, the Versatile Video Codec (VVC) standard, and other existing and / or further standards.
[0030] Figure 2 is a block diagram showing an example of a video encoder 200 according to some embodiments of the present disclosure, which may be Figure 1 An example of a video encoder 114 in the system 100 is shown.
[0031] Video encoder 200 may be configured to implement any or all of the techniques of this disclosure. Figure 2 In the example of , video encoder 200 includes multiple functional components. The techniques described in this disclosure can be shared between the various components of video encoder 200. In some examples, a processor can be configured to perform any or all of the techniques described in this disclosure.
[0032] In some embodiments, the video encoder 200 may include a partitioning unit 201, a prediction unit 202, a residual generation unit 207, a transformation unit 208, a quantization unit 209, an inverse quantization unit 210, an inverse transformation unit 211, a reconstruction unit 212, a buffer 213 and an entropy coding 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.
[0033] In other examples, the video encoder 200 may include more, fewer, or different functional components. In one example, the 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 a picture where the current video block is located.
[0034] Furthermore, although some components (such as the motion estimation unit 204 and the motion compensation unit 205) may be integrated, for the purpose of explanation, these components are described in detail below. Figure 2 are shown separately in the example.
[0035] The partitioning unit 201 may partition a picture into one or more video blocks. The video encoder 200 and the video decoder 300 may support various video block sizes.
[0036] The mode selection unit 203 may select one of a plurality of coding modes (intra-frame coding or inter-frame coding), for example, based on the error result, and provide the generated intra-frame coding block or inter-frame coding block to the residual generation unit 207 to generate residual block data, and to the reconstruction unit 212 to reconstruct the coding block for use as a reference picture. In some examples, the mode selection unit 203 may select a combination of intra-frame and inter-frame prediction (CIIP) modes, where the prediction is based on an inter-frame prediction signal and an intra-frame prediction signal. In the case of inter-frame prediction, the mode selection unit 203 may also select a resolution for the motion vector (e.g., sub-pixel precision or integer pixel precision) for the block.
[0037] To perform inter-frame prediction on the current video block, the 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 the buffer 213. The motion compensation unit 205 may determine a predicted video block for the current video block based on the motion information and decoded samples of pictures from the buffer 213 other than the picture associated with the current video block.
[0038] The motion estimation unit 204 and the motion compensation unit 205 may perform different operations on the current video block, for example, depending on whether the current video block is in an I slice, a P slice, or a B slice. As used herein, an "I slice" may refer to a portion of a picture consisting of macroblocks, all of which are based on macroblocks within the same picture. Furthermore, as used herein, in some aspects, a "P slice" and a "B slice" may refer to a portion of a picture consisting of macroblocks that are independent of macroblocks in the same picture.
[0039] In some examples, the motion estimation unit 204 may perform unidirectional prediction on the current video block, and the motion estimation unit 204 may search the reference pictures of list 0 or list 1 to find the reference video block for the current video block. The motion estimation unit 204 may then generate a reference index and a motion vector, the reference index indicating the reference picture in list 0 or list 1 containing the reference video block, and the motion vector indicating the spatial displacement between the current video block and the reference video block. The motion estimation unit 204 may output the reference index, the prediction direction indicator, and the motion vector as the motion information of the current video block. The motion compensation unit 205 may generate a predicted video block for the current video block based on the reference video block indicated by the motion information of the current video block.
[0040] Alternatively, in other examples, the motion estimation unit 204 may perform bidirectional prediction on the current video block. The motion estimation unit 204 may search the reference pictures in list 0 for a reference video block for the current video block, and may also search the reference pictures in list 1 for another reference video block for the current video block. The motion estimation unit 204 may then generate a plurality of reference indexes and a plurality of motion vectors, the plurality of reference indexes indicating a plurality of reference pictures in list 0 and list 1 containing a plurality of reference video blocks, and the plurality of motion vectors indicating a plurality of spatial displacements between the plurality of reference video blocks and the current video block. The 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. The motion compensation unit 205 may generate a predicted video block for the current video block based on the plurality of reference video blocks indicated by the motion information of the current video block.
[0041] In some examples, motion estimation unit 204 may output a complete set of motion information for use in a decoding process by a decoder. Alternatively, in some embodiments, motion estimation unit 204 may signal motion information of a current video block with reference to motion information of another video block. For example, motion estimation unit 204 may determine that motion information of a current video block is sufficiently similar to motion information of a neighboring video block.
[0042] In one example, motion estimation unit 204 may indicate to video decoder 300 a value in a syntax structure associated with the current video block that indicates that the current video block has the same motion information as another video block.
[0043] In another example, the motion estimation unit 204 may identify another video block and a motion vector difference (MVD) in a syntax structure associated with the current video block. The motion vector difference indicates the difference between the motion vector of the current video block and the motion vector of the indicated video block. The 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.
[0044] As discussed above, the video encoder 200 may signal motion vectors in a predictive manner.Two examples of prediction signaling techniques that may be implemented by the video encoder 200 include Advanced Motion Vector Prediction (AMVP) and merge mode signaling.
[0045] The intra prediction unit 206 may perform intra prediction on the current video block. When the intra prediction unit 206 performs intra prediction on the current video block, the 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 various syntax elements.
[0046] The residual generation unit 207 may generate residual data for the current video block by subtracting (e.g., indicated by a minus sign) the prediction video block(s) of the current video block from the current video block. The residual data of the current video block may include residual video blocks corresponding to different sample portions of samples in the current video block.
[0047] In other examples, such as in skip mode, there may be no residual data for the current video block, and the residual generation unit 207 may not perform a subtraction operation.
[0048] Transform processing unit 208 may generate one or more transform coefficient video blocks for a current video block by applying one or more transforms to the residual video block associated with the current video block.
[0049] 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.
[0050] The inverse quantization unit 210 and the inverse transform unit 211 may apply inverse quantization and inverse transform to the transform coefficient video block, respectively, to reconstruct a residual video block from the transform coefficient video block. The reconstruction unit 212 may add the reconstructed residual video block to corresponding samples from one or more prediction video blocks generated by the prediction unit 202 to generate a reconstructed video block associated with the current video block for storage in the buffer 213.
[0051] After reconstruction unit 212 reconstructs the video block, a loop filtering operation may be performed to reduce video blocking artifacts in the video block.
[0052] The entropy coding unit 214 may receive data from other functional components of the video encoder 200. When the entropy coding unit 214 receives the data, the entropy coding unit 214 may perform one or more entropy coding operations to generate entropy coded data and output a bitstream including the entropy coded data.
[0053] Figure 3 is a block diagram showing an example of a video decoder 300 according to some embodiments of the present disclosure, which may be Figure 1 An example of a video decoder 124 in the system 100 is shown.
[0054] Video decoder 300 may be configured to perform any or all of the techniques of this disclosure. Figure 3 In the example of , video decoder 300 includes multiple functional components. The techniques described in this disclosure can be shared between the various components of video decoder 300. In some examples, a processor can be configured to perform any or all of the techniques described in this disclosure.
[0055] exist Figure 3 In the example of , 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, and a reconstruction unit 306 and a buffer 307. In some examples, the video decoder 300 can perform a decoding process that is generally opposite to the encoding process described with respect to the video encoder 200.
[0056] 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, the motion information including motion vectors, motion vector precision, reference picture list indexes, and other motion information. The motion compensation unit 302 can determine the information, for example, by performing AMVP and merge mode. AMVP is used, including deriving several most likely candidates based on data and reference pictures of neighboring PBs. The motion information typically includes horizontal and vertical motion vector displacement values, one or two reference picture indexes, and in the case of prediction areas in B strips, also includes an 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 blocks that are adjacent in the spatial or temporal domain.
[0057] The motion compensation unit 302 may generate a motion compensated block, possibly performing interpolation based on interpolation filtering.An identifier for the interpolation filter used with sub-pixel precision may be included in the syntax element.
[0058] The motion compensation unit 302 may calculate interpolated values for sub-integer pixels of a reference block using interpolation filtering used by the video encoder 200 during encoding of the video block. The motion compensation unit 302 may determine the interpolation filtering used by the video encoder 200 based on received syntax information, and the motion compensation unit 302 may use the interpolation filtering to generate a prediction block.
[0059] The motion compensation unit 302 may use at least part of the syntax information to determine the size of blocks used to encode (multiple) frames and / or (multiple) slices of 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 encoded, 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 refer to a data structure that can be decoded independently of other slices of the same picture in terms of entropy coding, signal prediction, and residual signal reconstruction. A slice may be an entire picture, or it may be a region of a picture.
[0060] The intra prediction unit 303 may use, for example, an intra prediction mode received in the bitstream to form a prediction block from spatially neighboring blocks. 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.
[0061] The reconstruction unit 306 may obtain the decoded block, for example, by adding the residual block to the corresponding prediction block generated by the motion compensation unit 302 or the intra prediction unit 303. If necessary, a deblocking filter may also be applied to filter the decoded block in order to remove blocking artifacts. The decoded video block is then stored in a buffer 307, which provides reference blocks for subsequent motion compensation / intra prediction, and the buffer 307 also generates the decoded video for presentation on a display device.
[0062] Some exemplary embodiments of the present disclosure will be described in detail below. It should be noted that the section titles used in this document are for ease of understanding, rather than limiting the embodiments disclosed in the section to that section. In addition, although some embodiments are described with reference to general video codecs or other specific video codecs, the disclosed technology is also applicable to other video codec technologies. In addition, although some embodiments describe the video encoding steps in detail, it should be understood that the corresponding decoding steps of the unencoding will be implemented by the decoder. In addition, the term video processing includes video encoding or compression, video decoding or decompression, and video transcoding, in which video pixels are represented from one compression format to another compression format or at different compression bit rates. 1. Overview The present disclosure relates to media file formats. In particular, to the signaling of pre-selection description information in a media file, where the pre-selection is a set of one or more tracks and / or sub-tracks representing one version of a media presentation that can be selected by a user for simultaneous decoding and presentation. The ideas can be applied to media files according to any media file format (e.g., ISO Base Media File Format (ISOBMFF) and file formats derived from ISOBMFF), either alone or in various combinations. 2. Introduction 2.1. Video Codec Standards Video codec standards have evolved primarily through the development of the well-known ITU-T and ISO / IEC standards. ITU-T developed H.261 and H.263, ISO / IEC developed MPEG-1 and MPEG-4 Visual, and the two organizations jointly developed H.262 / MPEG-2 Video and H.264 / MPEG-4 Advanced Video Codec (AVC) and H.265 / HEVC standards. Since H.262, video codec standards have been based on a hybrid video codec structure, which uses temporal prediction plus transform codec. In order to explore future video codec technologies beyond HEVC, VCEG and MPEG jointly founded the Joint Video Exploration Team (JVET) in 2015. Since then, JVET has taken many new methods and put them into reference software called the Joint Exploration Model (JEM). JVET was later renamed the Joint Video Experts Group (JVET) when the Versatile Video Codec (VVC) project officially began. VVC is a new codec standard that targets a 50% bit rate reduction compared to HEVC, which was completed by JVET in its 19th meeting that ended in July 2020. The Versatile Video Codec (VVC) standard (ITU-T H.266 | ISO / IEC 23090-3) and the associated Versatile Supplementary Enhancement Information (VSEI) standard (ITU-T H.274 | ISO / IEC 23002-7) have been designed for use in the widest range of applications, including traditional uses such as television broadcasting, video conferencing or playback from storage media, as well as newer and more advanced use cases such as adaptive bitrate streaming, video region extraction, composition and merging of content from multiple coded video bitstreams, multi-view video, scalable layered codecs and viewport adaptive 360° immersive media. 2.2. File format standards Media streaming applications are typically based on IP, TCP, and HTTP transport methods, and typically rely on file formats such as the ISO Base Media File Format (ISOBMFF). One such streaming system is Dynamic Adaptive Streaming over HTTP (DASH). For using video formats with ISOBMFF and DASH, file format specifications for the video formats, such as the AVC file format and the HEVC file format, will be needed for encapsulation of video content in ISOBMFF tracks and in DASH representations and segments. Important information about the video bitstream (e.g., profile, tier, and level, among many others) will need to be exposed as file format level metadata and / or DASH Media Presentation Description (MPD) for content selection purposes, e.g., for selection of appropriate media segments for initialization at the start of a streaming session and for stream adaptation during a streaming session. Similarly, for using images with ISOBMFF, file format specifications for image formats, such as the AVC image file format and the HEVC image file format, will be needed. 2.3. Track grouping and entity grouping ISOBMFF specifies both track grouping and entity grouping. Track grouping is signaled based on track group boxes contained in track boxes. In other words, track grouping is track level signaling. The track group box enables the indication of groups of tracks, where the groups share specific characteristics, or the tracks within a group have specific relationships. The specific characteristics or relationships are indicated by the box type of the boxes contained in the track group box. The boxes contained in the track group box include identifiers that can be used to infer tracks belonging to the same track group. Tracks that contain contained boxes of the same type as in the track group box and have the same identifier values within these contained boxes belong to the same track group. An Entity Group is a grouping of Projects, which may also group Tracks. Entities in an Entity Group share specific properties or have specific relationships, as indicated by the Grouping Type. Entity Groups are indicated in a GroupListBox. Entity Groups specified in the GroupListBox of a file-level MetaBox refer to tracks or file-level Projects. Entity Groups specified in the GroupListBox of a movie-level MetaBox refer to movie-level Projects. Entity Groups specified in the GroupListBox of a track-level MetaBox refer to track-level Projects for that track. The GroupListBox contains EntityToGroupBoxes, each specifying an Entity Group. There are two key differences between track grouping and entity grouping: 1) Track grouping signaling is at the track level, while entity grouping for this purpose will be at the file level. This difference leads to the following advantages and disadvantages of the two mechanisms: a. A potential advantage of entity grouping is some bit savings. b. An arguable advantage of entity grouping is that less parsing is required to find out which tracks contribute to the preselection. c. Track grouping has the potential advantage of being more friendly to editing operations, such as removing some tracks without changing the track group box (unless some related parameters, such as the number of tracks, are added). 2) Entity grouping can also be applied to items, such as image items; track grouping cannot. This is an advantage of entity grouping if there is a use case with items in the pre-selection. 2.4. Preselection signaling in ISOBMFF A revision to the ISOBMFF standard is currently under development. The latest draft specification of this revision includes specification of some features for pre-selected signaling. The specification of the features used for pre-selected signaling is as follows. 3.1 Definitions and terms Preselect A set of one or more sub-tracks representing versions of a media presentation that can be selected by the user for simultaneous decoding / presentation. Subtrack Optional entities within tracks 8.3.4.4.3 Pre-selection group box 8.3.4.4.3.1 Definition The presence of a TrackGroupTypeBox with track_group_type equal to 'pres', also called PreselectionGroupBox in a track indicates that the track contributes to preselection. Tracks with the same track_group_id value within a PreselectionGroupBox are part of the same preselection. The pre-selection may be defined by language, genre or media specific attributes like audio presentation indication, object interactivity or channel layout. Attributes signaled in the pre-selection box shall take precedence over attributes signaled in the contributing tracks. All attributes that uniquely define a preselection shall be present in at least one preselection box in the preselection. If present in more than one preselection box in the preselection, the boxes containing the qualifying attributes shall be identical. Note 1: Preselection groups tracks of the same media type only. Tracks that contain a PreselectionGroupBox and do not contain all the required subtracks for at least one preselection will have the track in movie flag set to '0' in their track header box. This prevents players that do not understand the preselection box from playing the track, resulting in an incomplete experience. 8.3.4.4.3.2 Syntax 8.3.4.4.3.3 Semantics selection_priority is an integer declaring the priority of a preselection in case other differentiation, such as by a media language, is possible. A lower number indicates a higher priority. presel_info is an instance of PreselectionInformationBox() and provides information describing the preselection. presel_processing is an instance of PreselectionProcessingBox() and provides the information needed to process the preselection. 8.3.4.4.4 Pre-selection information box 8.3.4.4.4.1 Definition Box type: 'prsi' Container: Pre-selection box Mandatory: No Quantity: zero or one This box aggregates all semantic information about the preselection. 8.3.4.4.4.2 Syntax 8.3.4.4.4.3 Semantics When this preselection is selected, the box contains information about the experiences available. Boxes suitable for describing pre-selection include, but are not limited to, the following list of boxes defined in this specification: Audio object box (clause 8.3.4.4.5); Audio object selection box (clause 8.3.4.4.7); Extended language tags (clause 8.4.6); User data box (clause 8.10.1); Type of track (clause 8.10.4); Label boxes (clause 8.18.4); Audio rendering instructions (clause 8.18.5); Aisle layout (clause 12.2.4.1). If a UserData box is contained in a PredictionBox, it should not carry any of the above boxes. numTracks declares how many tracks contribute to the playback of the preselection. This value should match the number of tracks in the PreselectionGroupBox containing the same track_group_id. NOTE 1: Not all tracks contributing to a pre-selected playback may be delivered in the same file. NOTE 2: The Type Box may make use of the Role scheme defined in ISO / IEC 23009-1, clause 5.8.5.5, as it provides a common scheme for describing pre-selected characteristics. Additional media type specific boxes may be used to describe pre-selected attributes. 8.3.4.4.9 Pre-selection of processing boxes 8.3.4.4.9.1 Definition Box type: 'prsp' Container: PreselectionGroupBox Mandatory: Yes Quantity: Exactly one This box contains information on how to process the tracks that contributed to the preselection. Media type specific boxes may be used to describe further processing. 8.3.4.4.9.2 Syntax 8.3.4.4.9.3 Semantics preselection_tag is a codec-specific value that the playback system can provide to the codec to uniquely identify one of several preselections in the media. The order specifies the conformance rules for representations in a preselected adaptation set from the following enumerated set according to ISO / IEC 23009-1: 0: undefined; 1: Time sorting; 2: Complete sort. The track order defines the order of the tracks used for the merging process described below. sample_merge_flag equal to 1 indicates that this track is enabled to be merged with another track, as described below. Tracks that contribute to the chosen preselection and have sample_merge_flag equal to 1 will merge their samples according to the corresponding media type. If the media type does not specify this process, the contributing samples may be appended to the samples of the track with the next lower track_order. If the generated output samples from this merging process are to be embedded in a new track, the track should conform to a media type derived from the base media type. NOTE: For MPEG-H 3D Audio, this process is defined in ISO / IEC 23008-3 (clause 14.6). 3. Question Existing designs for signaling of pre-selection in ISOBMFF using a track grouping mechanism have the following issues with pre-selection description information signaling: 1) In PredictionInformationBox, the numTracks field should be signaled before all optional boxes, because the optional boxes should be at the end of the container box. 2) The selection_priority values in the instances of PreselectionGroupBox for different tracks contributing to the preselection are allowed to be different. When this happens, the priority of the preselection will be unclear. 3) Many pieces of preselection description information are repeated in all tracks that contribute to the preselection. It is desirable to reduce or avoid this redundancy. 4. Detailed solution In order to solve the above problems, the methods outlined below are disclosed. The solutions should be considered as examples to explain the general concept and should not be interpreted in a narrow way. In addition, these solutions can be applied individually or in combination in any way. 1) To solve the first problem, in PredictionInformationBox, the numTracks field is signaled before all optional boxes. 2) To solve the second problem, it is required that the value of selection_priority in the PreselectionGroupBox in all tracks contributing to the preselection be the same. 3) In order to solve the third problem, one or more aspects are given below: a. In one example, the presence of some or all segments of the pre-selected description information is controlled by a track-level flag, for which values of 1 and 0 respectively indicate the presence and absence of some or all segments of the pre-selected description information in the track. i. For at least one of the tracks contributing to the pre-selection, the flag is required to be equal to 1. ii. The flag is allowed to be equal to 1 for more than one of the tracks contributing to the pre-selection. iii. In one example, the numTracks field is considered to be a fragment of pre-selected description information. iv. In one example, the selection_priority field is considered to be a fragment of the pre-selection description information. v. In one example, the presence of each segment of pre-selected description information is controlled by its own presence flag. vi. In one example, the presence of all segments of pre-selected description information is controlled by a single presence flag. vii. In one embodiment, this presence flag is used One of the bits in the flags field of PreselectionGroupBox is specified. viii. In one example, such a presence indicator is provided by using The PreselectionGroupBox bit is specified, but the bit is not Bits of the flags field of the PreselectionGroupBox. b. In one example, an indication is included in the media file to indicate one of the tracks contributing to the pre-selection as a base track for the pre-selection, and all segments of the pre-selection description information of the pre-selection are signaled in the base track. i. In one example, in tracks other than the pre-selected base track, no pre-selected pre-selected description information is signaled. ii. In one example, the pre-selected base track is indicated in the following manner: the presence of pre-selected description information in the tracks contributing to the pre-selection is controlled by a track-level flag, for which values of 1 and 0 indicate the presence and absence of pre-selected description information in the track, respectively. 1. For only one of the tracks contributing to the preselection, the flag is allowed to be equal to 1. 2. For one of the contributing tracks, the flag is also required to be equal to 1. 3. The orbital with sign equal to 1 is the base orbital. iii. In one example, some or all segments of the pre-selected description information are allowed but not required to be signaled in tracks other than the pre-selected base track. 5. Examples The following are some example embodiments of some of the solution aspects outlined above in Section 4. Most of the relevant parts that have been added or modified are shown underlined, and some of the deleted parts are shown with strikethrough. There may be editorial changes and some other changes that are not highlighted. Parts that remain unchanged are not included. 5.1. First embodiment This embodiment is used for solution items 1, 2, 3.a, 3.ai-iv and 3.a.vi-vii 8.3.4.4.3 Pre-selection group box 8.3.4.4.3.1 Definition The presence of a TrackGroupTypeBox with track_group_type equal to 'pres', also called PreselectionGroupBox in a track indicates that the track contributes to preselection. Tracks with the same track_group_id value within a PreselectionGroupBox are part of the same preselection. The pre-selection may be defined by language, genre or media specific attributes like audio presentation indication, object interactivity or channel layout. Attributes signaled in the pre-selection box shall take precedence over attributes signaled in the contributing tracks. All attributes that uniquely define a preselection shall be present in at least one preselection box in the preselection. If present in more than one preselection box in the preselection, the boxes containing the qualifying attributes shall be identical. Note 1: Preselection groups tracks of the same media type only. Tracks that contain a PreselectionGroupBox and do not contain all the required subtracks for at least one preselection will have the track in movie flag set to '0' in their track header box. This prevents players that do not understand the preselection box from playing the track, resulting in an incomplete experience. 8.3.4.4.3.2 Syntax 8.3.4.4.3.3 Semantics Among all the tracks that contribute to the preselection, there should be at least one track for which PreselectionGro u The flags field of pBox satisfies the condition that (flags&1) is equal to 1. Note: More than one of the tracks contributing to the preselection is allowed to have (flaμs&1) equal to 1 The conditions of the PreselectionGroupBox's flaμs field. selection_priority is an integer declaring the priority of a preselection in case other differentiation, such as by a media language, is possible. A lower number indicates a higher priority. For all tracks contributing to the preselection, selection priori ty The values should be the same. presel_info is an instance of PreselectionInformationBox() and provides information describing the preselection. presel_processing is an instance of PreselectionProcessingBox() and provides the information needed to process the preselection. 8.3.4.4.4 Pre-selection information box 8.3.4.4.4.1 Definition Box type: 'prsp' Container: PreselectionGroupBox Mandatory: No Quantity: zero or one This box aggregates all semantic information about the preselection. 8.3.4.4.4.2 Syntax aligned(8)class PreselectionInformationBox extends FullBox('prsi',version=0,0){ unsigned int(8)numTracks; / / Describe the pre-selected box } 8.3.4.4.4.3 Semantics When this pre-selection is selected, the box contains information about what experiences are available. Boxes suitable for describing pre-selection include, but are not limited to, the following list of boxes defined in this specification: Audio object box (clause 8.3.4.4.5); Audio object selection box (clause 8.3.4.4.7); Extended language tags (clause 8.4.6); User data box (clause 8.10.1); Type of track (clause 8.10.4); Label boxes (clause 8.18.4); Audio presentation instructions (clause 8.18.5); Aisle layout (clause 12.2.4.1). If a UserData box is contained in a PredictionBox, it should not carry any of the above boxes. numTracks declares how many tracks contribute to the playback of the preselection. This value should match the number of tracks in the PreselectionGroupBox containing the same track_group_id. NOTE 1, not all tracks contributing to a pre-selected playback may be delivered in the same file. NOTE 2: The Type Box may make use of the Role scheme defined in ISO / IEC 23009-1, clause 5.8.5.5, as it provides a common scheme for describing pre-selected characteristics. Additional media type specific boxes may be used to describe pre-selected attributes. 5.2. Second embodiment This embodiment is used to solve solution items 1, 2, 3.a, 3.ai-iii, and 3.a.vi-vii. 8.3.4.4.3 Pre-selection group box 8.3.4.4.3.1 Definition The presence of a TrackGroupTypeBox with track_group_typed equal to 'pres', which is also called PreselectionGroupBox in a track indicates that the track contributes to preselection. Tracks with the same track_group_id value within a PreselectionGroupBox are part of the same preselection. The pre-selection may be defined by language, genre or media specific attributes like audio presentation indication, object interactivity or channel layout. Attributes signaled in the pre-selection box shall take precedence over attributes signaled in the contributing tracks. All attributes that uniquely define a preselection shall be present in at least one preselection box in the preselection. If present in more than one preselection box in the preselection, the boxes containing the qualifying attributes shall be identical. Note 1: Preselection groups tracks of the same media type only. Tracks that contain a PreselectionGroupBox and do not contain all the required subtracks for at least one preselection will have the track in_movie flag set to '0' in their track header box. This prevents players that do not understand the preselection box from playing the track, resulting in an incomplete experience. 8.3.4.4.3.2 Syntax 8.3.4.4.3.3 Semantics Among all the tracks that contribute to the preselection, there should be at least one track for which The flags field of PreselectionGroupBox satisfies the condition that (flags&2) is equal to 1. Note: More than one of the tracks contributing to the preselection is allowed to have (flags&2) equal to 1 The flags field of the PreselectionGroupBox for the condition. selection_priority is an integer declaring the priority of a preselection in case other differentiation, such as by a media language, is possible. A lower number indicates a higher priority. For all tracks contributing to the preselection, The values of selection priority should be the same. presel_info is an instance of PreselectionInformationBox() and provides information describing the preselection. presel_processing is an instance of PreselectionProcessingBox() and provides the information needed to process the preselection. 8.3.4.4.4 Pre-selection information box 8.3.4.4.4.1 Definition Box type: 'prsi' Container: PreselectionGroupBox Mandatory: No Quantity: zero or one This box aggregates all semantic information about the preselection. 8.3.4.4.4.2 Syntax aligned(8)class PreselectionInformationBoX extends FullBox('prsi',version=0,0){ unsigned int(8)numTracks; / / Describe the pre-selected box } 8.3.4.4.4.3 Semantics When this pre-selection is selected, the box contains information about what experiences are available. Boxes suitable for describing pre-selection include, but are not limited to, the following list of boxes defined in this specification: Audio object box (clause 8.3.4.4.5); Audio object selection box (clause 8.3.4.4.7); Extended language tags (clause 8.4.6); User data box (clause 8.10.1); Type of track (clause 8.10.4); Label boxes (clause 8.18.4); Audio presentation instructions (clause 8.18.5); Aisle layout (clause 12.2.4.1). If a UserData box is contained in a PredictionBox, it should not carry any of the above boxes. numTracks declares how many tracks contribute to the playback of the preselection. This value should match the number of tracks in the PreselectionGroupBox containing the same track_group_id. NOTE 1: Not all tracks contributing to a pre-selected playback may be delivered in the same file. NOTE 2: The Type Box may make use of the Role scheme defined in ISO / IEC 23009-1, clause 5.8.5.5, as it provides a common scheme for describing pre-selected characteristics. Additional media type specific boxes may be used to describe pre-selected attributes.
[0063] The following is a description of more details of the embodiments of the present disclosure, which relates to the signaling of pre-selected description information in a media file. The embodiments of the present disclosure should be considered as examples to explain the general concept and should not be interpreted in a narrow manner. In addition, these embodiments can be applied individually or in combination in any way.
[0064] As used herein, the term "preselection" may refer to a set of one or more tracks representing a version of a media presentation for simultaneous decoding or presentation. Preselection description information for a preselection may include information about what experience is available when the preselection is selected. The term "track" may refer to a timed sequence of related samples. The term "sample" may refer to all data associated with a single time.
[0065] Figure 4 A flow chart of a method 400 for video processing according to some embodiments of the present disclosure is shown. The method 400 can be implemented at a client or a server. The term "client" as used herein can refer to computer hardware or software that accesses services available to a server as part of a client-server model of a computer network. As an example, a client can be a smart phone or a tablet computer. The term "server" as used herein can refer to a device capable of computing, in which case the client accesses the service over a network. The server can be a physical computing device or a virtual computing device.
[0066] like Figure 4As shown, at 402, a conversion between a bitstream of a video and a media file of the video is performed. A media file is a data set that establishes a bounded or unbounded presentation of media content in the context of a file format (e.g., an International Organization for Standardization (ISO) base media file format). In some embodiments, the conversion may include generating a media file and storing the bitstream to the media file. Additionally or alternatively, the conversion may include parsing the media file to reconstruct the bitstream.
[0067] In some embodiments, the media file includes a first data structure. As an example and not an imitation, the first data structure can be a type of box and can be used to carry at least a portion of the pre-selected descriptive information. As used herein, the term "box" can refer to an object-oriented building block defined by a unique type identifier and a length. In one example, the first data structure can be a pre-selected information box. It should be understood that the first data structure can also be a box represented by any other suitable string, such as a pre-selected track group input box. The scope of the present disclosure is not limited in this regard.
[0068] The first data structure includes a first indication. The first indication specifies the number of non-alternative tracks grouped by the preselected track group for preselection in the media file. For example, the tracks grouped by the preselected track group may be tracks with a 'pres' track group, where track_group_id is equal to the preselected ID. Thus, the number of non-alternative tracks may match the number of tracks containing a preselected group box with the same track_group_id. Furthermore, the non-alternative tracks grouped by the preselected track group may correspond to tracks that contribute to the preselected playback. In one example, the first indication may be a numTracks field. It should be understood that the first indication may also be any other suitable string-represented field, such as a numtrack field. The scope of the present disclosure is not limited in this respect.
[0069] In addition, the first data structure also includes at least one second data structure describing a preselection in the media file. The first indication is signaled before a set of second data structures. As an example and not an imitation, at least one second data structure can be a type of box. In one example, at least one second data structure can include a box describing a preselection. Or, at least one second data structure can include all optional boxes. It should be understood that the above illustrations and / or examples are described only for the purpose of description. The scope of the present disclosure is not limited in this regard.
[0070] In view of the above, the first indication is signaled before the set of second data structures. Compared with conventional solutions where the first indication is signaled after a set of second data structures, the proposed method can advantageously ensure appropriate signaling of the pre-selected description information.
[0071] In some embodiments, the media file may include a second indication indicating a priority of a preselection. The value of the second indication may be the same for all tracks contributing to the preselection. As an example and not limitation, the second indication may be a selection_priority field. The second indication may be included in the first data structure. It should be understood that the second indication may also be a field represented by any other suitable string. The scope of the present disclosure is not limited in this regard. In these embodiments, the value of the second indication is the same for all tracks contributing to the preselection. Compared to conventional solutions in which the value of the second indication may be different for tracks contributing to the preselection, the proposed method can advantageously ensure appropriate signaling of priorities for preselection.
[0072] In some embodiments, a track level flag in a media file may indicate whether a set of segments of preselected preselected descriptive information is included in the media file. As an example and not limitation, a track level flag may be included in each track in the media file. In one example, the flag may be specified using a bit in a flags field of a preselected group box in the media file. Alternatively, the flag may be specified using a bit in a preselected group box in the media file, which bit may not be included in the flags field of the preselected group box.
[0073] In some embodiments, if the media file includes a group of segments of the preselected description information, the value of the flag may be equal to a first predetermined value. If the group of segments of the preselected description information does not exist in the media file, the value of the flag may be equal to a second predetermined value. As an example and not a limitation, the first predetermined value may be 1, and the second predetermined value may be 0. In an example, the group of segments of the preselected description information may include some or all of the preselected segments of the preselected description information.
[0074] In some embodiments, the value of the flag may be equal to a predetermined value for at least one of the tracks contributing to the pre-selection. Alternatively or additionally, for more than one of the tracks contributing to the pre-selection, the value of the flag is allowed to be equal to a predetermined value. As an example and not limitation, the predetermined value may be 1. In some embodiments, the pre-selection description information may include at least one of a first indication or a selection_priority field.
[0075] In some embodiments, whether each segment of the pre-selected description information is included in the media file can be indicated by a corresponding presence flag. In other words, the presence of each segment of the pre-selected description information can be controlled by its own presence flag.
[0076] In some embodiments, a single presence flag may be used to indicate whether all segments of the pre-selected description information are included in the media file. In other words, the presence of all segments of the pre-selected description information may be controlled by a single presence flag.
[0077] In some embodiments, the media file may include a third indication indicating that one of the tracks contributing to the pre-selection is a base track for the pre-selection. Furthermore, all segments of the pre-selection description information of the pre-selection may be signaled in the base track.
[0078] In some embodiments, all segments of the pre-selected description information may be signaled only in the base track. In other words, the pre-selected pre-selected description information is not signaled in other tracks than the pre-selected base track.
[0079] In some embodiments, a track-level flag in the media file may indicate whether the pre-selection description information is included in the media file. If the pre-selection description information is included in the media file, the value of the flag may be equal to a first predetermined value. If the pre-selection description information is not present in the media file, the value of the flag may be equal to a second predetermined value. As an example and not limitation, the first predetermined value may be 1 and the second predetermined value may be 0. In addition, the value of the flag is equal to the first predetermined value only for a single track among the tracks that contribute to the pre-selection. In this case, the single track is the base track. In some alternative embodiments, a group of fragments of the pre-selection description information may be allowed to be signaled in a track different from the base track.
[0080] According to another embodiment of the present disclosure, a non-transitory computer-readable recording medium is provided. The non-transitory computer-readable recording medium stores a bitstream of a video, and the bitstream is generated by a method performed by a video processing device. According to the method, conversion between the bitstream and a media file of the video is performed. A first data structure in the media file includes a first indication and at least one second data structure describing a preselection in the media file. The first indication is transmitted with a signal before a group of second data structures, and the first indication specifies the number of non-alternative tracks grouped by a preselected track group for a preselection.
[0081] According to some further embodiments of the present disclosure, a method for storing a bitstream of a video is provided. In the method, conversion between a bitstream and a media file of the video is performed. A first data structure in the media file includes a first indication and at least one second data structure describing a preselection in the media file. The first indication is signaled before a set of second data structures, and the first indication specifies the number of non-alternative tracks grouped by a preselected track group for a preselection. In addition, the bitstream is stored in a non-transitory computer-readable recording medium.
[0082] According to some further embodiments of the present disclosure, another non-transitory computer-readable recording medium is provided. The non-transitory computer-readable recording medium stores a media file of a video, and the media file is generated by a method performed by a video processing device. According to the method, conversion between a bit stream of the video and the media file is performed. A first data structure in the media file includes a first indication and at least one second data structure describing a preselection in the media file. The first indication is transmitted with a signal before a group of second data structures, and the first indication specifies the number of non-alternative tracks grouped by a pre-selected track group for a pre-selection.
[0083] According to some further embodiments of the present disclosure, a method for storing a media file of a video is provided. In the method, conversion between a bitstream of the video and a media file is performed. A first data structure in the media file includes a first indication and at least one second data structure describing a preselection in the media file. The first indication is signaled before a set of second data structures, and the first indication specifies the number of non-alternative tracks grouped by a preselected track group for a preselection. In addition, the media file is stored in a non-transitory computer-readable recording medium.
[0084] Embodiments of the present disclosure may be described according to the following clauses, features of which may be combined in any reasonable way.
[0085] Clause 1. A method for video processing, comprising: performing conversion between a bitstream of a video and a media file of the video, wherein a first data structure in the media file includes a first indication and at least one second data structure describing a preselection in the media file, and the first indication is signaled prior to a set of the second data structures, and the first indication specifies a number of non-alternative tracks grouped by a set of pre-selected tracks for a pre-selection.
[0086] Clause 2. The method of clause 1, wherein at least one second data structure comprises a box describing a pre-selection.
[0087] Clause 3. A method according to any of clauses 1-2, wherein the value of the second indication in the media file is the same for all tracks contributing to the pre-selection, and the second indication is used to indicate a priority of the pre-selection.
[0088] Clause 4. The method of clause 3, wherein the second indication is a selection_priority field.
[0089] Clause 5. A method according to any of clauses 1-4, wherein the first data structure is a pre-selection information box, or the first indication is a numTracks field.
[0090] Clause 6. A method according to any of clauses 1-5, wherein a track-level flag in the media file indicates whether a pre-selected set of segments of pre-selected description information is included in the track that contributes to the pre-selection.
[0091] Clause 7. A method according to clause 6, wherein if a set of fragments of pre-selected description information is included in the track, the value of the flag is equal to a first predetermined value; and if a set of fragments of pre-selected description information is not in the track, the value of the flag is equal to a second predetermined value.
[0092] Clause 8. The method of clause 7, wherein the first predetermined value is 1 and the second predetermined value is 0.
[0093] Clause 9. The method of any of clauses 7-8, wherein the set of segments of the pre-selected description information comprises all segments of the pre-selected description information that were pre-selected.
[0094] Clause 10. A method according to any of clauses 7-9, wherein for at least one of the tracks contributing to the pre-selection, the value of the flag is equal to a predetermined value.
[0095] Clause 11. A method according to any of clauses 7-9, wherein for more than one of the tracks contributing to the pre-selection, the value of the flag is allowed to be equal to a predetermined value.
[0096] Clause 12. The method of any of clauses 10-11, wherein the predetermined value is 1.
[0097] Clause 13. A method according to any of clauses 7-12, wherein the pre-selection description information comprises at least one of a first indication or a selection_priority field.
[0098] Clause 14. A method according to any of clauses 7-13, wherein whether each segment of pre-selected description information is included in the track is indicated by a respective presence flag.
[0099] Clause 15. A method according to any of clauses 7-13, wherein whether all segments of pre-selected description information are included in the track is indicated by a single presence flag.
[0100] Clause 16. A method according to any of clauses 7-15, wherein the flag is specified using bits in a flags field of a pre-selected group box in the track.
[0101] Clause 17. A method according to any of clauses 7-15, wherein the flag is specified using a bit in a preselected group box in the track, and the bit is not included in the flags field of the preselected group box.
[0102] Clause 18. A method according to any of clauses 1-5, wherein the media file comprises a third indication indicating that one of the tracks contributing to the preselection is a base track for the preselection, and all fragments of the preselection description information of the preselection are signaled in the base track.
[0103] Clause 19. The method according to clause 18, wherein all segments of the pre-selected description information are signaled only in the base track.
[0104] Clause 20. A method according to any of clauses 18-19, wherein a track-level flag in the media file indicates whether the pre-selection description information is included in a track that contributes to the pre-selection, if the pre-selection description information is included in the track, the value of the flag is equal to a first predetermined value, and if the pre-selection description information is not in the track, the value of the flag is equal to a second predetermined value.
[0105] Clause 21. The method of clause 20, wherein the first predetermined value is 1 and the second predetermined value is 0.
[0106] Clause 22. A method according to any of clauses 20-21, wherein only for a single track of the tracks contributing to the pre-selection the value of the flag is equal to the first predetermined value.
[0107] Clause 23. The method of clause 22, wherein the single track is a base track.
[0108] Clause 24. The method of clause 18, wherein a set of segments of preselected description information is allowed to be signaled in a track different from the base track.
[0109] Clause 25. The method of any of clauses 1-24, wherein the media file is in an International Organization for Standardization (ISO) base media file format.
[0110] Clause 26. The method of any of clauses 1-25, wherein converting comprises generating a media file and storing the bitstream to the media file.
[0111] Clause 27. The method of any of clauses 1-25, wherein converting comprises parsing the media file to reconstruct the bitstream.
[0112] Clause 28. An apparatus for video processing, comprising a processor and a non-transitory memory having instructions thereon, wherein the instructions, when executed by the processor, cause the processor to perform a method according to any of clauses 1-27.
[0113] Clause 29. A non-transitory computer-readable storage medium storing instructions that cause a processor to perform a method according to any one of clauses 1-27.
[0114] Clause 30. A non-transitory computer-readable recording medium storing a bitstream of a video, the bitstream being generated by a method performed by a video processing device, wherein the method comprises: performing conversion between the bitstream and a media file of the video, wherein a first data structure in the media file comprises a first indication and at least one second data structure describing a preselection in the media file, and the first indication is signaled prior to a set of the second data structures, and the first indication specifies a number of non-alternative tracks grouped by a preselected track group for a preselection.
[0115] Clause 31. A method for storing a bitstream of a video, comprising: performing conversion between the bitstream and a media file of the video; and storing the bitstream in a non-transitory computer-readable recording medium, wherein a first data structure in the media file includes a first indication and at least one second data structure describing a preselection in the media file, and the first indication is signaled prior to a set of the second data structures, and the first indication specifies a number of non-alternative tracks grouped by a preselected track group for a preselection.
[0116] Clause 32. A non-transitory computer-readable recording medium storing a media file of a video, the media file being generated by a method performed by a video processing device, wherein the method comprises: performing conversion between a bitstream of the video and the media file, wherein a first data structure in the media file comprises a first indication and at least one second data structure describing a preselection in the media file, and the first indication is signaled prior to a set of the second data structures, and the first indication specifies a number of non-alternative tracks grouped by a preselected track group for a preselection.
[0117] Clause 33. A method for storing a media file of a video, comprising: performing conversion between a bitstream of the video and the media file; and storing the media file in a non-transitory computer-readable recording medium, wherein a first data structure in the media file includes a first indication and at least one second data structure describing a preselection in the media file, and the first indication is signaled prior to a set of the second data structures, and the first indication specifies a number of non-alternative tracks grouped by a pre-selected track group for a pre-selection. Example Device
[0118] Figure 5 A block diagram of a computing device 500 is shown in which various embodiments of the present disclosure may be implemented. The computing device 500 may be implemented as or included in the source device 110 (or video encoder 116 or 200) or the destination device 120 (or video decoder 126 or 300).
[0119] It should be understood that the computing device 5000 shown in FIG. 11 is for illustrative purposes only and does not in any way imply any limitation on the functionality and scope of the embodiments of the present disclosure.
[0120] 11 , computing device 500 includes a general computing device 500. Computing device 500 may include at least one or more processors or processing units 510, memory 520, storage unit 530, one or more communication units 540, one or more input devices 550, and one or more output devices 560.
[0121] In some embodiments, the computing device 500 can be implemented as any user terminal or server terminal with computing power. The server terminal can be a server provided by a service provider, a large computing device, etc. The user terminal can be, for example, any type of mobile terminal, fixed terminal or portable terminal, including 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 positioning device, a television receiver, a radio broadcast receiver, an electronic book device, a gaming device, or any combination thereof, and includes the accessories and peripherals of these devices, or any combination thereof. It is conceivable that the computing device 500 can support any type of interface to the user (such as a "wearable" circuit device, etc.).
[0122] Processing unit 510 may be a physical processor or a virtual processor and may implement various processes based on a program stored in memory 520. In a multi-processor system, multiple processing units execute computer executable instructions in parallel to improve the parallel processing capability of computing device 500. Processing unit 510 may also be referred to as a central processing unit (CPU), a microprocessor, a controller, or a microcontroller.
[0123] The computing device 500 typically includes various computer storage media. Such media can be any media accessible by the computing device 500, including but not limited to volatile media and non-volatile media, or removable media and non-removable media. The memory 520 can be a volatile memory (e.g., a register, a cache, a random access memory (RAM)), a non-volatile memory (such as a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM) or flash memory) or any combination thereof. The storage unit 530 can be any removable or non-removable medium, and can include machine-readable media, such as a memory, a flash drive, a disk, or other media that can be used to store information and / or data and can be accessed in the computing device 500.
[0124] The computing device 500 may also include additional removable / non-removable storage media, volatile / non-volatile storage media. Figure 5 Although not shown in the figure, a magnetic disk drive for reading from and / or writing to a removable nonvolatile magnetic disk and an optical disk drive for reading from and / or writing to a removable nonvolatile optical disk may be provided. In this case, each drive may be connected to the bus (not shown) via one or more data medium interfaces.
[0125] The communication unit 540 communicates with another computing device via a communication medium. In addition, the functionality of the components in the computing device 500 may be implemented by a single computing cluster or multiple computing machines that may communicate via a communication connection. Thus, the computing device 500 may operate in a networked environment using logical connections to one or more other servers, networked personal computers (PCs), or other general-purpose network nodes.
[0126] The input device 550 may be one or more of various input devices, such as a mouse, keyboard, trackball, voice input device, etc. The output device 560 may be one or more of various output devices, such as a display, a speaker, a printer, etc. With the aid of the communication unit 540, the computing device 500 may also communicate with one or more external devices (not shown), such as storage devices and display devices, and the computing device 500 may also communicate with one or more devices that enable a user to interact with the computing device 500, or any device that enables the computing device 500 to communicate with one or more other computing devices (e.g., a network card, a modem, etc.), if necessary. Such communication may be performed via an input / output (I / O) interface (not shown).
[0127] In some embodiments, some or all components of the computing device 500 may also be arranged in a cloud computing architecture rather than being integrated in a single device. In a cloud computing architecture, components may be provided remotely and work together to implement the functions described in the present disclosure. In some embodiments, cloud computing provides computing, software, data access and storage services, which will not require the end user to know the physical location or configuration of the system or hardware that provides these services. In various embodiments, cloud computing provides services via a wide area network (e.g., the Internet) using a suitable protocol. For example, a cloud computing provider provides applications via a wide area network, which can be accessed through a web browser or any other computing component. The software or components of the cloud computing architecture and the corresponding data may be stored on a remote server. The computing resources in a cloud computing environment may be merged or distributed at the location of a remote data center. Cloud computing infrastructures may provide services through a shared data center, although they appear as a single access point for users. Therefore, cloud computing architectures may be used to provide components and functions described herein from a service provider at a remote location. Alternatively, they may be provided by a conventional server, or installed directly or otherwise on a client device.
[0128] The computing device 500 can be used to implement video encoding / decoding in the embodiments of the present disclosure, and the memory 520 may include one or more video encoding / decoding modules 525 having one or more program instructions. These modules can be accessed and executed by the processing unit 510 to perform the functions of various embodiments described herein.
[0129] In an example embodiment performing video encoding, input device 550 may receive video data as input 550 to be encoded. The video data may be processed by, for example, video codec module 525 to generate an encoded bitstream. The encoded bitstream may be provided as output 580 via output device 560.
[0130] In an example embodiment performing video decoding, input device 550 may receive an encoded bitstream as input 550. The encoded bitstream may be processed by, for example, video codec module 525 to generate decoded video data. The decoded video data may be provided as output 580 via output device 560.
[0131] Although the present disclosure has been specifically shown and described with reference to the preferred embodiments of the present disclosure, it will be understood by those skilled in the art that various changes can be made in form and detail without departing from the spirit and scope of the present application as defined by the appended claims. These changes are intended to be encompassed by the scope of the present application. Therefore, the foregoing description of the embodiments of the present application is not intended to be limiting.
Claims
1. A method for video processing, comprising: performing conversion between a bitstream of a video and a media file of said video, wherein a first data structure in the media file comprises a first indication and at least one second data structure describing a pre-selection in the media file, and the first indication is signaled prior to the set of second data structures, and the first indication specifies a number of non-alternative tracks grouped by the set of pre-selected tracks for the pre-selection. 2 . The method of claim 1 , wherein the at least one second data structure comprises a box describing the pre-selection.
3. The method according to any one of claims 1-2, wherein the value of the second indication in the media file is the same for all tracks contributing to the pre-selection, and the second indication is used to indicate the priority of the pre-selection. The method according to claim 3 , wherein the second indication is a selection_priority field.
5. The method according to any one of claims 1 to 4, wherein the first data structure is a pre-selection information box, or the first indication is a numTracks field.
6. The method according to any one of claims 1-5, wherein a track-level flag in the media file indicates whether a set of segments of the pre-selected description information of the pre-selection is included in a track contributing to the pre-selection.
7. The method according to claim 6, wherein if the set of segments of the pre-selected description information is included in the track, the value of the flag is equal to a first predetermined value; and If the set of segments of the pre-selected description information is not in the track, the value of the flag is equal to a second predetermined value. The method according to claim 7 , wherein the first predetermined value is 1, and the second predetermined value is 0.
9. The method according to any one of claims 7-8, wherein the set of segments of the pre-selected description information comprises all segments of the pre-selected pre-selected description information.
10. The method according to any of claims 7-9, wherein for at least one of the tracks contributing to the pre-selection, the value of the flag is equal to a predetermined value.
11. A method according to any one of claims 7 to 9, wherein for more than one of the tracks contributing to the pre-selection, the value of the flag is allowed to be equal to a predetermined value.
12. The method according to any one of claims 10-11, wherein the predetermined value is 1.
13. The method according to any one of claims 7 to 12, wherein the pre-selection description information comprises at least one of a first indication or a selection_priority field.
14. The method according to any one of claims 7 to 13, wherein whether each segment of the pre-selected description information is included in the track is indicated by a respective presence flag.
15. The method according to any one of claims 7-13, wherein whether all segments of the pre-selected description information are included in the track is indicated by a single presence flag.
16. A method according to any one of claims 7 to 15, wherein the flag is specified using bits in a flags field of a pre-selected group box in the track.
17. The method according to any one of claims 7 to 15, wherein the flag is specified by using a bit in a preselected group box in the track, and the bit is not included in the flags field of the preselected group box.
18. The method according to any one of claims 1-5, wherein the media file comprises a third indication for indicating that one of the tracks contributing to the pre-selection is a base track for the pre-selection and that all fragments of the pre-selection description information of the pre-selection are signaled in the base track.
19. The method according to claim 18, wherein all segments of the pre-selected description information are signaled only in the base track.
20. A method according to any one of claims 18-19, wherein a track-level flag in the media file indicates whether the pre-selection description information is included in a track that contributes to the pre-selection, if the pre-selection description information is included in the track, the value of the flag is equal to a first predetermined value, and if the pre-selection description information is not in the track, the value of the flag is equal to a second predetermined value. The method of claim 20 , wherein the first predetermined value is 1 and the second predetermined value is 0.
22. A method according to any one of claims 20-21, wherein the value of the flag is equal to the first predetermined value only for a single one of the tracks contributing to the pre-selection.
23. The method of claim 22, wherein the single track is the base track.
24. The method of claim 18, wherein a set of segments of the preselected description information is allowed to be signaled in a track different from a base track.
25. The method of any one of claims 1-24, wherein the media file has an International Organization for Standardization (ISO) base media file format.
26. The method of any one of claims 1-25, wherein the converting comprises generating the media file and storing the bitstream to the media file.
27. The method of any one of claims 1-25, wherein the converting comprises parsing the media file to reconstruct the bitstream.
28. An apparatus for video processing, comprising a processor and a non-transitory memory having instructions thereon, wherein the instructions, when executed by the processor, cause the processor to perform the method of any one of claims 1-27.
29. A non-transitory computer-readable storage medium storing instructions, the instructions causing a processor to execute the method according to any one of claims 1-27.
30. A non-transitory computer-readable recording medium storing a bit stream of a video, the bit stream being generated by a method performed by a video processing device, wherein the method comprises: performing conversion between the bitstream and a media file of the video, wherein a first data structure in the media file comprises a first indication and at least one second data structure describing a pre-selection in the media file, and the first indication is signaled prior to the set of second data structures, and the first indication specifies a number of non-alternative tracks grouped by the set of pre-selected tracks for the pre-selection.
31. A method for storing a bitstream of a video, comprising: Performing conversion between the bitstream and a media file of the video; as well as storing the bitstream in a non-transitory computer-readable recording medium, wherein a first data structure in the media file comprises a first indication and at least one second data structure describing a pre-selection in the media file, and the first indication is signaled prior to the set of second data structures, and the first indication specifies a number of non-alternative tracks grouped by the set of pre-selected tracks for the pre-selection.
32. A non-transitory computer-readable recording medium storing a media file of a video, the media file being generated by a method performed by a video processing device, wherein the method comprises: performing conversion between the bitstream of the video and the media file, wherein a first data structure in the media file comprises a first indication and at least one second data structure describing a pre-selection in the media file, and the first indication is signaled prior to the set of second data structures, and the first indication specifies a number of non-alternative tracks grouped by the set of pre-selected tracks for the pre-selection.
33. A method for storing a media file of a video, comprising: Performing conversion between the bitstream of the video and the media file; as well as storing the media file in a non-transitory computer-readable recording medium, wherein a first data structure in the media file comprises a first indication and at least one second data structure describing a pre-selection in the media file, and the first indication is signaled prior to the set of second data structures, and the first indication specifies a number of non-alternative tracks grouped by the set of pre-selected tracks for the pre-selection.
