Video Writer
The video writer component is designed to write .mp4 format video to a SFTP location by combining the frames that can be consumed using the video consumer component.
All component configurations are classified broadly into the following sections:
- Meta Information 
Please follow the given demonstration to configure the Video Writer component.
- Drag & drop the Video Stream Consumer component to the Workflow Editor. 

- Click the dragged Video Stream Consumer component to open the component properties tabs. 

Basic Information
It is the default tab to open for the component.
- Invocation Type: Select an Invocation type from the drop-down menu to confirm the running mode of the reader component. Select ‘Real-Time’ or ‘Batch’ from the drop-down menu. 
- Deployment Type: It displays the deployment type for the component. This field comes pre-selected. 
- Batch Size (min 10): Provide the maximum number of records to be processed in one execution cycle (Min limit for this field is 10). 
- Failover Event: Select a failover Event from the drop-down menu. 
- Container Image Version: It displays the image version for the docker container. This field comes pre-selected. 
- Description: Description of the component. It is optional. 

Meta Information Tab
Select the Meta Information tab and provide the mandatory fields to configure the dragged Video Stream Consumer component.
- Host IP Address (*)- Provide IP or URL - The input in Host IP Address in the Meta Information tab changes based on the selection of the Channel. There are two options available: - Live: This allows writing the data to the desired location when live data is coming continuously. 
- Media File: It will read only stored video file and writes them to desired SFTP location. 
  
 
- Username (*)- Provide username 
- Port (*)- Provide the Port number 
- Authentication- Select any one authentication option out of Password or PEM PPK File 
- Stream(*)- The supported streaming methods are Live and Media files. 
- Partition Time(*)- It defines the length of video the component will consume at once in seconds. This field will appear only if the LIVE option is selected in Stream field. 
- Writer Path (*)- Provide the desired path in SFTP location where the video has to be written. 
- File Name(*)- Give any filename with a format mp4(sample_filename.mp4). 
- Frame Rate – Provide the rate of frames to be consumed. 

When the authentication option is Password
While using the authentication option as a Password it adds a password field in the Meta information.

When the authentication option is PEM/PPK file
While choosing the PEM/PPK File authentication option, the user needs to select a file using the Choose File option.

Saving the Component
- Click the Save Component in Storage icon for the Video Writer component. 
      
- The message appears to notify that the component properties are saved. 
      
- The Video Writer component gets configured to pass the data in the Pipeline Workflow. 
Last updated
