Varun Patil 2022-11-13 02:41:12 -08:00
parent 8fc89b853c
commit 10a4e469ba
1 changed files with 2 additions and 1 deletions

View File

@ -313,7 +313,8 @@ func (s *Stream) transcode(startId int) {
if s.quality != "max" {
args = append(args, []string{
"-vf", scale,
"-b:v", fmt.Sprintf("%dk", s.bitrate/1000),
"-maxrate", fmt.Sprintf("%dk", s.bitrate/1000),
"-bufsize", fmt.Sprintf("%dK", s.bitrate/1000),
"-profile:v", "high",
}...)
}