Videos: Update ffmpeg transcoding params #703

Increase num_output_buffers and num_capture_buffers.
This commit is contained in:
Michael Mayer 2021-02-15 14:35:52 +01:00
parent 475d204cb7
commit 50101cffdc

View file

@ -331,8 +331,8 @@ func (c *Convert) AvcConvertCommand(f *MediaFile, avcName string) (result *exec.
"-c:v", c.conf.FFmpegCodec(),
"-c:a", "copy",
"-vf", format,
"-num_output_buffers", "16",
"-num_capture_buffers", "8",
"-num_output_buffers", "32",
"-num_capture_buffers", "16",
"-b:v", c.AvcBitrate(f),
"-f", "mp4",
avcName,