Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

Configuration

Xaymar edited this page Aug 6, 2016 · 32 revisions

If you want to skip all this and just use a working discovered one, click here.

Static Properties

The following Properties can't be changed while encoding and will just be ignored if attempted.

Frame Size, Frame Rate

Determines the Frame Size and Rate that should be attempted to encode at. Recommendations depend on your Hardware, if you aren't sure what to use make sure to open an Issue and ask or ask in one of the forums this plugin is (officially) in.

Type

AMF currently supports Advanced Video Coding (AVC) and Scalable Video Coding (SVC). It is unknown on which GPUs SVC actually works or if it works at all.
Recommended: Advanced Video Coding

Usage Type

Completely sets up the Encoder for a specific type of usage, including output codec and headers.
Recommended: Transcoding
AMF Description: Encoder Usage. When set, enforces PROFILE to MAIN, PROFILELEVEL to 4.2. Hence cannot be set by the user.

Quality Preset

Sets up additional Encoding parameters for a specific quality. Some values may not be available for all GPUs. Recommended (Recording): Quality, Speed
Recommended (Streaming): Speed

Profile & Profile Level

Defines which h264 Profile and level should be used for encoding, this defines some limits in quality. Scalable profiles are supported from 3rd Generation GCN.
Recommended: Default, Default (or 5.1 at 4k)

Maximum LTR Frames

Long-Term-Reference (LTR) Frames are used in Hierarchical B-Picture-Based Video Coding.
Recommended Value: -1
AMF Description: No. of Long Term Reference Frames (Range: 0 - 2)

Scan Type

AMF VCE supports Progressive and Interlaced stream types. Many GPUs only support Progressive.
Recommended: Default

Dynamic Properties

These Properties can be changed during encoding and will not require restarting the stream or recording.

Rate Control Method

Defines how AMF should attempt to limit the bitrate and quality of the encoded files. Recommendations depend on what you intend to do.
Recommended (High Quality Recording): VBR (Latency Constrained), CBR or Constrained QP
Recommended (Streaming): VBR (Peak Constrained), CBR or Constrained QP

Frame Skipping

Weether or not to skip frames if the encoder can't keep up. AMF will dynamically set this to Enabled or Disabled if not modified.
Recommended: Default

Filler Data

Use unknown, seems to be ignored by anything but VBR (Peak Constrained). Supposedly used to fill up the bitstream up to Target Bitrate with void data.
Recommended: Enabled (CBR), Disabled (everything else)
AMF Description: Enables filler data to handle decoder buffer overflow. Works only with CBR rate control mode

Enforce HRD Compatability

One of the more obscure options that seems to have no effect. Enforces Hypothetical Reference Decoder compatability.
Recommended: Default
AMF Description: Disables/Enables constraints on QP variation within a picture to meet HRD requirements

Group Of Pictures Size

AMF Description: Rate control GOP size (0 - 1000)

VBV Buffer Size

AMF Description: VBV buffer size in Bits (1000 - 100 000 000)

Initial VBV Buffer Fullness

AMF Description: Initial VBV buffer fullness

Maximum AU Size

AMF Description: Max AU size in bits (0 - 100 000 000)

B-Picture Delta QP, Reference B-Picture Delta QP

AMF Description: Selects the delta QP of non-ref/ref B pictures with reference to I pictures (-10 to +10)

Minimum QP, Maximum QP

Sets the minimum and maximum QP. (0 - 51)

I-Frame QP, P-Frame QP, B-Frame QP

Sets the constant QP for the type of frame. (0 - 51)

Target Bitrate

Sets the Target Bitrate for CBR and VBR.

Peak Bitrate

Sets the Peak Bitrate for peak constrained VBR

Header Insertion Spacing

Number of B-Pictures

De-Blocking Filter

B-Picture Reference

IDR Period

Intra-Refresh Memory Per Slot in Macroblocks

AMF Description:

No. of Intra-refresh MBs/slot (Min: 0 to Max: # MBs in Picture)
Setting to '0' DISABLES IntraRefreshMBsNumberPerSlot IntraRefreshMBsNumberPerSlot is NOT compatible with Interlaced Content (set ScanType to PROGRESSIVE), B-Frames (set BPicturesPattern to '0'), LTR frames (set MaxOfLTRFrames to '0')

Slices Per Frame

Motion Estimation

Temporal Enhancement Layers