We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a57af91 + aec2c29 commit fa36987Copy full SHA for fa36987
1 file changed
go-vod/transcoder/stream.go
@@ -370,7 +370,7 @@ func (s *Stream) transcodeArgs(startAt float64, isHls bool) []string {
370
// Check whether hwaccel should be used
371
if s.c.VAAPI {
372
CV = ENCODER_VAAPI
373
- extra := "-hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi"
+ extra := "-hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -init_hw_device vaapi=memories:/dev/dri/renderD128 -filter_hw_device memories"
374
args = append(args, strings.Split(extra, " ")...)
375
} else if s.c.NVENC {
376
CV = ENCODER_NVENC
0 commit comments