I'm implementing an external encoder library as an After Effects plugin. This needs a value for the encoding FPS as a float value.
Using:
ERR(suites.IOOutSuite4()->AEGP_GetOutSpecFPS(outH, &fps));
gives a completely ridiculous value (1964114, when the composition FPS is 29.97). How can I get the actual FPS value?
Hi there,
Looks like AEGP_GetOutSpecsFPS returns a value of type A_Fixed. You can use the macro FIX_2_FLOAT() (defined in AE_Macros.h) to convert this to a float value.