oa::VideoMuxer
VideoMuxer class in the OA Vision public surface.
Public Methods
Static Public Methods
Constructor & Destructor Documentation
Public Method Documentation
Closes the output without writing a movie trailer. call finalize() first when a playable container is required.
Returns
oa::StatusThe declared return value.
finalize the MP4 file (write moov box and flush).
Returns
oa::StatusThe declared return value.
No public source comment is attached to this declaration.
Returns
const VideoMuxerConfig &The declared return value.
No public source comment is attached to this declaration.
Returns
oa::U32The declared return value.
No public source comment is attached to this declaration.
Parameters
inCodecConfigoa::Span<const oa::U8>—
Returns
voidThe declared return value.
set AVC SPS/PPS data for the avcC decoder configuration box.
Parameters
inSpsconst oa::Vector<oa::U8> &—
inPpsconst oa::Vector<oa::U8> &—
Returns
voidThe declared return value.
set HEVC VPS/SPS/PPS data for the hvcC decoder configuration box.
Parameters
inVpsconst oa::Vector<oa::U8> &—
inSpsconst oa::Vector<oa::U8> &—
inPpsconst oa::Vector<oa::U8> &—
Returns
voidThe declared return value.
No public source comment is attached to this declaration.
Parameters
inPacketconst EncodedAudioPacket &—
Returns
oa::StatusThe declared return value.
Write an encoded packet to the muxer.
Parameters
inFrameconst EncodedVideoPacket &—
Returns
oa::StatusThe declared return value.
No public source comment is attached to this declaration.
Parameters
inConfigconst VideoMuxerConfig &—
Returns
oa::Result<VideoMuxer>The declared return value.