Quantcast
Channel: Adobe Community : Popular Discussions - Premiere Pro SDK
Viewing all articles
Browse latest Browse all 53010

Field Type detection

$
0
0

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_Media_StreamFieldType,&m ediaFieldTypeString);

 

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

 

 


Viewing all articles
Browse latest Browse all 53010

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>