About Services Tools Blog Contact us

Montage Sequence from a Clip Folder

Builds a video edit from a folder of clips. Clips fill the frame, portrait clips pan, and cuts fade with matching sound.

  • Video Generation & Editing
  • Cross-sector
  • Tool
  • Product
  • Local/private
  • 2026

The problem

A handful of portrait and landscape clips should become one montage. Adobe Premiere Pro cannot be run in the background to set the scaling, the pan and the fades, so someone does each by hand for every clip.

What it does

The script checks each clip first, then scales it to fill the frame. Portrait clips pan from top to bottom. A little is trimmed from each end so the fades have room, and mixed frame rates are matched to the edit's frame rate. The finished file points to the clips by full location and opens in Adobe Premiere Pro as a new project.

Outcomes

  • A folder of clips becomes a montage project with no hand scaling.
  • Portrait clips pan and no longer sit between black bars.
  • Picture and sound both fade between clips.
  • The file opens as a new Adobe Premiere Pro project.

Simplified mockup

Interactive preview with sample data. Nothing is sent to a server.

Autumn yard

1920 × 1080 30 fps timebase Handle 15 frames Dissolve 30 frames

Name order yard-gate.mp4, stairwell.mp4, quay-dusk.mp4

Storyboard still of a garden gate and path
1 yard-gate.mp4
3840 × 2160 · 24 fps · 8.0 s
Landscape
Storyboard still looking down a stairwell
2 stairwell.mp4
1080 × 1920 · 25 fps · 6.0 s
Portrait · pillarbox
Storyboard still of a quay at dusk
3 quay-dusk.mp4
1920 × 1080 · 30 fps · 6.0 s
Landscape
Build
Three clips in name order. Swap, then build.

Probe

Source frames are placed on the 30 fps timebase. Fifteen frames are trimmed from each end so the dissolve has a handle.

autumn-yard / clips
ClipSizefpsSourcePlacedScaleMotion
yard-gate.mp43840 × 216024192 f162 f50.0%fill
stairwell.mp41080 × 192025150 f120 f177.8%portrait pan
quay-dusk.mp41920 × 108030180 f150 f100.0%fill
Audio
Music bed
Under the preview, 120 bpm
Handles
15 f
Trimmed each side before the cut
Dissolve
30 f
Centred on the cut, 1.0 s

Sequence file

autumn-yard.xml ready

/Edits/autumn-yard/autumn-yard.xml

Media folder /Edits/autumn-yard/clips/. Absolute paths. Opens as a new project.

<?xml version="1.0" encoding="UTF-8"?> <xmeml version="5"> <sequence> <name>autumn-yard</name> <rate><timebase>30</timebase></rate> <width>1920</width><height>1080</height> <clip index="1" name="yard-gate.mp4" scale="50"/> <clip index="2" name="stairwell.mp4" scale="177.8" pan="top-to-bottom"/> <clip index="3" name="quay-dusk.mp4" scale="100"/> </sequence> </xmeml>
Scale and pan summary
ClipFrameScaleTreatment
yard-gate.mp43840×216050.0%fill
stairwell.mp41080×1920177.8%PORTRAIT pan
quay-dusk.mp41920×1080100.0%fill

How it works

  1. Check each clip for size, frame rate and length.
  2. Scale every clip to fill the frame.
  3. Pan portrait clips from top to bottom while they play.
  4. Trim a little from each end for the picture and sound fades.
  5. Write the edit file in the chosen order.

Pipeline

flowchart LR
  A[Clip folder] --> B[Probe]
  B --> C[Scale to fill]
  C --> D[Portrait pan]
  D --> E[Dissolves]
  E --> F[Sequence file]

Output

Sample output

Filled frame montage with a portrait pan and two one second dissolves