-
batch process proxies with window burn-ins (Clip Name)
I may be going about this in the wrong direction.
I am trying to automate making low res proxies from hi-res master QTs. I want the proxies to have window burns “frame numbers” and most importantly “source clip name”I can get close with BatchProcessor.jsx, but it will need some modification to the script?
My first hang up here is I need to use an expression on a text layer which shows an overlay of the file’s layer name. Text with some “med size” so it is visible on screen.
I can batch process an “animation preset” for the frame counter, that is working well so that takes car of the frame counter window burn.
But I can’t figure out how to (because I am not very good with scripting) add Dan’s “clip layer name expression” to the Batch Processor script.I am using the BatchProcessor.jsx
I need to add Dan’s expression which works great when you add it to each layer individualy. How can I merge this into the Batch Script to avoid hand doing this to hundreds of comps?Hope you can give some friendly advice, I am not the slightest experienced with scripting, I copy and paste stuff together is about my extent of scripting lol.
//This is how I thought I could add Dan's clip expression to a text layer. This does not work for me. AECC2017
{
activeComp=app.project.activeItem;T=activeComp.layers.addText();
T.text.sourceText.expression = txt = "";
for (j = 1; j <= thisComp.numLayers; j++){
if (j == index) continue;
L = thisComp.layer(j);
if (! (L.hasVideo && L.active)) continue;
if (time >= L.inPoint && time < L.outPoint){
try{
txt = L.source.name;
}catch(err1){
txt = L.name
}
break;
}
}
txt;
T.transform.position.setValue([100,80,0]);
}note: this code does not work yet.