From 1c9d46130e1835594d8f999cee12a170c8783009 Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Wed, 29 Mar 2023 15:50:01 -0700 Subject: [PATCH] Don't set audio bitrate --- stream.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/stream.go b/stream.go index 57e8032e..35e7ee43 100644 --- a/stream.go +++ b/stream.go @@ -454,16 +454,9 @@ func (s *Stream) transcodeArgs(startAt float64) []string { } // Audio - ab := "192k" - if s.bitrate < 1000000 { - ab = "64k" - } else if s.bitrate < 3000000 { - ab = "128k" - } args = append(args, []string{ "-c:a", "aac", "-ac", "1", - "-b:a", ab, }...) return args