Update ffmpeg output param name

This commit is contained in:
Alexey Khit
2022-09-07 11:29:59 +03:00
parent 14b6df68ce
commit 88a6208912

View File

@@ -26,7 +26,7 @@ func Init() {
"rtsp": "-fflags nobuffer -flags low_delay -rtsp_transport tcp -i {input}", "rtsp": "-fflags nobuffer -flags low_delay -rtsp_transport tcp -i {input}",
// output // output
"out": "-rtsp_transport tcp -f rtsp {output}", "output": "-rtsp_transport tcp -f rtsp {output}",
// `-g 30` - group of picture, GOP, keyframe interval // `-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` // `-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 += " -c copy"
} }
s += " " + tpl["out"] s += " " + tpl["output"]
return exec.Handle(s) return exec.Handle(s)
}) })