Skip to main content

HandlerCode

Struct HandlerCode 

Source
pub struct HandlerCode(pub FourCC);
Expand description

Codes identifying handlers, that declare track-types.

Commonly used values,

See also,

Tuple Fields§

§0: FourCC

Implementations§

Source§

impl HandlerCode

Source

pub const THREE_GSD: HandlerCode

3GPP Scene Description

FourCC: 3gsd

Specification: 3GPP

Source

pub const AUXV: HandlerCode

Auxiliary video

FourCC: auxv

Specification: ISO

Source

pub const AVMD: HandlerCode

Avid Metadata

FourCC: avmd

Specification: Avid

Source

pub const CLCP: HandlerCode

Closed Caption

FourCC: clcp

Specification: Apple

Source

pub const CPAD: HandlerCode

CPCM Auxiliary Metadata

FourCC: cpad

Specification: DVB

Source

pub const CRSM: HandlerCode

ClockReferenceStream

FourCC: crsm

Specification: MP4v2

Source

pub const DMBD: HandlerCode

DVB Mandatory Metadata

FourCC: dmbd

Specification: DVB

Source

pub const DTVA: HandlerCode

TV-Anytime Metadata, according to DVB specifications

FourCC: dtva

Specification: DVB

Source

pub const DVMD: HandlerCode

withdrawn, unused, do not use (was Dolby Vision Metadata)

FourCC: dvmd

Specification: Deprecated

Source

pub const FDSM: HandlerCode

Font

FourCC: fdsm

Specification: ISO

Source

pub const GESM: HandlerCode

General MPEG-4 systems streams (without specific handler)

FourCC: gesm

Specification: see (1) below

Source

pub const GRAP: HandlerCode

Subtitle Graphics

FourCC: GRAP

Specification: Sony

Source

pub const HINT: HandlerCode

Hint

FourCC: hint

Specification: ISO

Source

pub const HPIX: HandlerCode

Hipix Rich Picture Format

FourCC: hpix

Specification: Hipix

Source

pub const ID32: HandlerCode

ID3 version 2 meta-data handler (meta box)

FourCC: ID32

Specification: id3v2

Source

pub const IPDC: HandlerCode

DVB IPDC ESG Metadata

FourCC: ipdc

Specification: DVB

Source

pub const IPSM: HandlerCode

IPMP Stream

FourCC: ipsm

Specification: MP4v2

Source

pub const M7SM: HandlerCode

MPEG7Stream

FourCC: m7sm

Specification: MP4v2

Source

pub const META: HandlerCode

Metadata

FourCC: meta

Specification: ISO

Source

pub const MJSM: HandlerCode

MPEG-J Stream

FourCC: mjsm

Specification: MP4v2

Source

pub const MP21: HandlerCode

MPEG-21 Digital item

FourCC: mp21

Specification: MPEG-21

Source

pub const MP7B: HandlerCode

MPEG-7 (binary meta-data)

FourCC: mp7b

Specification: ISO

Source

pub const MP7T: HandlerCode

MPEG-7 (textual meta-data)

FourCC: mp7t

Specification: ISO

Source

pub const MPD: HandlerCode

MPD contained in a metabox

FourCC: mpd

Specification: 3GPP

Source

pub const MPDL: HandlerCode

MPD link contained in a metabox

FourCC: mpdl

Specification: 3GPP

Source

pub const MPEG: HandlerCode

QuickTime MPEG track handler

FourCC: MPEG

Specification: Apple

Source

pub const MUSI: HandlerCode

QuickTime Music track handler

FourCC: musi

Specification: Apple

Source

pub const NRTM: HandlerCode

Non-Real Time Metadata (XAVC Format)

FourCC: nrtm

Specification: Sony

Source

pub const NULL: HandlerCode

No handling required (meta-data)

FourCC: null

Specification: ISO

Source

pub const OCSM: HandlerCode

ObjectContentInfoStream

FourCC: ocsm

Specification: MP4v2

Source

pub const ODSM: HandlerCode

ObjectDescriptorStream

FourCC: odsm

Specification: MP4v2

Source

pub const PICT: HandlerCode

Image Item and Image sequences

FourCC: pict

Specification: HEIF

Source

pub const QD3D: HandlerCode

QuickTime QuickDraw 3D ttrack handler

FourCC: qd3d

Specification: Apple

Source

pub const SBTL: HandlerCode

QuickTime Subtitle track handler

FourCC: sbtl

Specification: Apple

Source

pub const SDSM: HandlerCode

SceneDescriptionStream

FourCC: sdsm

Specification: MP4v2

Source

pub const SKMM: HandlerCode

Key Management Messages

FourCC: skmm

Specification: DVB

Source

pub const SMHR: HandlerCode

Samsung Video Metadata Handler

FourCC: smhr

Specification: Samsung

Source

pub const SOUN: HandlerCode

Audio

FourCC: soun

Specification: ISO

Source

pub const SPRT: HandlerCode

QuickTime Sprite track handler

FourCC: sprt

Specification: Apple

Source

pub const STRM: HandlerCode

QuickTime Streaming track handler

FourCC: strm

Specification: Apple

Source

pub const SUBT: HandlerCode

Subtitles

FourCC: subt

Specification: ISO

Source

pub const TEXT: HandlerCode

Text

FourCC: text

Specification: 3GPP

Source

pub const TMCD: HandlerCode

Timecode

FourCC: tmcd

Specification: Apple

Source

pub const TWEN: HandlerCode

QuickTime Tween track handler

FourCC: twen

Specification: Apple

Source

pub const URI: HandlerCode

URI identified metadata

FourCC: uri

Specification: DVB

Source

pub const VIDE: HandlerCode

Video

FourCC: vide

Specification: ISO

Source

pub const VOLV: HandlerCode

Volumetric visual media

FourCC: volv

Specification: ISO

Source

pub const HAPT: HandlerCode

Haptics

FourCC: hapt

Specification: ISO

Source

pub const NNET: HandlerCode

Neural network handler (items defined in the MetaBox represent neural networks)

FourCC: nnet

Specification: NALu Video

Source§

impl HandlerCode

Source

pub const fn new(code: [u8; 4]) -> HandlerCode

Construct a HandlerCode from its four-cc value

Trait Implementations§

Source§

impl Clone for HandlerCode

Source§

fn clone(&self) -> HandlerCode

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for HandlerCode

Source§

impl Debug for HandlerCode

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for HandlerCode

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for HandlerCode

Source§

impl From<FourCC> for HandlerCode

Source§

fn from(val: FourCC) -> Self

Converts to this type from the input type.
Source§

impl From<HandlerCode> for FourCC

Source§

fn from(val: HandlerCode) -> Self

Converts to this type from the input type.
Source§

impl Hash for HandlerCode

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for HandlerCode

Source§

fn eq(&self, other: &HandlerCode) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for HandlerCode

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.