Skip navigation
U ch
Currently Being Moderated

How to recieve the frame number in turn?

Jun 14, 2012 9:14 PM

Tags: #fsexecute #premiere_filter_api

How to recieve the frame number in turn?

 

 

Hi.

 

using Video Filters, i'm developping a plug-in.

 

According to the SDK doc page 310,

 

fsExecute

...

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?

 

Thank you.

 
Replies
  • Currently Being Moderated
    Jun 15, 2012 10:48 AM   in reply to U ch

    Hi there,

     

    We strongly recommend you use the After Effects API to develop video effects for Premiere Pro.  Have you looked at the After Effects SDK?  Or are there any reasons why the Premiere filter API might be a better fit?

     

    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.

     

    Regards,

     

    Zac

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 18, 2012 10:03 AM   in reply to U ch

    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.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points