Use the "Timelapse" tab in OctoPrint to create time lapse videos of your prints.
Introduction

Timelapse video is possible if you connect a camera to the on board computer via USB. You will need to enable webcam functionality by going to Settings -> MakerGear Setup and click 'Enable Webcam'
In order to use the Timelapse feature, simply connect an OctoPrint-compatible camera to your M3’s on-board computer via USB.
Once connected to your printer's on-board computer via USB, your camera’s video feed will automatically appear within the upper section of the Control tab.