Render Image Sequence prob

GenJerDan wrote on 6/28/2005, 12:37 AM
Using the supplied Render Image Sequence script, I get the error "insufficient step time" when trying to spit out each frame of a 24 fps ITVC or plain 24 fps project using a Step Time of 00:00:00;01

Vegas 5 has no problem with this, but version 6.0b chokes.

And, when I set it to 00:00:00;02 to get every other frame, it behaves strangely, rendering (for a fake example) frames 1,3,5,6,7,9,11,12,14 and so forth.

So. Does v6 calculate frames differently, breaking the script? Or am I doing something wrong, and v5 was just more forgiving?

Dan

Comments

JohnnyRoy wrote on 6/28/2005, 11:55 AM
That’s an interesting behavior you’ve uncovered. Rendering is always specified in Ruler Format. Apparently there is a problem in the Script API when using SMTPE as the ruler format for 24p. The Timecode class incorrectly calculates the length of one frame.

The Timecode for one frame 00:00:00;01 at 23.976 fps (i.e., 24p) should be 41.7083 milliseconds in length, but the script API is returning a value of 33.3667 when converting from a text string, thus the error "insufficient step time". i.e., the time is less than one frame.

To get around this, set your Ruler Format to "Time & Frames", specify 00:00:00.01 as one frame, and the script will run correctly.

~jr
GenJerDan wrote on 6/28/2005, 3:58 PM
Thanks you very much. I'll give it a try as soon as I can...meaning I have to wait until my wife is off my computer. ;-)

Dan
SonyPJM wrote on 7/20/2005, 10:16 AM
I am not able to reproduce claim that "00:00:00;01" ==> 33.3667 ms when my ruler format is set to SMPTE Film Sync... I'm getting 41.6667 as expected using the following code:


Timecode tc = Timecode.FromString("00:00:00;01");
MessageBox.Show(tc.ToMilliseconds().ToString());


But your advice is on the right path... you do need to have your ruler set to whatever format you intend the script to interpret the step time as.