Skip navigation
Currently Being Moderated

How to use PrSDKTransmitInvocationSuite in a importer ?

Mar 28, 2013 7:00 AM

Tags: #importer_api #transmitinvocationsuite

"

But other types of plug-ins can use the Transmit Invocation Suite to push frames to transmitters. For example, an effect or titler with a modal setup dialog could push frames to the output.

"

 

This is good idea for a title importer ! But, how to use "PrSDKTransmitInvocationSuite" in our title importer ? Sorry, we did not find any samples or codes in Examples of SDK.

 

Is there some guys from Adobe could write some example code in here ?

 

for example, where and how to call PrSDKTransmitInvocationSuite::CreateInstance(...) ?  how to fill the field of "ioInstance" parameters for this API ?

 

how to implement PrSDKTransmitChangedProc functions ?

 

It seems that there is no documents about this suite in SDK manual.

 
Replies
  • Currently Being Moderated
    Apr 24, 2013 1:04 PM   in reply to jack vexel

    Hi Jack,

     

    The ioInstance parameter is a pointer to a tmInstance structure, defined in PrSDKTransmit.  Are there any specific structure members you're not clear how to initialize?

     

    The PrSDKTransmitChangedProc function will be called if the transmit plug-in sets outResetModule to notify that host that it's state has changed and it needs to be reinitialized.  You should implement PrSDKTransmitChangedProc to respond to a transmit plug-in being reset.

     

    Regards,

     

    Zac

     
    |
    Mark as:
  • Currently Being Moderated
    May 3, 2013 10:35 AM   in reply to jack vexel

    Hi Jack,

     

    inInstanceID will be filled in by the CreateInstance() call.

    inTimelineID should only be filled in if you have a timelineID instance, for example if you are transmitting from an importer setup dialog during imGetPrefs8, if imGetPrefsRec.timelineData is valid.  Otherwise it should be left at zero.

    inPlayID can be 0.

    Your comments are correct:

    inHasVideo should be true.

    inVideoWidth/Height should be the video resolution.

    inVideoPARNum/Den should be the video pixel aspect ratio.

     

    Cheers,

     

    Zac

     
    |
    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