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.