pub struct SourcePackage {
pub interchange: InterchangeObjectFields,
pub package_uid: PackageId,
pub name: Option<String>,
pub creation_date: MxfTimestamp,
pub modified_date: MxfTimestamp,
pub tracks: Vec<StrongRef>,
pub descriptor: StrongRef,
pub dark: Vec<(u16, Vec<u8>)>,
}Expand description
The Source Package Set — SMPTE ST 377-1:2019 Annex E §E.2 (byte
14/15 = 0x01/0x37): references the file’s actual essence via a
Descriptor strong reference, plus the Generic Package properties
(B.1).
Fields§
§interchange: InterchangeObjectFieldsInterchange Object (A.1) base properties.
package_uid: PackageIdPackage UID (0x4401, Req) — 32-byte UMID.
name: Option<String>Name (0x4402, Opt) — human-readable package name.
creation_date: MxfTimestampPackage Creation Date (0x4405, Req).
modified_date: MxfTimestampPackage Modified Date (0x4404, Req).
tracks: Vec<StrongRef>Tracks (0x4403, Req) — strong references to this package’s Tracks.
descriptor: StrongRefDescriptor (0x4701, Req) — strong reference to the top-level
Descriptor (or Multiple Descriptor) for this package’s essence.
This crate has no typed EssenceDescriptor (see the crate root
docs’ “OP1a support is structural-metadata-only” section): this is
the raw 16-byte Instance UID, opaque here, not a value this crate
can dereference to the target Descriptor Set.
dark: Vec<(u16, Vec<u8>)>Unrecognized properties preserved for round-trip fidelity.
Trait Implementations§
Source§impl Clone for SourcePackage
impl Clone for SourcePackage
Source§fn clone(&self) -> SourcePackage
fn clone(&self) -> SourcePackage
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SourcePackage
impl Debug for SourcePackage
impl Eq for SourcePackage
Source§impl<'a> Parse<'a> for SourcePackage
impl<'a> Parse<'a> for SourcePackage
Source§impl PartialEq for SourcePackage
impl PartialEq for SourcePackage
Source§impl Serialize for SourcePackage
impl Serialize for SourcePackage
Source§type Error = Error
type Error = Error
Parse impl, but need not be).Source§fn serialized_len(&self) -> usize
fn serialized_len(&self) -> usize
serialize_into will write.