Hi all,
In my transition plugin I want to show the user extra details when a render fails for some reason. I already show an error popup notification, and in the ECW I make a button visible that they can click for more information. This all has to work from both the CPU and GPU render path. I'm using the After Effects entry points.
What I would like to add is the name of the sequence, the name of the track, and the timestamp of the position in the sequence.
I've already spend a lot of time on figuring out on how to get access to those names, but I failed to find any inroad. I've checked:
- the PrSDKVideoSegmentSuite (doesn't return relevant strings),
- piSuites.PlugTimelineFuncsPtr (no strings either),
- EffectRecord (can't use it -- I use the AE entry points),
- PrSDKVideoSegmentSuite.SegmentNodePropertyCallback hoping it would pass me some undocumented strings (it didn't)
- lots of other stuff I forgot about
The timestamp I'm being more successful at. On the GPU path I use inRenderParams->inSequenceTime / PrSDKTimeSuite.GetTicksPerSecond. However, if I let my sequence start at another time than 0:00:00, this offset is nowhere to be found... And on the CPU path I've messed around with both in_data->total_time and in_data->current_time / in_data->time_scale, but those give incorrect values...
For getting the node ID on the CPU path I already have code in place that, starting with the timeline ID, searches it's way through the project until it finds my transition's node. During the scan I thus also have access to the sequence and segment nodes, but I failed to see any relevant info on them either.
Does anyone have a better understanding on how I might obtain these details?