Timelapse for Klipper 3D Printer Firwmare

Let’s use moonraker-timelapse to set up timelapses of your 3D prints!
Make sure the printer is not currently printing
cd ~
git clone https://github.com/mainsail-crew/moonraker-timelapse
cd moonraker-timelapse
make install
Set up auto update
Edit your moonraker.cfg
# moonraker.conf
[update_manager timelapse]
type: git_repo
primary_branch: main
path: ~/moonraker-timelapse
origin: https://github.com/mainsail-crew/moonraker-timelapse.git
managed_services: klipper moonraker
Update your printer.cfg file
# printer.cfg
[include timelapse.cfg]
Update your slicer settings
For Orca Slicer, go to your printer settings > Machine G-Code > Before layer change
TIMELAPSE_TAKE_FRAME
Edit the moonraker.conf file
# moonraker.conf
[timelapse]
## Following basic configuration is default to most images and don't need
## to be changed in most scenarios. Only uncomment and change it if your
## Image differ from standart installations. In most common scenarios
## a User only need [timelapse] in their configuration.
output_path: ~/timelapse/
## Directory where the generated video will be saved
frame_path: /tmp/timelapse/
## Directory where the temporary frames are saved
ffmpeg_binary_path: /usr/bin/ffmpeg
## Directory where ffmpeg is installed
Source: https://github.com/mainsail-crew/moonraker-timelapse/blob/main/docs/installation.md