pub struct TextMetaDataSampleEntry<'a> {
pub sample_entry: MetaDataSampleEntry,
pub content_encoding: Utf8String,
pub mime_format: Utf8String,
pub btrt: Option<BitRateBox>,
pub txtc: Option<TextConfigBox>,
pub unknown_boxes: Vec<UnknownBox<'a>>,
}Expand description
Text metadata sample entry
ISO/IEC 14496-12 - 12.3.3
Fields§
§sample_entry: MetaDataSampleEntryThe sample entry that this box inherits from.
content_encoding: Utf8StringA MIME type which identifies the content encoding of the timed metadata.
It is defined in the same way as for an ItemInfoEntry in this document.
If not present (an empty string is supplied) the timed metadata is not encoded.
An example for this field is ‘application/zip’.
Note that no MIME types for BiM [ISO/IEC 23001-1] and TeM [ISO/IEC 15938-1] currently exist.
Thus, the experimental MIME types ‘application/x-BiM’ and ‘text/x-TeM’ shall be used to identify
these encoding mechanisms.
mime_format: Utf8StringA MIME type which identifies the content format of the samples. Examples for this field include ‘text/html’ and ‘text/plain’.
btrt: Option<BitRateBox>The contained BitRateBox. (optional)
txtc: Option<TextConfigBox>The contained TextConfigBox. (optional)
unknown_boxes: Vec<UnknownBox<'a>>A list of unknown boxes that were not recognized during deserialization.
Trait Implementations§
Source§impl<'a> Debug for TextMetaDataSampleEntry<'a>
impl<'a> Debug for TextMetaDataSampleEntry<'a>
Source§impl<'a> Deserialize<'a> for TextMetaDataSampleEntry<'a>
impl<'a> Deserialize<'a> for TextMetaDataSampleEntry<'a>
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 TextMetaDataSampleEntry<'a>
impl<'a> DeserializeSeed<'a, BoxHeader> for TextMetaDataSampleEntry<'a>
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<'a> IsoBox for TextMetaDataSampleEntry<'a>
impl<'a> IsoBox for TextMetaDataSampleEntry<'a>
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.