Simplify segment filenames. Closes #1778
Remove the seconds as an identifier to allow for segments to be written more than one per second.
This commit is contained in:
@@ -220,9 +220,8 @@ func (t *Transcoder) getString() string {
|
|||||||
|
|
||||||
// Filenames
|
// Filenames
|
||||||
"-master_pl_name", "stream.m3u8",
|
"-master_pl_name", "stream.m3u8",
|
||||||
"-strftime 1", // Support the use of strftime in filenames
|
|
||||||
|
|
||||||
"-hls_segment_filename", localListenerAddress + "/%v/stream-" + t.segmentIdentifier + "%s.ts", // Send HLS segments back to us over HTTP
|
"-hls_segment_filename", localListenerAddress + "/%v/stream-" + t.segmentIdentifier + "-%d.ts", // Send HLS segments back to us over HTTP
|
||||||
"-max_muxing_queue_size", "400", // Workaround for Too many packets error: https://trac.ffmpeg.org/ticket/6375?cversion=0
|
"-max_muxing_queue_size", "400", // Workaround for Too many packets error: https://trac.ffmpeg.org/ticket/6375?cversion=0
|
||||||
|
|
||||||
"-method PUT", // HLS results sent back to us will be over PUTs
|
"-method PUT", // HLS results sent back to us will be over PUTs
|
||||||
|
|||||||
Reference in New Issue
Block a user