pub struct Mp4Demuxer {
pub video_samples: Vec<Mp4Sample>,
pub audio_samples: Vec<Mp4Sample>,
pub duration_ms: u64,
pub video_avcc: Option<Vec<u8>>,
}Fields§
§video_samples: Vec<Mp4Sample>§audio_samples: Vec<Mp4Sample>§duration_ms: u64§video_avcc: Option<Vec<u8>>映像トラックの avcC(AVCDecoderConfigurationRecord)。SPS/PPS と NAL 長さフィールドのサイズを内包する。H.264 デコーダの初期化に使う。
Implementations§
Source§impl Mp4Demuxer
impl Mp4Demuxer
Auto Trait Implementations§
impl Freeze for Mp4Demuxer
impl RefUnwindSafe for Mp4Demuxer
impl Send for Mp4Demuxer
impl Sync for Mp4Demuxer
impl Unpin for Mp4Demuxer
impl UnsafeUnpin for Mp4Demuxer
impl UnwindSafe for Mp4Demuxer
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