Add row-based multithreading for live transcodes

This commit is contained in:
WithoutPants 2019-08-01 11:36:29 +10:00
parent 46c2957787
commit aeef01a64c

View file

@ -39,6 +39,7 @@ func (e *Encoder) StreamTranscode(probeResult VideoFile, startTime string) (io.R
"-vf", "scale=iw:-2",
"-deadline", "realtime",
"-cpu-used", "5",
"-row-mt", "1",
"-crf", "30",
"-b:v", "0",
"-f", "webm",