# Use a GPU to Ingest and Encode Video

This section describes how to use a GPU for ingesting and encoding video.

To use a GPU for ingesting video

- In your session configuration file, find the section that configures the video ingest engine and set the `EnableGPU` configuration parameter to `TRUE`. If the server has more than one graphics card you can use the `GPUDeviceID` parameter to choose the GPU to use. For example:

      [Session]
      Engine0=IngestVideo
      Engine1=EncodeVideo

      [IngestVideo]
      Type=video
      EnableGPU=TRUE
      GPUDeviceID=0

To use a GPU for encoding video

- In your session configuration file, find the section that configures the video encoder and set the `VideoProfile` configuration parameter to a profile that enables the use of the GPU. If the server has more than one graphics card you can use the `GPUDeviceID` parameter to choose the GPU to use. For example:

      [Session]
      Engine0=IngestVideo
      Engine1=EncodeVideo

      [EncodeVideo]
      Type=MPEG
      VideoProfile=mpeg4video_h264_nvenc_hd
      GPUDeviceID=0
      OutputPath=\\server\folder\file.ts

  For a list of encoding profiles, see Encoding Profiles.

_FT_HTML5_bannerTitle.htm