> For the complete documentation index, see [llms.txt](https://docs.bdb.ai/data-pipeline-4/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bdb.ai/data-pipeline-4/components/writers/video-writer.md).

# 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:

* ​[​Basic Information​](/data-pipeline-4/components/component-base-configuration.md)​
* Meta Information
* [Resource Configuration​](/data-pipeline-4/components/resource-configuration.md)​

{% hint style="success" %}
*Please follow the given demonstration to configure the Video Writer component.*
{% endhint %}

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fuq3RSHHup7fjHYaspk7y%2Fuploads%2Fw29bRRwOvTptSmQORlZM%2Fvideo_writer_AdobeExpress.mp4?alt=media&token=6d41c343-3481-44d2-8a78-87c9c9ab3408>" %}
Video Writer as a Pert of a Pipeline Workflow
{% endembed %}

{% hint style="info" %}
*<mark style="color:green;">Please Note</mark>:*&#x20;

* *The Pipeline testing suite and Data Metrices options in Monitoring pipeline page are not available for this component.*

* *The video Writer component supports only .mp4 file format. Its writes video frame by frame to SFTP.*
  {% endhint %}

* Drag & drop the Video Stream Consumer component to the Workflow Editor.     &#x20;

<figure><img src="/files/RJ8BJvvkPYauY6SkFy85" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/DAUfjYrSHFpAv9p8flyG" alt=""><figcaption></figcaption></figure>

## 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.&#x20;

<figure><img src="/files/xvvsOIQ6WcON3GZ3ExOZ" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
*<mark style="color:green;">Please Note</mark>: If the selected Invocation Type option is Batch, then, Grace Period (in a sec)\* field appears to provide the grace period for the component to go down gracefully after that time.*

*Selecting **Real-time** as the Invocation Type option will display the Intelligent Scaling option.*
{% endhint %}

## 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.

    &#x20;     ![](/files/n3WJLuA5NGN1AlHMhyTG)
* **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.

<figure><img src="/files/JSWDloI5xDByukuYihIR" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark> The fields for the **Meta Information** tab change based on the selection of the Authentication option.*
{% endhint %}

### When the authentication option is Password

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

<figure><img src="/files/kYbIEG71kS90oSe3bjRo" alt=""><figcaption></figcaption></figure>

### 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.

<figure><img src="/files/tuk1TGzju4Fw7zJhtCvs" alt=""><figcaption></figcaption></figure>

## Saving the Component

* Click the ***Save Component in Storage*** icon for the Video Writer component.

&#x20;     ![](/files/SJgvwDQ1jIEVocIIv2oK)

* The message appears to notify that the component properties are saved.&#x20;

&#x20;     ![](/files/1AWYZ5ulBSOz8ATcR4fL)

* The Video Writer component gets configured to pass the data in the Pipeline Workflow.
