From e4f8ee9689ab23298ac29a9041b0bd9929e8cd2b Mon Sep 17 00:00:00 2001 From: Taylor Talkington Date: Wed, 15 Dec 2021 05:15:48 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=AC=20Default=20ffmpeg=20option=20-fra?= =?UTF-8?q?merate=20instead=20of=20-r=20(#4344)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In timelapse settings, use -framerate instead of -r. This addresses #4153 for new installations. --- AUTHORS.md | 1 + src/octoprint/settings.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/AUTHORS.md b/AUTHORS.md index 397bd03dc..c1a8399aa 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -158,6 +158,7 @@ date of first contribution): * [Maciej UrbaƄski](https://github.com/rooterkyberian) * [Adam Wolf](https://github.com/adamwolf) * [Didi Kohen](https://github.com/kohend) + * [Taylor Talkington](https://github.com/The-EG) OctoPrint started off as a fork of [Cura](https://github.com/daid/Cura) by [Daid Braam](https://github.com/daid). Parts of its communication layer and diff --git a/src/octoprint/settings.py b/src/octoprint/settings.py index e655a2e96..b1fdf31f9 100644 --- a/src/octoprint/settings.py +++ b/src/octoprint/settings.py @@ -262,7 +262,7 @@ default_settings = { "flipH": False, "flipV": False, "rotate90": False, - "ffmpegCommandline": '{ffmpeg} -r {fps} -i "{input}" -vcodec {videocodec} -threads {threads} -b:v {bitrate} -f {containerformat} -y {filters} "{output}"', + "ffmpegCommandline": '{ffmpeg} -framerate {fps} -i "{input}" -vcodec {videocodec} -threads {threads} -b:v {bitrate} -f {containerformat} -y {filters} "{output}"', "timelapse": { "type": "off", "options": {},