I'm working on automating some multicam functionality, namely moving and renaming tracking data in order for us to use the high resolution camera clips for post compositing.
To do this I need to move the tracking data files and rename them along with my video clips, then change where the playback reads the files from. I can see a module to delete files and one to delete folders but nothing about copying, moving or renaming.
I did have a quick play in lua but hit a few stumbling blocks there too.
Alternatively I can just write a separate app in python or something and trigger it via HTTP or OSC which would work, but complicates things a bit when setting up projects.
Just an update to myself..!
I ended up doing this via a seperate Python script that I activate using an HTTP post message. I do have to have the script running but it can handle pretty advanced movement and renaming, not to mention in the future I can extend the functionality with payload data to say what clip number was recorded and any other custom data that I might want.
I also changed it so that the tracking data gets copied to the location of the video files (since they are large and are recorded directly to a NAS), then the video files get renamed to match the tracking data.
Finally I scripted a switch in Aximmetry where you can toggle between the temp versions and the new high res versions with tracking data so you never need to manually tell it where things are.
This is all automated so as soon as you hit stop recording it schedules and activates the copy and rename script.