Table of Contents

Enum HEVCAMFHeaderInsertionMode

Namespace
VisioForge.Core.Types.FFMPEGEXE
Assembly
VisioForge.Core.dll

Header insertion mode for HEVC AMF encoder. Controls when and how VPS (Video Parameter Set), SPS (Sequence Parameter Set), and PPS (Picture Parameter Set) headers are inserted into the HEVC bitstream. These headers contain critical information needed to decode the video stream.

public enum HEVCAMFHeaderInsertionMode

Fields

None = 0

No automatic header insertion. Headers are only included at the beginning of the stream. This mode results in the smallest file size but requires the decoder to retain the initial headers throughout playback.

GOP = 1

Insert headers at every GOP (Group of Pictures) boundary. Headers are repeated at the start of each GOP, making the stream more resilient to seeking and streaming errors. Recommended for streaming applications where random access is important.

IDR = 2

Insert headers before every IDR (Instantaneous Decoder Refresh) frame. IDR frames in HEVC are complete pictures that don't reference any other frames. This provides the most robust stream but with slightly larger file size. Best for broadcast, live streaming, or when maximum error resilience is needed.