Don't set audio bitrate

monorepo
Varun Patil 2023-03-29 15:50:01 -07:00
parent 38384b0d6d
commit 1c9d46130e
1 changed files with 0 additions and 7 deletions

View File

@ -454,16 +454,9 @@ func (s *Stream) transcodeArgs(startAt float64) []string {
} }
// Audio // Audio
ab := "192k"
if s.bitrate < 1000000 {
ab = "64k"
} else if s.bitrate < 3000000 {
ab = "128k"
}
args = append(args, []string{ args = append(args, []string{
"-c:a", "aac", "-c:a", "aac",
"-ac", "1", "-ac", "1",
"-b:a", ab,
}...) }...)
return args return args