Save Clip Node
Save a Clip to local disk or cloud when a trigger condition is met.
The node saves clips in
mp4 format, along with the Pipeline metadata contained in those frames, as a files API object.
Files created by this node are also listed in the Console under the Deployment detail page when the save location is Lumeo cloud.
Format of output
This node creates 2 files for every clip it saves:
Media file (MP4 format), named
clip1-2023-01-20T083909.952Z.mp4. The timestamp in the file name is the creation timestamp. This file contains the media for the clip in mp4 format.
Metadata file (JSON format) named
clip1-2023-01-20T083909.952Z.mp4.json. This file contains the metadata for all the frames contained in the media file in JSON format.
Inputs & Outputs
- Inputs : 1, Media Format : Encoded Video
- Outputs : 1, Media Format: Encoded Video
- Output Metadata : None
|Maximum duration for the clip, in seconds. Once this duration is reached, a new clip will be started.|
|Duration, in seconds, of video to record before the trigger condition is met.|
Note: See section below on how Pre-buffer works depending on the
|Maximum size of a clip in bytes. Once this size is reached, a new clip will be started.|
|Where to save clips & associated metadata. Options :|
|Path to save the clips, if |
If location is set to
|Maximum number of files to keep on local disk, when |
If this property is not set, Lumeo will continue to save till the disk fills up. If it is set, Lumeo will save to local disk in a round robin manner (overwrite the 1st file once
|Start recording a clip once the trigger condition is met.|
The trigger expression must be a valid Dot-notation expression that operates on Pipeline Metadata and evaluates to
|AWS S3-compatible endpoint to upload to. Used when |
|AWS S3-compatible endpoint Region. Used when |
|AWS S3-compatible bucket name. Used when |
|Folder prefix within the AWS S3-compatible bucket that files will be created in. Used when |
|S3 API Key ID with write access to the specified bucket. Used when |
|S3 API Key with write access to the specified bucket.|
This diagram below explains how the pre-buffer interval changes how the video clip is recorded.
Updated about 1 month ago