Only try to read input stream in real-time, not faster
This commit is contained in:
parent
344da52e3d
commit
baddda3461
@ -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…
x
Reference in New Issue
Block a user