Video Writer

The Video Writer component writes video streams or files to a specified SFTP location. It supports both live streaming and media file ingestion modes, with flexible authentication methods and configurable parameters such as frame rate, partitioning, and output path.

Configuration Sections

The Video Writer component configurations are organized into the following sections:

  • Basic Information

  • Meta Information

  • Resource Configuration

  • Connection Validation

Basic Information Tab

Parameter
Description
Example
Required

Invocation Type

Defines execution mode. Options: Real-Time, Batch.

Real-Time

Yes

Deployment Type

Deployment type of the component (pre-selected).

Kubernetes

No

Batch Size

Maximum number of records per cycle. Minimum: 10.

100

Yes (Batch only)

Failover Event

Failover event for error handling.

retry_event

Optional

Container Image Version

Docker container image version (pre-selected).

v1.2.3

No

Description

Optional description of the component.

Writes live video to SFTP

Optional

Grace Period

Available only for Batch. Grace period (seconds) before shutdown.

30

Optional

Intelligent Scaling

Available only for Real-Time. Dynamically adjusts scaling of the component.

Enabled/Disabled

Optional

Meta Information Tab

Parameter
Description
Example

Host IP Address (*)

IP address or URL of the target system.

sftp.example.com

Username (*)

Username for authentication.

video_user

Port (*)

Port number for the target host.

22

Authentication

Authentication method. Options: Password or PEM/PPK File.

Password

Password

Required if Password authentication is selected.

********

PEM/PPK File

Required if PEM/PPK File authentication is selected. Upload file via UI.

id_rsa.ppk

Stream (*)

Streaming mode: Live (continuous ingestion) or Media File (single file).

Live

Partition Time (*)

Length of video segments (in seconds). Available only in Live mode.

60

Writer Path (*)

Path in the SFTP location where video will be written.

/videos/output/

File Name (*)

Target file name with format (e.g., .mp4).

session1.mp4

Frame Rate

Frame rate of the video stream.

30

Authentication Options

Password Authentication

  • Adds a Password field to the Meta Information tab.

  • Used when connecting with a username/password pair.

PEM/PPK File Authentication

  • Adds a Choose File option to upload a private key file (.pem or .ppk).

  • More secure for automated deployments.

Saving the Component

  1. After configuring the fields, click the Save Component in Storage icon.

  2. A confirmation message appears once the component is saved successfully.

  3. The component is now ready to pass video data in the pipeline workflow.

Notes

  • Stream Modes:

    • Live: Continuously processes incoming video streams.

    • Media File: Processes stored video files once.

  • Partition Time is only required in Live mode.

  • Ensure the SFTP target directory has sufficient permissions.

  • Use Intelligent Scaling in real-time mode for dynamic workload optimization.