Crate mp4parse

source ·
Expand description

Module for parsing ISO Base Media Format aka video/mp4 streams.

Structs

Enums

  • Represents the parental advisory rating on the track, stored within the ‘rtng’ atom.
  • Describes parser failures.
  • Represents possible contents of the ©gen or gnre atoms within a metadata box. ‘udta.meta.ilst’ may only have either a standard genre box ‘gnre’ or a custom genre box ‘©gen’, but never both at once.
  • The axis about which the image is mirrored (opposite of flip) Visualized in terms of starting with (⥠) UPWARDS HARPOON WITH BARB LEFT FROM BAR similar to a DIGIT ONE (1)
  • Rotation in the positive (that is, anticlockwise) direction Visualized in terms of starting with (⥠) UPWARDS HARPOON WITH BARB LEFT FROM BAR similar to a DIGIT ONE (1)
  • See ISOBMFF (ISO 14496-12:2020) § 8.11.14.1 Variants with no associated data are recognized but not necessarily supported. See Feature to determine support.
  • Represents the contents of a ‘stik’ atom that indicates content types within iTunes.
  • The return value to the C API Any detail that needs to be communicated to the caller must be encoded here since the Error type’s associated data is part of the FFI.

Constants

Traits

  • A trait to indicate a type can be infallibly converted to usize. This should only be implemented for infallible conversions, so only unsigned types are valid.

Functions

  • Read the contents of an AVIF file
  • Read the contents of a box, including sub boxes.
  • Re-serialize the Opus codec-specific config data as an OpusHead packet.

Type Definitions