MP4 File

Write an MP4 output file. Records as soon as there is input, or on demand: each started recording is a file of its own, finalised when stopped. Finalised snapshots of the current recording are available on demand.

Component Configuration

Option Description Required Environment override

id

A unique identifier for the component instance

✓

displayName

The name shown in the Studio UI of this component

✓

fileName

The filename to write (default: "output")

✗

<COMPONENT_ID>_FILENAME

writeMode

File write mode for the continuous output (default: "fragmented")

✗

incrementalWriteInterval

How often to write out the header when in incremental mode (in seconds) (default: 10)

✗

<COMPONENT_ID>_INCREMENTALWRITEINTERVAL

expectedFileDuration

How long the file is expected to be - used in incremental mode to reserve header space (in seconds) (default: 3600)

✗

<COMPONENT_ID>_EXPECTEDFILEDURATION

initialState

Record as soon as there is input, or wait to be started (each started recording is a new, timestamped file) (default: "recording")

✗

splitOnSourceLoss

Start a new file when the input stops and returns, rather than keep one file with a gap in it (default: false)

✗

sourceLossSeconds

How long the input must send nothing before the file is closed, when splitting on source loss (in seconds) (default: 2)

✗

notes

Additional notes about this component

✗

Options with an environment override can be set when Studio starts, without editing the workflow. <COMPONENT_ID> is this component’s id in your workflow, uppercased, with spaces and dashes replaced by underscores and other punctuation removed — a component named SRT Input reads SRT_INPUT_PORT. Renaming a component changes its id, and so changes these variable names.

Tags: mp4 egest