Commits on Source (3)
-
Allow multiple segments to be output by the same pass. This is mainly to handle parallel tracks that differ in segment sizes, if one has its muxer outputting very small segments against a track with the maximal segment size, the small segments must be output at a faster rate. This work is in preparation of the I-frame based segmentation where this behavior will likely exist.
d981176d -
This patch implements a best effort algorithm to try and start segments with an I-Frame. While optional in the RFC, this guarantees sane seeking points and no artifacts on the first connection of clients in the middle of the stream. Obviously, the input of the module should be a feed that has a GOP generally smaller than the requested segment size, otherwise, the algorithm will fall back to the old behavior and create a segment that isn't self decodable. This is still preparation work for the new Chromecast backend, in particular to support seeking in the exposed media window. Refs #27391
9f3b4e6e -
Segments not starting with a sync point are legal in the HLS ref. However, using them as a seek point is hazardous. Warn the user that their stream might have issues fixable by adapting the encoding parameters.
e759f7e7