Get Export File Extension
Returns the output file extension implied by an .epr preset for a sequence. Returns the file extension that Premiere reports for a given .epr preset and sequence. sequence is optional; the active sequence is used by default. Use this to build deterministic output paths instead of guessing extensions such as .mp4 or .mxf. If sequence is omitted, the block uses the active sequence when supported. Use presetPath to choose the sequence preset. Without it, Premiere uses its default behavior for new sequences.
Inputs
| Input | Required | Value Kind | Types | Enum Values |
|---|---|---|---|---|
sequence | no | expression | reference, string, null | — |
presetPath | yes | expression | string | — |
Notes
- Returns the file extension that Premiere reports for a given
.eprpreset and sequence. sequenceis optional; the active sequence is used by default.- Use this to build deterministic output paths instead of guessing extensions such as
.mp4or.mxf.
See Also
- Premiere Reference Paths: Explains Premiere reference path strings for project items, sequences, tracks, timeline items, markers, components, and parameters.
Examples
Render Active Sequence With Preset
Builds an explicit output path from a preset-derived extension, then renders the active sequence directly.
Topics: rendering and export, sequence export, presets
Source: patterns/ex-sequence-render-active-with-preset.json
Render Marker Ranges With Export Preset
Prompts for an `.epr` preset and an output folder, then renders one file per non-zero-duration active-sequence marker by setting sequence in/out and exporting that range.
Topics: markers, rendering and export, sequence export, presets, file dialogs, folder dialogs
Source: recipes/ex-markers-render-active-sequence-ranges-with-preset.json
Render Sequence With Embedded Preset As ABSCRIPT Build Spec
Portable ABSCRIPT BUILD SPEC example that prompts for an `.epr` preset file, embeds it, derives the output suffix, and renders the active sequence. This is the portable embedded-preset counterpart to the runtime render patterns that use known preset paths.
Topics: format selection, embedded assets, rendering and export, presets
New to bundled files? Read Embedding Files.
Source: formats/ex-format-abscript-build-spec-prompt-sequence-render.json