Replacing footage based on a text filter
Is there a way to force-replace (or update) all footage in a sequence with other footage in a project, based on text patterns in the name?
A specific example: I’m currently creating lots of videos with stock. Initially we use temps as a lot of it gets thrown out, swapped, etc. Then the time comes to buy all the clips we’ve used. I’ve created a script that will go through the active timeline and dump JPEGs into a folder of all clips whose name contains “PREVIEW”, so we know which ones we need (jpegs are safer than just getting filenames from an EDL export, as I’m not the one buying them). Once they’re bought, I then have to do this for *every* clip on the timeline:
1 – find its purchased version in the relevant bin
2 – double click to open the temp clip in case the in point isn’t the beginning; copy the timecode of the in point
3 – double click the licensed version, paste the TC in and set the in point
4 – alt-drag the licensed clip onto the temp version to replace it
This is a ludicrous workflow. Surely there should be a way to automate it – or there is already, and I’m missing something??