Browse Source

Only try to read input stream in real-time, not faster

pull/5/head
Gabe Kangas 5 years ago
parent
commit
baddda3461
  1. 3
      ffmpeg.go

3
ffmpeg.go

@ -41,10 +41,11 @@ func startFfmpeg(configuration Config) { @@ -41,10 +41,11 @@ func startFfmpeg(configuration Config) {
ffmpegFlags := []string{
"-hide_banner",
"-re",
"-i pipe:",
"-vf scale=900:-2",
"-sws_flags fast_bilinear",
strings.Join(videoMaps, " "), // All the different video variants
strings.Join(videoMaps, " "), // All the different video variants
strings.Join(audioMaps, " ") + " -c:a copy", // Audio for all the variants
// strings.Join(audioMaps, " ") + " -c:a aac -b:a 192k -ac 2", // Audio for all the variants
"-master_pl_name stream.m3u8",

Loading…
Cancel
Save