I'm making an Exporter Plug-in using SDK 5.5.
I want to get the path and extension of the source file (when export file) and path of the sequence (when export sequence).
Especially the extension of the source file, which is always be replaced by the output extension.
I can't find it in the SDK guide and sample. Sorry if I'm being a noob.
Sequences are generally made up of multiple clips edited together. It's rare that a user would take a single clip and reexport it. So there isn't usually a one-to-one relationship between source file and exported file. Because of that, PPro provides the sequence name as the default file name.
If you did need to get at the source files, you could do it only under specific circumstances - only when exporting directly from PPro, or when loading a clip directly into AME, but not when exporting a sequence from PPro through AME. You would need to use the Video Segment Suite to parse the timeline segments, as demonstrated in the player sample code in videoSequenceParser->ParseSequence(). This is quite a complicated process and not something worth pursuing unless absolutely necessary.
Thanks for your help,
I need to know the file name (if the sequence has multiple files, then all the file name in sequence) and their extensions, like in the edl file. But it seems i'll have to live without that, because it is too much to go through all the process you mention above