Ingest Video from a DirectShow Device

Media Server can ingest video directly from a DirectShow device, such as a video capture card or camera.

Note: Ingestion from a DirectShow device is supported only on Windows.

To ingest video from a DirectShow device

  1. Create a new configuration or open an existing configuration to send to Media Server with the process action. Alternatively, you can modify the Media Server configuration file (mediaserver.cfg).

  2. In the [Ingest] section, set the IngestEngine parameter to the name of a section in the configuration file that will contain the ingestion settings. For example:

    [Ingest]
    IngestEngine=CaptureCard
  3. Create a new section in the configuration file to contain the ingestion settings, and set the following parameters:

    Type The ingest engine to use. Set this parameter to libav.
    Format The video format. Set this parameter to dshow.
    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.

    For example:

    [CaptureCard]
    Type=libav
    Format=dshow

    Tip: There is no configuration parameter to specify the source. You must specify the name of the DirectShow device that you want to use 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 Media Server Reference.

  4. Save and close the configuration file. If you modified the Media Server configuration file, you must restart Media Server for your changes to take effect.


_HP_HTML5_bannerTitle.htm