From 6710930109cb64031f609636d5254cd960b0bef0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20B=C3=A9dard-Couture?= Date: Tue, 14 Mar 2023 14:27:44 -0400 Subject: [PATCH] Drop the hwaccel_output_format argument to fix issue #6 --- stream.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stream.go b/stream.go index a4dc8587..30fcca52 100644 --- a/stream.go +++ b/stream.go @@ -378,7 +378,7 @@ func (s *Stream) transcodeArgs(startAt float64) []string { args = append(args, strings.Split(extra, " ")...) } else if s.c.NVENC { CV = "h264_nvenc" - extra := "-hwaccel cuda -hwaccel_output_format cuda" + extra := "-hwaccel cuda" args = append(args, strings.Split(extra, " ")...) }