From 87ddc8468cb228d0b62f96b17696b34ee874d7bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 23 Jun 2021 12:15:55 +0200 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20Switch=20to=20`b:v`=20for?= =?UTF-8?q?=20bitrate?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Seems more fitting to do add a stream selector for the video stream based on the ffmpeg docs and #4059 Closes #4059 --- src/octoprint/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/settings.py b/src/octoprint/settings.py index 9e158e240..7841c03a3 100644 --- a/src/octoprint/settings.py +++ b/src/octoprint/settings.py @@ -261,7 +261,7 @@ default_settings = { "flipH": False, "flipV": False, "rotate90": False, - "ffmpegCommandline": '{ffmpeg} -r {fps} -i "{input}" -vcodec {videocodec} -threads {threads} -b {bitrate} -f {containerformat} -y {filters} "{output}"', + "ffmpegCommandline": '{ffmpeg} -r {fps} -i "{input}" -vcodec {videocodec} -threads {threads} -b:v {bitrate} -f {containerformat} -y {filters} "{output}"', "timelapse": { "type": "off", "options": {},