💬 Default ffmpeg option -framerate instead of -r (#4344)

In timelapse settings, use -framerate instead of -r.
This addresses #4153 for new installations.
This commit is contained in:
Taylor Talkington authored and GitHub committed 2021-12-15 11:15:48 +01:00
1 parent 477d8001bb
commit e4f8ee9689
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -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
+1 -1
View File
@@ -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": {},