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.