I am trying to write a filter for which the field type (e.g. lower field first, upper field first or
progressive of the SOURCE material is important.
I am guessing the following should do the trick, but it always returns 0 (while source material is lower field first PAL DV)
VideoSequenceParser videoSequenceParser(SPBasic,0,0,0,0);
videoSequenceParser.ParseSequence((*theData)->timelineData,0);
PrClipID clipID=videoSequenceParser.FindClipIDAtTime(10000);
ClipRenderSuite->GetClipFieldType(clipID, &fieldType);
I also tried :
returnValue = mSegmentSuite->GetNodeProperty(mediaNodeID,kVideoSegmentProperty_Medi a_StreamFieldType,&mediaFieldTypeString);
But with the same result always 0.
BTW (I am using the Premiere SDK and not the After Effects SDK, because I thought I will be able to obtain more details. If it is possible with the After Effects SDK all the better.)
Can anybody help me with this an explain how I can obtain the field type of a source clip?
Thanks in advance,
Arjan