Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Exporting from Adobe Premiere using extendscript

Community Beginner ,
Aug 28, 2014 Aug 28, 2014

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!

TOPICS
SDK
2.5K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Nov 30, 2014 Nov 30, 2014
Translate
Adobe Employee ,
Sep 07, 2014 Sep 07, 2014

Per the sample reference I already sent you, don't use exportTimeline().

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Sep 08, 2014 Sep 08, 2014

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! 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Sep 21, 2014 Sep 21, 2014

I've discussed the issue with Chris; we have better ways of exporting footage than exportTimeline(), which DO respect the work area.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 30, 2014 Nov 30, 2014

Why not share what you have in the forum? that way everyone with a similar question will be helped.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Nov 30, 2014 Nov 30, 2014
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 31, 2024 Aug 31, 2024
LATEST

Why can't you guys just answer the question instead of always pointing to your samples?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines