Skip to main content

Get Export File Extension

Category: Pr Rendering Get Export File Extension block screenshot

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

InputRequiredValue KindTypesEnum Values
sequencenoexpressionreference, string, null
presetPathyesexpressionstring

Notes

  • 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.

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.

kind: Pattern · format: runtime-dsl · validation: Schema only

Topics: rendering and export, sequence export, presets

Source: patterns/ex-sequence-render-active-with-preset.json

Download 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.

kind: Recipe · format: persisted-document · validation: Schema only

Topics: markers, rendering and export, sequence export, presets, file dialogs, folder dialogs

Source: recipes/ex-markers-render-active-sequence-ranges-with-preset.json

Download 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.

kind: Format · format: abscript-build-spec · validation: Schema only

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

Download JSON