Browse Source

increase max hls segments (#408)

pull/409/head
Jason Dove 4 years ago committed by GitHub
parent
commit
819b55e21f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      ErsatzTV.Core/FFmpeg/FFmpegProcessBuilder.cs

4
ErsatzTV.Core/FFmpeg/FFmpegProcessBuilder.cs

@ -337,7 +337,7 @@ namespace ErsatzTV.Core.FFmpeg @@ -337,7 +337,7 @@ namespace ErsatzTV.Core.FFmpeg
}
int segmentSeconds = startAtZero ? SUBSEQUENT_SEGMENT_SECONDS : INITIAL_SEGMENT_SECONDS;
_arguments.AddRange(
new[]
{
@ -349,6 +349,8 @@ namespace ErsatzTV.Core.FFmpeg @@ -349,6 +349,8 @@ namespace ErsatzTV.Core.FFmpeg
"-hls_time", $"{segmentSeconds}",
"-hls_list_size", "0",
"-segment_list_flags", "+live",
"-hls_segment_filename",
Path.Combine(FileSystemLayout.TranscodeFolder, channelNumber, "live%06d.ts"),
"-hls_flags", "program_date_time+append_list+omit_endlist+independent_segments",
Path.Combine(FileSystemLayout.TranscodeFolder, channelNumber, "live.m3u8")
});

Loading…
Cancel
Save