fix: ffmpeg8 need bitrate arg

This commit is contained in:
langhuihui
2025-09-23 10:51:35 +08:00
parent ae698c7b5a
commit 4f75725a0e

View File

@@ -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")
}