mirror of
https://github.com/langhuihui/monibuca.git
synced 2025-10-15 23:40:38 +08:00
fix: ffmpeg8 need bitrate arg
This commit is contained in:
@@ -34,7 +34,7 @@ func (rt *AcceptPushTask) Start() error {
|
||||
}
|
||||
// 添加视频编码参数
|
||||
if !rt.testCase.AudioOnly {
|
||||
args = append(args, "-c:v", rt.testCase.VideoCodec)
|
||||
args = append(args, "-c:v", rt.testCase.VideoCodec, "-b:v", "200k")
|
||||
} else {
|
||||
args = append(args, "-vn")
|
||||
}
|
||||
|
Reference in New Issue
Block a user