Hi There,
How can I get the current frame of the composition being rendered output to a printf statement. I'm doing something like the following. DoRender() is being called from within PF_Cmd_SMART_RENDER:
staticinlinePF_Err
DoRender(
PF_InData *in_data,
PF_EffectWorld *inputP,
RenderData *rendP,
PF_OutData *out_data,
PF_LayerDef *outputP,
PF_ParamDef *params[])
{
printf("\nRendering time %s",in_data->current_time);
}
When I use the command line to execute AE and render a project with a plugin, I get the following output. Why am I getting the null value for some frames, but then some are blank, and I kid you not, there is an ascii happy face that prints out--very weird. Any ideas?:
Rendering time (null)
Rendering time (null)
Rendering time (null)
Rendering time (null)
Rendering time (null)
Rendering time (null)
Rendering time (null)
Rendering time (null)
Rendering time (null)
Rendering time
Rendering time
Rendering time
Rendering time
Rendering time
Rendering time
Rendering time
Rendering time
Rendering time
Rendering time
Rendering time
Rendering time
Rendering time
Rendering time
Rendering time
Rendering time
Rendering time ☺
Rendering time
Rendering time
Rendering time
Rendering time