Open topic with navigation

# Ingest Video from a File

To ingest video from a file, follow these steps.

To ingest video from a file

1. Create a new configuration to send to HPE Media Server with the `process` action, or open an existing configuration that you want to modify.

2. In the `[Ingest]` section, set the following configuration parameters:

   `IngestRate` | The rate at which HPE Media Server ingests video. If you are ingesting video from files, HPE recommends setting this parameter to `0`. For more information about choosing an ingest rate, see Choose the Rate of Ingestion.
   `IngestEngine` | The name of a section in the configuration file that will contain the ingestion settings

   For example:

       [Ingest]
       IngestRate=0
       IngestEngine=VideoFile

3. Create a new section in the configuration file to contain the ingestion settings (using the name you specified with the `IngestEngine` parameter). Then, set the following parameters:

   `Type` | The ingest engine to use. Set this parameter to `libav`.
   `IngestTime` | (Optional) The ingest engine produces output tracks that contain timestamped records. You can use this parameter to control the timestamp values, which is useful if you are ingesting video that was originally broadcast at an earlier time. Specify the time in epoch seconds.
   `StartOffset` | (Optional) The position in the video at which to start processing. For example, to ignore the first minute of a video file, set this parameter to `60seconds`.
   `MaximumDuration` | (Optional) The maximum amount of video and audio to ingest, before stopping ingestion. If you do not set this parameter, there is no limit on the amount of video and audio that is ingested. You can set this parameter to ingest part of a video file. If the maximum duration is reached, HPE Media Server stops ingestion but does finish processing any frames that have already been ingested.

   For example:

       [VideoFile]
       Type=libav

   TIP:

   There is no configuration parameter to specify the source. You must specify the path of the source file or the IP address of the stream that you want to ingest as the value of the `Source` parameter in the `Process` action, when you start processing.

   For more information about the parameters you can set to configure ingestion, refer to the HPE Media Server Reference.

4. Save and close the configuration file. HPE recommends that you save your configuration files in the location specified by the `ConfigDirectory` parameter.

© 2017 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm