oa::VideoDemuxer
Video stream demuxer
Public Types
Public Methods
Static Public Methods
Public Data Members
av1_Av1Configfieldavc_AvcConfigfieldfragment_FragmentConfigfieldhvc_HvcConfigfieldinfo_VideoContainerInfofieldsamples_Vectorfieldvp9_Vp9ConfigfieldConstructor & Destructor Documentation
Public Method Documentation
Explicit resource-release boundary. Reports local file close failures; pending packets are discarded and no container data is manufactured.
Returns
oa::StatusThe declared return value.
No public source comment is attached to this declaration.
Returns
oa::U64The declared return value.
No public source comment is attached to this declaration.
Returns
const Av1Config &The declared return value.
Returns SPS+PPS concatenated as Annex-B (empty if not parsed). Caller prepends to the first IDR packet to bootstrap the decoder.
Returns
const AvcConfig &The declared return value.
index of the next sample readNextPacket() will read (0-based). After decoding sample N, this equals N+1. Used by Video for step-back.
Returns
oa::U32The declared return value.
No public source comment is attached to this declaration.
Returns
const HvcConfig &The declared return value.
get container info
Returns
const VideoContainerInfo &The declared return value.
No public source comment is attached to this declaration.
Returns
const VideoDemuxerStats &The declared return value.
get video profile for decoder creation
Returns
VideoProfileThe declared return value.
No public source comment is attached to this declaration.
Returns
const Vp9Config &The declared return value.
Check if end of stream
Returns
boolThe declared return value.
No public source comment is attached to this declaration.
Returns
boolThe declared return value.
No public source comment is attached to this declaration.
Returns
boolThe declared return value.
Read next packet from stream
Parameters
outPacketVideoPacket &—
Returns
oa::StatusThe declared return value.
Return one indexed sample's presentation timestamp without converting a signed composition offset to unsigned first. Malformed tables whose offset underflows DTS or whose positive offset overflows fail closed.
Parameters
inSampleIndexoa::Usize—
Returns
oa::Result<oa::U64>The declared return value.
seek to a specific timestamp (in stream timebase)
Parameters
inTimestampoa::U64—
Returns
oa::StatusThe declared return value.
open either a local path or a URL through one canonical source boundary.
Parameters
inUrioa::StringView—
Returns
oa::Result<VideoDemuxer>The declared return value.
No public source comment is attached to this declaration.
Parameters
inUrioa::StringView—
inConfigconst VideoDemuxerConfig &—
Returns
oa::Result<VideoDemuxer>The declared return value.
probe container info without opening full file
Parameters
inPathconst char *—
Returns
oa::Result<VideoContainerInfo>The declared return value.