From 88a6208912a5fc0ab20ee1bd62005f0897d28e5c Mon Sep 17 00:00:00 2001 From: Alexey Khit Date: Wed, 7 Sep 2022 11:29:59 +0300 Subject: [PATCH] Update ffmpeg output param name --- cmd/ffmpeg/ffmpeg.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/ffmpeg/ffmpeg.go b/cmd/ffmpeg/ffmpeg.go index a863cd0d..c65241c8 100644 --- a/cmd/ffmpeg/ffmpeg.go +++ b/cmd/ffmpeg/ffmpeg.go @@ -26,7 +26,7 @@ func Init() { "rtsp": "-fflags nobuffer -flags low_delay -rtsp_transport tcp -i {input}", // output - "out": "-rtsp_transport tcp -f rtsp {output}", + "output": "-rtsp_transport tcp -f rtsp {output}", // `-g 30` - group of picture, GOP, keyframe interval // `-preset superfast` - we can't use ultrafast because it doesn't support `-profile main -level 4.1` @@ -118,7 +118,7 @@ func Init() { s += " -c copy" } - s += " " + tpl["out"] + s += " " + tpl["output"] return exec.Handle(s) })