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

Empty pix pointer while accessing transmitter

$
0
0

Hi,

 

I've troubles with accessing frame data via transmitter api. I've used Transmitter sample and in PushVideo method I'm trying to get inFrame pix data, but it is empty.

 

Code looks like this:

 

tmResult TransmitInstance::PushVideo(

  const tmStdParms* inStdParms,

  const tmInstance* inInstance,

  const tmPushVideo* inPushVideo)

{

/*sample code*/

 

// Dispose of the PPix(es) when done!

for (int i=0; i< inPushVideo->inFrameCount; i++)

{

     PPixHand inFrame = inPushVideo->inFrames[i].inFrame;

 

     char *pBuffer = nullptr;

     prSuiteError result = mSuites.PPixSuite->GetPixels( inFrame, PrPPixBufferAccess_ReadOnly, &pBuffer );

}

 

pBuffer is empty and inFrame member "pix" also. Buffer access flag does matter, but I tried all possibilities and still doesn't work. "result" is 0. Premiere Pro version is CC 2014.

 

Am I doing sth wrong?

 

Please, help.


Viewing all articles
Browse latest Browse all 53010

Trending Articles



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