Videos: Add additional ffmpeg transcoding params #703

This commit is contained in:
Michael Mayer 2021-02-15 14:32:03 +01:00
parent 005b064e47
commit 5c52407e61

View file

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