Expand description
Helper utilities for implementing FormatReaders.
Structs§
- Seek
Index - A
SeekIndexstoresSeekPoints (generally a sample or frame number to byte offset) within a media stream and provides methods to efficiently search for the nearestSeekPoint(s) given a timestamp. - Seek
Point - A
SeekPointis a mapping between a sample or frame number to byte offset within a media stream.
Enums§
- Seek
Search Result SeekSearchResultis the return value for a search on aSeekIndex. It returns a range ofSeekPoints aFormatReadershould search to find the desired timestamp. Ranges are lower-bound inclusive, and upper-bound exclusive.
Functions§
- trim_
packet - Given a
Packet, the encoder delay in frames, and the number of non-delay or padding frames, adjust the packet’s timestamp and duration, and populate the trim information.