We’re getting an error on trying to export a clip;
Invalid key code count (must be between 0 and 9999).
We get the same issue when we export the clip manually as with the flame.PyExporter. From my understanding the key code is/was an attribute used for negative cutting. We don’t need this value for our current workflows.
It seems to be an issue with this one particular clip, but having trouble understanding what the error means. My questions are;
How does flame calculate the key code / key code count?
Is it possible to get the key code count with python?
How can we modify this value so it doesn’t throw an error on export?
thanks phil that article is really helpful for getting a bit more background on what this value is.
in the end we had to copy the key code from a different clip to get it working. Probably the key code on that particular shot was corrupted and that in turn cause the key code count to throw an error.
Any idea if there’s a way to access/modify these values with python? otherwise i’ll have to be the flame ops fixing these values manually, which might be quite time consuming if there’s a lot of shots.