Skip navigation
jfairley2
Currently Being Moderated

How do I import a file as a subclip?

Apr 23, 2013 11:41 AM

Tags: #scripting

In my panel, I have representations of clips and subclips from an external system. So far I can only see how to import an entire video into Premiere. Is it possible to import a subclip?

 

To import an entire video, I currently do the following:

 

Premiere.app.project.importFiles(["/path/to/file.mov"]);

 

 

I see the importFiles() takes a generic Object. Is there a struct that I can use for defining mark-in/mark-out points for this imported video?

 
Replies
  • Currently Being Moderated
    Apr 24, 2013 1:12 PM   in reply to jfairley2

    No, but...

     

    If the file contains XMP metadata defining sub-clips (created in Prelude, for instance), those will be available in PPro.

     

    You can also create a sequence in FCP XML, and import that.

     

    [Feel free to write me directly for panel development help.]

     
    |
    Mark as:
  • Currently Being Moderated
    May 16, 2013 11:31 AM   in reply to jfairley2

    Did creating a sequence, and importing that, help?

     
    |
    Mark as:
  • Currently Being Moderated
    May 19, 2013 6:25 AM   in reply to jfairley2

    For the XML structure, see Apple's spec for guidance, but yes, using PPro-generated FCP XML as a template is a good approach.

     

    To the extent that FCPX supports FCP7 XML (I don't know what that extent is), yes, it should import correctly.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points