I have created a PowerShell script that can be easily installed, configured, and scheduled that will do the following:
- Identify the folders containing timelapse images
- Create a timelapse video for the previous day by default
- Merge timelapse videos together in the event of multiple folders being created
- Optionally upload the created videos to an authorised YouTube account
- Clean up the source image files, remove empty source image folders, and remove output videos older than a specified retention date
- Write results to a log file for analysis
The source can be found here:
- GenerateTimelapse on GitHub
Please raise issues with the script directly on the repository page. It is provided under the MIT License.
I created this to meet my use case requirements. It took a little longer than expected, but I was able to make the script loop through all timelapse folders, and merge videos together that were created because the server was rebooted, or NCS chose to use a new Timelapse folder.
I’ve been testing the script over the past three weeks, and it works very well. Each morning I have new videos generated and uploaded to my YouTube channel, unlisted, for me to review. The best part is how it cleans up after itself - it freed up so much space on my server, those images take up a LOT of space.
Please comment here if you have any feedback or need tips on installation.