pub struct DiscTitle {
pub playlist: String,
pub playlist_id: u16,
pub duration_secs: f64,
pub size_bytes: u64,
pub clips: Vec<Clip>,
pub streams: Vec<Stream>,
pub chapters: Vec<Chapter>,
pub extents: Vec<Extent>,
pub content_format: ContentFormat,
pub codec_privates: Vec<Option<Vec<u8>>>,
}Expand description
A title (one MPLS playlist).
Fields§
§playlist: StringPlaylist filename (e.g. “00800.mpls”)
playlist_id: u16Playlist number (e.g. 800)
duration_secs: f64Duration in seconds
size_bytes: u64Total size in bytes
clips: Vec<Clip>Clip references in playback order
streams: Vec<Stream>All streams (video, audio, subtitle, etc.)
chapters: Vec<Chapter>Chapter points
extents: Vec<Extent>Sector extents for ripping (clip LBA ranges)
content_format: ContentFormatContent format for this title
codec_privates: Vec<Option<Vec<u8>>>Codec initialization data per stream (SPS/PPS, etc).
Index matches streams. None for streams without codec init data.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DiscTitle
impl RefUnwindSafe for DiscTitle
impl Send for DiscTitle
impl Sync for DiscTitle
impl Unpin for DiscTitle
impl UnsafeUnpin for DiscTitle
impl UnwindSafe for DiscTitle
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more