FileMp4OutputSettings interface
Settings to control MP4 file output see NorskOutput.fileMp4()
Signature:
export interface FileMp4OutputSettings extends SinkNodeSettings<FileMp4OutputNode>, StreamStatisticsMixin
Properties
| Property | Type | Description |
|---|---|---|
(Optional) Settings for encrypting the audio track. |
||
boolean |
(Optional) Enable "incremental" write mode of non-fragmented mp4 output file. This periodically updates the file header (the moov) to reflect the latest data that has been written, so that the file can be loaded/reloaded in some player while it is being written. You must set to ensure an appropriate space can be reserved for the header or the file will no longer update incrementally |
|
number |
(Optional) |
|
string |
(Optional) stream fragmented MP4 to this file. |
|
string |
(Optional) Serve the fragmented MP4 from this filename |
|
number |
(Optional) Maximum duration that the file is expected to last. This should be a conservative estimate according to the use case, so that you never expect to hit the limit, but there is some file size cost to a larger value (so if the file is going to be 10 seconds, setting 2 hours would be a bad idea). |
|
string |
(Optional) Write non-fragmented MP4 to this file on close, creates a |
|
(Optional) Settings for encrypting the video track. |