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

How to get source clip file Path within SDK exporter plugin?

$
0
0

Hello everyone.

 

Now I am facing a stupid thing but it has me stuck for a few days.

 

I want to get access to the source clip file path. From taking a look at the SDK exporter example, I only see how the output file path is read, but nothing else.

 

I thought this code should work:

 

 

PrSDKExportInfoSuite *exportInfoSuite = mySettings->exportInfoSuite;

 

if (exportInfoSuite)

{

     seqFilePath.mType = kPrParamType_PrMemoryPtr;

     exportInfoSuite->GetExportSourceInfo(exportInfoP->exporterPluginID, kExportInfo_SessionFilePath, &seqFilePath);

     PrSDKMemoryManagerSuite * memorySuite = mySettings->memorySuite;

 

     int pathSize = memorySuite->GetPtrSize(seqFilePath.mMemoryPtr);

     memcpy_s(inputFilePat,

       sizeof(inputFilePath), (constchar*)seqFilePath.mMemoryPtr, pathSize); 

}

 

But it gives me the output file path, not the path of the source. As long as I am using GetExportSourceInfo I thought the session file path would point to the source path...

 

Please, how can I get this info? Maybe in some part of the startup sequence?

 

Thanks in advance.

 

Regards.

 


Viewing all articles
Browse latest Browse all 53010

Trending Articles



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