How to recieve the frame number in turn?
using Video Filters, i'm developping a plug-in.
According to the SDK doc page 310,
The video your filter receives may be interlaced, in the field order determined by the project settings.
I want to receive the frame number in turn.
How to recieve the frame number in turn, When exporting or rendering the work area?
For the filter API, you can get the frame number in VideoRecord.part. You can get the video timebase in VideoRecord.tdb, which will help you interpret VideoRecord.part.
Although I have not seen the After Effects SDK yet,
I want to make a plug-in to apply video effects to get the frame back and forth based on the current frame passed from the Premiere.
Therefore, I hope that is passed from Premiere in the order of the small number of the field.
I have obtained as follows: the number of fields that are passed from Premiere.
a number of field = part ÷ sampleSize
※ "part" is from the beginning until the end of the video number (0 ~ n)
※ "sampleSize" is a number that represents the length of the field
10 = 10010 ÷ 1001
However, the number of fields that will be passed from Premiere is passed to the random.
What this specification?
How can I receive the order of the number of field?
You can look in VideoRecord.sizeFlags to determine which field is being processed. There is some documentation in the SDK Guide PDF on page 314 (CS6 release 1 version), under sizeFlags and, Fields and Field Processing. Also be sure to check out the Field-Aware Video Filter sample.