Shaka Packager SDK
|
#include <two_pass_single_segment_segmenter.h>
Public Member Functions | |
TwoPassSingleSegmentSegmenter (const MuxerOptions &options) | |
Status | DoInitialize () override |
Status | DoFinalize () override |
Public Member Functions inherited from shaka::media::webm::SingleSegmentSegmenter | |
SingleSegmentSegmenter (const MuxerOptions &options) | |
Status | FinalizeSegment (int64_t start_timestamp, int64_t duration_timestamp, bool is_subsegment, int64_t segment_number) override |
Finalize the (sub)segment. | |
bool | GetInitRangeStartAndEnd (uint64_t *start, uint64_t *end) override |
bool | GetIndexRangeStartAndEnd (uint64_t *start, uint64_t *end) override |
std::vector< Range > | GetSegmentRanges () override |
Public Member Functions inherited from shaka::media::webm::Segmenter | |
Segmenter (const MuxerOptions &options) | |
Status | Initialize (const StreamInfo &info, ProgressListener *progress_listener, MuxerListener *muxer_listener) |
Status | Finalize () |
Status | AddSample (const MediaSample &sample) |
float | GetDurationInSeconds () const |
Additional Inherited Members | |
Protected Member Functions inherited from shaka::media::webm::SingleSegmentSegmenter | |
MkvWriter * | writer () |
uint64_t | init_end () |
void | set_init_end (uint64_t end) |
void | set_index_start (uint64_t start) |
void | set_index_end (uint64_t end) |
void | set_writer (std::unique_ptr< MkvWriter > writer) |
Protected Member Functions inherited from shaka::media::webm::Segmenter | |
int64_t | FromBmffTimestamp (int64_t bmff_timestamp) |
Converts the given time in ISO BMFF timestamp to WebM timecode. | |
int64_t | FromWebMTimecode (int64_t webm_timecode) |
Converts the given time in WebM timecode to ISO BMFF timestamp. | |
Status | WriteSegmentHeader (uint64_t file_size, MkvWriter *writer) |
Writes the Segment header to writer. | |
Status | SetCluster (int64_t start_webm_timecode, uint64_t position, MkvWriter *writer) |
Creates a Cluster object with the given parameters. | |
void | UpdateProgress (uint64_t progress) |
Update segmentation progress using ProgressListener. | |
void | set_progress_target (uint64_t target) |
const MuxerOptions & | options () const |
mkvmuxer::Cluster * | cluster () |
mkvmuxer::Cues * | cues () |
MuxerListener * | muxer_listener () |
SeekHead * | seek_head () |
int | track_id () const |
uint64_t | segment_payload_pos () const |
int64_t | duration () const |
An implementation of a Segmenter for a single-segment that performs two passes. This does not use seeking and is used for non-seekable files.
Definition at line 27 of file two_pass_single_segment_segmenter.h.