Creating a script to make Kdenlive workflow easier, need guidance

Is there a better way to do this?

I've got 3 different video formats that I use.  9:16, 16:9, 16:10.
AFAIK there is no CLI to tell kdenlive to create a new file with certain settings.
All of my projects go in there own folder.  
I'm creating a script that will:
- create the folder
- create the project with the proper aspect ratio and settings.

Working Idea:

  • Create 3 kdenlive files, with a small video, to use as templates.
  • Have my script prompt me for the project/project folder name.
  • Copy the proper kdenlive template to the project folder.
  • Replace the XML data in the kdenlive file to account for the correct file locations: <mlt LC_NUMERIC="C" producer="main_bin" root="/home/txtechnician/Desktop" version="7.30.0">

Why not just create a custom profile preset (assuming one of the existing ones isn’t already exactly what you want)?

Then you can just click new project, select it and the project dir.

2 Likes