pub struct SubTrackInformationBox {
pub full_header: FullBoxHeader,
pub switch_group: i16,
pub alternate_group: i16,
pub sub_track_id: u32,
pub attribute_list: Vec<u32>,
}Expand description
Sub track information box
ISO/IEC 14496-12 - 8.14.4
Fields§
§full_header: FullBoxHeaderThe full box header.
switch_group: i16An integer that specifies a group or collection of tracks and/or sub tracks. If this field is 0 (default value), then there is no information on whether the sub track can be used for switching during playing or streaming. If this integer is not 0 it shall be the same for tracks and/or sub tracks that can be used for switching between each other. Tracks that belong to the same switch group shall belong to the same alternate group. A switch group may have only one member.
alternate_group: i16An integer that specifies a group or collection of tracks and/or sub tracks. If this field is 0 (default value), then there is no information on possible relations to other tracks/sub- tracks. If this field is not 0, it should be the same for tracks/sub-tracks that contain alternate data for one another and different for tracks/sub-tracks belonging to different such groups. Only one track/sub-track within an alternate group should be played or streamed at any one time.
sub_track_id: u32An integer. A non-zero value uniquely identifies the sub track locally within the track. A zero value (default) means that sub_track_ID is not assigned.
attribute_list: Vec<u32>A list, to the end of the box, of attributes. The attributes in this list should be used as descriptions of sub tracks or differentiating criteria for tracks and sub tracks in the same alternate or switch group.
Trait Implementations§
Source§impl Debug for SubTrackInformationBox
impl Debug for SubTrackInformationBox
Source§impl<'a> Deserialize<'a> for SubTrackInformationBox
impl<'a> Deserialize<'a> for SubTrackInformationBox
Source§fn deserialize<R>(reader: R) -> Result<Self>where
R: ZeroCopyReader<'a>,
fn deserialize<R>(reader: R) -> Result<Self>where
R: ZeroCopyReader<'a>,
Source§impl<'a> DeserializeSeed<'a, BoxHeader> for SubTrackInformationBox
impl<'a> DeserializeSeed<'a, BoxHeader> for SubTrackInformationBox
Source§fn deserialize_seed<R>(reader: R, seed: BoxHeader) -> Result<Self>where
R: ZeroCopyReader<'a>,
fn deserialize_seed<R>(reader: R, seed: BoxHeader) -> Result<Self>where
R: ZeroCopyReader<'a>,
Source§impl IsoBox for SubTrackInformationBox
impl IsoBox for SubTrackInformationBox
Source§fn add_header_size(payload_size: usize) -> usize
fn add_header_size(payload_size: usize) -> usize
Source§fn box_header(&self) -> BoxHeader
fn box_header(&self) -> BoxHeader
BoxHeader for this box.Source§fn serialize_box_header<W>(&self, writer: W) -> Result<()>where
W: Write,
fn serialize_box_header<W>(&self, writer: W) -> Result<()>where
W: Write,
IsoBox::box_header to the given writer.