Skip to main content
mikkelf3580674
Participating Frequently
April 6, 2017
Question

Still Images as Image Sequence - XML Import

  • April 6, 2017
  • 2 replies
  • 2737 views

Hi.

I'm trying to make life a bit easier by generating an XML file to quickly import a number of image sequences into a Premiere Pro project (PPro 2017.0.2 in case it matters).

It almost works - but when I import this XML file into premiere, it imports the first file in the sequence as a Still Image rather than an image sequence.

The path to the file is correct, and the first frame does show up just fine.

It feels like it's only a small change that's required, but I have not been able to find any information on it anywhere.

Xml download 

Since the (sample) XML is very short, I also included it here (the real file has a few hundred clips, they all behave the same way).

I tried manually importing an image sequence into premiere and exporting the result as FinalCut XML, but if I re-import that file, it also gets imported as a Still Image, so no help there.

<?xml version="1.0" encoding="UTF-8"?>

<xmeml version="4">

  <bin>

    <name>mpf_07 Images</name>

    <children>

      <bin>

        <name>Preview</name>

        <children>

          <clip id="mpf_07_01">

            <duration>229</duration>

            <in>0</in>

            <out>229</out>

            <name>mpf_07_01</name>

            <media>

              <video>

                <track>

                  <clipitem id="clipitem-Preview-mpf_07_01">

                    <name>clipitem-Preview-mpf_07_01</name>

                    <file id="file-Preview-mpf_07_01">

                      <name />

                      <pathurl>E:\mpf_07_01.0101.jpg</pathurl>

                      <rate>

                        <timebase>24</timebase>

                        <NTSC>FALSE</NTSC>

                      </rate>

                      <duration>320</duration>

                      <timecode>

                        <rate>

                          <timebase>24</timebase>

                          <ntsc>FALSE</ntsc>

                        </rate>

                        <string>00:00:00:00</string>

                        <frame>0</frame>

                        <displayformat>NDF</displayformat>

                        <reel>

                          <name />

                        </reel>

                      </timecode>

                      <media>

                        <video>

                          <samplecharacteristics>

                            <width>2048</width>

                            <height>1126</height>

                          </samplecharacteristics>

                        </video>

                      </media>

                    </file>

                  </clipitem>

                </track>

              </video>

            </media>

            <rate>

              <timebase>24</timebase>

              <NTSC>FALSE</NTSC>

            </rate>

          </clip>

        </children>

      </bin>

    </children>

  </bin>

</xmeml>

This topic has been closed for replies.

2 replies

Inspiring
April 10, 2017

This is not related to the script you are trying to write (which I think sounds great), but just to share a workaround I have been using to save me lots of time importing multiple image sequences. If you have each image sequence in its own folder, you can drag and drop all of them into After Effects, and it will automatically process them as image sequences, bringing in clips of each shot. Then you can simply copy and paste that into Premiere and you will effectively batch import them as image sequences. A little bit of a workaround but it saves a lot of time

mikkelf3580674
Participating Frequently
April 11, 2017

Thank you Mitch, while it's (unfortunately) not really practical in our workflow/pipeline, I'm sure it'll be useful for others in a similar situation who come upon this post later.

Bruce Bullis
Legend
April 9, 2017

What version of PPro are you using? The last parameter to importFiles(), a 0 or 1, tells PPro whether you want to import these items as numbered stills:
https://github.com/Adobe-CEP/Samples/blob/master/PProPanel/jsx/Premiere.jsx#L243https://github.com/Adobe-CEP/Samples/blob/master/PProPanel/jsx/Premiere.jsx#L243

mikkelf3580674
Participating Frequently
April 9, 2017

PPro 2017.0.2

However, this is not using ExtendScript, it's importing an XML file through the File -> Import menu (see image below), which unfortunately leaves all the clips as Still Image rather than Numbered Stills. Ideally I would want to modify the XML so that Premiere would know to take the images as numbered stills rather than still images, alternately I'll have to look at using script to reinterpret all footage as numbered stills - but I don't think that is possible (except by replacing all clips maybe?).

Bruce Bullis
Legend
April 9, 2017

Sorry, I presumed because we're in the SDK forum, you were already using our APIs.

Yes, you could reinterpret existing stills as sequences...

I'd be tempted to create a sequence containing a couple clips made of numbered stills, export FCP XML, and see what's what.

-bbb