Possible to direct export PrPro to Media Encoder?

I am trying to create a plugin that can batch add clips from the timeline to media encoder. I am able to get the plugin to identify the clips, the in and out points, etc., but I cannot figure out how to directly export or add to media encoder.

Is this possible?

Thanks!

Hi StephenP,

We haven’t exposed transcoding yet, but once we do

As PPro track items are backed by project items, I think you would need to add those project items to the AME queue; the trackItem’s in and out points refer to the correct range of the project item source media.

I have a question: I’m using encoderManager to send a sequence to a AME, but the in/out range uses the work area, not the entire sequence. Is there a way to change it to use the entire sequence?

And can I start a queue directly in uxp?

await encoderManager.exportSequence(
                sequence,
                constants.ExportType.QUEUE_TO_AME,
                outputFile,
                presetPath,
            );

Is there a way to change it to use the entire sequence?

Not today, but the lack of that capability is a known issue (specifically, issue # DVAPR-4255957), which we plan to address before the official release of UXP extensibility.