Hi Paul, thanks for your reply and thanks for the method of converting frames to seconds. Hadn't thought of that.
However, it's still not working for me. This is what I do.
- Create a new composition with the display start time of 200 (first frame is 200).
- Create a new layer and add timecode effect to it. Set it to display frames. On the first frame of the composition it says 200.
- Run the following script:
Code: Select all
var myComp = app.project.activeItem;
var startFrame = 200;
app.project.renderQueue.items.add(myComp);
var lastInRQ = app.project.renderQueue.numItems;
var startSec = startFrame * myComp.frameDuration;
app.project.renderQueue.item(lastInRQ).timeSpanStart = startSec;
- In the render que/render settings, the start frame to render is now 400.
- If I render the composition it renders a file and the timecode displays frames 400 - end frame.
So from what I understand you have to compensate for the compositions display start, but if you do, you get the error. Or am I missing something?