nlef / moonraker-telegram-bot

Telegram bot to interact with Moonraker (Klipper Web API Server)
Creative Commons Zero v1.0 Universal
245 stars 64 forks source link

[Bug]: Incredible high frame rate on timelapses #293

Open Phil1988 opened 9 months ago

Phil1988 commented 9 months ago

What happened and in what context?

First: Thanks for this great software - its really handy and great!

However I found a bug that hopefully could be eliminated. Installed the latest version like 4 days ago on a fresh system. In the config I have set the telegram bot to take snapshots every 10 sec.

[timelapse]
send_finished_lapse: true
cleanup: true
time: 10
target_fps: 20
min_lapse_duration: 5
max_lapse_duration: 10
last_frame_duration: 2

I just finished a 20h print and it generated a 12 second video with a size of 90MB and 719.01 frames/second.

I expected the video to cut all the frames in such a manner, that it gets close to 20 fps.

What did I do wrong or can you check if the creation of the video can be improved to meet the target fps? (I know a snapshot every 10s is much on a 20h print, but sometimes I also print things in 7min and I would like not to edit the settings for every print)

If needed, paste the relevant bot log contents here.

I don't think its needed

If needed, paste the relevant bot journal contents here.

I don't think its needed

What branch does this occur on?

master

Reports only on latest master or development branches!