H.265 Configuration Parameters

This table describes the H.265 configuration parameters:

Parameter

Description

H265Profile

Supported profiles are:

0: Automatic profile selection (unsupported)

1: Main profile (supported)

2: Main 10 profile (unsupported)

H265Level

Specifies the encoding level. It is recommended that the client set the level to 0 to enable the NvMedia Encode interface to select the correct level.

H265Features

Specifies bitwise OR'ed configuration feature flags. The flags are:

  • ENABLE_OUTPUT_AUD (1 << 0)
  • ENABLE_INTRA_REFRESH (1 << 1)
  • ENABLE_DYNAMIC_SLICE_MODE (1 << 2)
  • ENABLE_CONSTRANED_ENCODING (1 << 3)

H265IdrPeriod

Specifies the IDR interval. If not set, defaults to the GOP Length. A low latency application client can set the IDR interval to 0 so that IDR frames are not inserted automatically.

H265RepeatSPSPPSMode

Specifies the frequency of writing Sequence and Picture parameters.

Available values are:

  • 0x0: Repeating SPS/PPS is disabled
  • 0x1: SPS/PPS is repeated for every intra frame
  • 0x2: SPS/PPS is repeated for every IDR frame

H265NumSliceCountMinus1

One less than the number of slices desired per frame.

H265DisableDeblockingFilterIDC

Deblocking filter mode. Possible values are 0 and 1.

H265IntraRefreshPeriod

The interval between successive intra refreshes, assuming:

  • Intra refresh is enabled and
  • one time intra refresh configuration is desired.

If H265IntraRefreshPeriod is specified, the first IDR is encoded and no more key frames are encoded.

The client must set EPPictureType to 6 for the first picture of every intra refresh period.

H265IntraRefreshCnt

Specifies the number of frames over which intra refresh occurs.

H265MaxSliceSizeInBytes

Specifies the maximum slice size, in bytes, for dynamic slice mode. The client must enable dynamic slice mode to use this parameter.