Copy link to clipboard
Copied
Hi!
I'm trying to figure out how the exportTimeline() function works. So far, I have managed to import files and add them to a sequence. Now I want to export the sequence as a Quicktime movie. Eventually, I want to be able to set start and end points for an export (i.e. export a work area, export a clip from the timeline, etc.).
I did try to use the function by passing in a path to a file name:
exportTimeline("somepath.mov")
I didn't get an error message, which is good. I got a 'result:7' (not sure what that means). I did not see any new files exported to the path though.
Thanks!
Copy link to clipboard
Copied
Per the sample reference I already sent you, don't use exportTimeline().
Copy link to clipboard
Copied
Ok I'm figuring this out.
Seems like the trick is to use Adobe Media Encoder to render out the final clips as quicktimes (or whatever format you want).
I have exported the project as a XML file. Then I scraped the XML with Python and lxml to get the start and end points I want and wrote that data out as another XML file, which hopefully I can read back into Premiere with ExtendScript. I will set the in and out points and render with Media Encoder.
Hopefully this will work!
Copy link to clipboard
Copied
I've discussed the issue with Chris; we have better ways of exporting footage than exportTimeline(), which DO respect the work area.
Copy link to clipboard
Copied
Why not share what you have in the forum? that way everyone with a similar question will be helped.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Why can't you guys just answer the question instead of always pointing to your samples?