Signaling CMAF switching sets in ISOBMFF using extended track selection box
There is included a method and apparatus comprising computer code configured to cause a processor or processors to perform obtaining International Organization for Standardization base media file format (ISOBMFF) files associated with a video data, determining from the ISOBMFF files at least one of a track selection box indicating properties of switching sets of the ISOBMFF files and a track group box indicating a hierarchical grouping of track groups, and decoding the video data based on the at least one of the track selection box and the track group box.
1 . A method for decoding media, the method being performed by at least one processor, the method comprising:
obtaining International Organization for Standardization base media file format (ISOBMFF) files associated with a video data;
determining, from the ISOBMFF files, a track selection box indicating properties of switching sets of the ISOBMFF files and a track group box indicating a hierarchical grouping of track groups, of which
the track selection box specifies:
a group of tracks, a switch group of groups, including the group of tracks, of the ISOBMFF files, whether the switch group of the groups belongs to another group, an aligned common media application format (CMAF) switching set, a CMAF switching set with a single initialization segment for all of the tracks, whether an initialization segment may be used for any track in the switch group, and a CMAF structural brand of the tracks,
the track group box specifies:
the CMAF switching set, the CMAF switching set with the single initialization segment for all of tracks of the ISOBMFF files, that the initialization segment may be used for any track in the switch group, and the CMAF structural brand of the tracks, and
the track group box is included in a track group description box comprising an array of track group entry boxes each of which indicating characteristics of ones of track groups including the group of tracks; and
decoding the video data based on the track selection box and the track group box.
2 . The method according to claim 1 ,
wherein the track selection box is contained in a user data box of a track that the track selection box modifies.
3 . The method according to claim 1 ,
wherein the track group box specifies that a track grouped by a CMAF switching track group is a track with an alternate group equal to an ID of the CMAF switching track group.
4 . The method according to claim 1 ,
wherein the track group box indicates a reference from a cmsg box to a prse box of an ISOBMFF moov box, and all CMAF switching groups with at least one contributing track having a track_in_movie flag set to 1 are qualified by CMAFSwitchingGroupEntryBoxes describing only track groups identified by a track_group_type equal to cmsg.
5 . The method according to claim 1 ,
wherein the track group description box comprises another track group entry box, other than the track group entry boxes of the array of track group entry boxes, pointing to a preselection track group entry box comprising CMAF track group boxes.
6 . The method according to claim 5 ,
wherein a second track group entry box, of the array of track group entry boxes of the track group description box, comprises a same track group entry type as the track group entry box and comprises a different track group identifier than the track group entry box.
7 . The method according to claim 6 ,
wherein the same track group entry type indicates a 4CC code.
8 . A apparatus for video streaming, the apparatus comprising:
at least one memory configured to store computer program code;
at least one processor configured to access the computer program code and operate as instructed by the computer program code, the computer program code including:
obtaining code configure to cause the at least one processor to obtain International Organization for Standardization base media file format (ISOBMFF) files associated with a video data;
determining code configure to cause the at least one processor to determine from the ISOBMFF files a track selection box indicating properties of switching sets of the ISOBMFF files and a track group box indicating a hierarchical grouping of track groups, of which
the track selection box specifies:
a group of tracks, a switch group of groups, including the group of tracks, of the ISOBMFF files, whether the switch group of the groups belongs to another group, an aligned common media application format (CMAF) switching set, a CMAF switching set with a single initialization segment for all of the tracks, whether an initialization segment may be used for any track in the switch group, and a CMAF structural brand of the tracks,
the track group box specifies:
the CMAF switching set, the CMAF switching set with the single initialization segment for all of tracks of the ISOBMFF files, that the initialization segment may be used for any track in the switch group, and the CMAF structural brand of the tracks, and
the track group box is included in a track group description box comprising an array of track group entry boxes each of which indicating characteristics of ones of track groups including the group of tracks; and
decoding code configure to cause the at least one processor to decode the video data based on the track selection box and the track group box.
9 . The apparatus according to claim 8 ,
wherein the track selection box is contained in a user data box of a track that the track selection box modifies.
10 . The apparatus according to claim 8 ,
wherein the track group box specifies that a track grouped by a CMAF switching track group is a track with an alternate group equal to an ID of the CMAF switching track group.
11 . The apparatus according to claim 8 ,
wherein the track group box indicates a reference from a cmsg box to a prse box of an ISOBMFF moov box, and all CMAF switching groups with at least one contributing track having a track_in_movie flag set to 1 are qualified by CMAFSwitchingGroupEntryBoxes describing only track groups identified by a track_group_type equal to cmsg.
12 . The apparatus according to claim 8 ,
wherein the track group description box comprises another track group entry box, other than the track group entry boxes of the array of track group entry boxes, pointing to a preselection track group entry box comprising CMAF track group boxes.
13 . The apparatus according to claim 12 ,
wherein a second track group entry box, of the array of track group entry boxes of the track group description box, comprises a same track group entry type as the track group entry box and comprises a different track group identifier than the track group entry box.
14 . A non-transitory computer readable medium storing a program causing a computer to execute a process, the process comprising:
obtaining International Organization for Standardization base media file format (ISOBMFF) files associated with a video data;
determining from the ISOBMFF files a track selection box indicating properties of switching sets of the ISOBMFF files and a track group box indicating a hierarchical grouping of track groups, of which
the track selection box specifies:
a group of tracks, a switch group of groups, including the group of tracks, of the ISOBMFF files, whether the switch group of the groups belongs to another group, an aligned common media application format (CMAF) switching set, a CMAF switching set with a single initialization segment for all of the tracks, whether an initialization segment may be used for any track in the switch group, and a CMAF structural brand of the tracks,
the track group box specifies:
the CMAF switching set, the CMAF switching set with the single initialization segment for all of tracks of the ISOBMFF files, that the initialization segment may be used for any track in the switch group, and the CMAF structural brand of the tracks, and
the track group box is included in a track group description box comprising an array of track group entry boxes each of which indicating characteristics of ones of track groups including the group of tracks; and
decoding the video data based on the track selection box and the track group box.