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. Omitted or blank presetPath uses the same Premiere-installed H.264 Match Source - Adaptive High Bitrate preset as prRenderSequence. Returns the file extension that Premiere reports for a given .epr preset and sequence. Omitted or blank presetPath uses the same Premiere-installed H.264 Match Source - Adaptive High Bitrate system preset as prRenderSequence. 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 a preset. Whether it is optional and which default applies depend on the block; see the block notes.

Inputs​

InputRequiredValue KindTypesEnum Values
sequencenoexpressionreference, string, null—
presetPathnoexpressionstring—

Notes​

  • Returns the file extension that Premiere reports for a given .epr preset and sequence. Omitted or blank presetPath uses the same Premiere-installed H.264 Match Source - Adaptive High Bitrate system preset as prRenderSequence.
  • 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 Sequence Marker Ranges

Renders one safely named file per non-zero-duration active-sequence marker. The setup dialog offers an optional `.epr` preset; leaving it empty uses the Premiere-installed H.264 Match Source - Adaptive High Bitrate preset.

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

Topics: markers, rendering and export, sequence export, presets, filename patterns, file dialogs, folder dialogs, collision handling

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