FileMp4OutputSettings interface

Settings to control MP4 file output see NorskOutput.fileMp4()

Signature:

export interface FileMp4OutputSettings extends SinkNodeSettings<FileMp4OutputNode>, StreamStatisticsMixin

Properties

Property Type Description

audioEncryption?

EncryptionSettings

(Optional) Settings for encrypting the audio track.

fragmentedFileName

string

Required: stream fragmented MP4 to this file.

nonfragmentedFileName?

string

(Optional) Write non-fragmented MP4 to this file on close, creates a .tmp file to store the frame data.

onStreamEof?

() ⇒ void

(Optional) Callback that will be invoked once data stops being received by the node (determined by an empty context) at which point it will automatically shut down

videoEncryption?

EncryptionSettings

(Optional) Settings for encrypting the video track.