NAME

Paws::MediaLive::H264Settings

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::MediaLive::H264Settings object:

$service_obj->Method(Att1 => { AdaptiveQuantization => $value, ..., TimecodeInsertion => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::MediaLive::H264Settings object:

$result = $service_obj->Method(...);
$result->Att1->AdaptiveQuantization

DESCRIPTION

H264 Settings

ATTRIBUTES

AdaptiveQuantization => Str

Adaptive quantization. Allows intra-frame quantizers to vary to improve visual quality.

AfdSignaling => Str

Indicates that AFD values will be written into the output stream. If afdSignaling is "auto", the system will try to preserve the input AFD value (in cases where multiple AFD values are valid). If set to "fixed", the AFD value will be the value configured in the fixedAfd parameter.

Bitrate => Int

Average bitrate in bits/second. Required when the rate control mode is VBR or CBR. Not used for QVBR. In an MS Smooth output group, each output must have a unique value when its bitrate is rounded down to the nearest multiple of 1000.

BufFillPct => Int

Percentage of the buffer that should initially be filled (HRD buffer model).

BufSize => Int

Size of buffer (HRD buffer model) in bits.

ColorMetadata => Str

Includes colorspace metadata in the output.

ColorSpaceSettings => Paws::MediaLive::H264ColorSpaceSettings

Color Space settings

EntropyEncoding => Str

Entropy encoding mode. Use cabac (must be in Main or High profile) or cavlc.

FixedAfd => Str

Four bit AFD value to write on all frames of video in the output stream. Only valid when afdSignaling is set to 'Fixed'.

FlickerAq => Str

If set to enabled, adjust quantization within each frame to reduce flicker or 'pop' on I-frames.

FramerateControl => Str

This field indicates how the output video frame rate is specified. If "specified" is selected then the output video frame rate is determined by framerateNumerator and framerateDenominator, else if "initializeFromSource" is selected then the output video frame rate will be set equal to the input video frame rate of the first input.

FramerateDenominator => Int

Framerate denominator.

FramerateNumerator => Int

Framerate numerator - framerate is a fraction, e.g. 24000 / 1001 = 23.976 fps.

GopBReference => Str

Documentation update needed

GopClosedCadence => Int

Frequency of closed GOPs. In streaming applications, it is recommended that this be set to 1 so a decoder joining mid-stream will receive an IDR frame as quickly as possible. Setting this value to 0 will break output segmenting.

GopNumBFrames => Int

Number of B-frames between reference frames.

GopSize => Num

GOP size (keyframe interval) in units of either frames or seconds per gopSizeUnits. If gopSizeUnits is frames, gopSize must be an integer and must be greater than or equal to 1. If gopSizeUnits is seconds, gopSize must be greater than 0, but need not be an integer.

GopSizeUnits => Str

Indicates if the gopSize is specified in frames or seconds. If seconds the system will convert the gopSize into a frame count at run time.

Level => Str

H.264 Level.

LookAheadRateControl => Str

Amount of lookahead. A value of low can decrease latency and memory usage, while high can produce better quality for certain content.

MaxBitrate => Int

For QVBR: See the tooltip for Quality level For VBR: Set the maximum bitrate in order to accommodate expected spikes in the complexity of the video.

MinIInterval => Int

Only meaningful if sceneChangeDetect is set to enabled. Defaults to 5 if multiplex rate control is used. Enforces separation between repeated (cadence) I-frames and I-frames inserted by Scene Change Detection. If a scene change I-frame is within I-interval frames of a cadence I-frame, the GOP is shrunk and/or stretched to the scene change I-frame. GOP stretch requires enabling lookahead as well as setting I-interval. The normal cadence resumes for the next GOP. Note: Maximum GOP stretch = GOP size + Min-I-interval - 1

NumRefFrames => Int

Number of reference frames to use. The encoder may use more than requested if using B-frames and/or interlaced encoding.

ParControl => Str

This field indicates how the output pixel aspect ratio is specified. If "specified" is selected then the output video pixel aspect ratio is determined by parNumerator and parDenominator, else if "initializeFromSource" is selected then the output pixsel aspect ratio will be set equal to the input video pixel aspect ratio of the first input.

ParDenominator => Int

Pixel Aspect Ratio denominator.

ParNumerator => Int

Pixel Aspect Ratio numerator.

Profile => Str

H.264 Profile.

QvbrQualityLevel => Int

Controls the target quality for the video encode. Applies only when the rate control mode is QVBR. Set values for the QVBR quality level field and Max bitrate field that suit your most important viewing devices. Recommended values are: - Primary screen: Quality level: 8 to 10. Max bitrate: 4M - PC or tablet: Quality level: 7. Max bitrate: 1.5M to 3M - Smartphone: Quality level: 6. Max bitrate: 1M to 1.5M

RateControlMode => Str

Rate control mode. QVBR: Quality will match the specified quality level except when it is constrained by the maximum bitrate. Recommended if you or your viewers pay for bandwidth. VBR: Quality and bitrate vary, depending on the video complexity. Recommended instead of QVBR if you want to maintain a specific average bitrate over the duration of the channel. CBR: Quality varies, depending on the video complexity. Recommended only if you distribute your assets to devices that cannot handle variable bitrates. Multiplex: This rate control mode is only supported (and is required) when the video is being delivered to a MediaLive Multiplex in which case the rate control configuration is controlled by the properties within the Multiplex Program.

ScanType => Str

Sets the scan type of the output to progressive or top-field-first interlaced.

SceneChangeDetect => Str

Scene change detection. - On: inserts I-frames when scene change is detected. - Off: does not force an I-frame when scene change is detected.

Slices => Int

Number of slices per picture. Must be less than or equal to the number of macroblock rows for progressive pictures, and less than or equal to half the number of macroblock rows for interlaced pictures. This field is optional; when no value is specified the encoder will choose the number of slices based on encode resolution.

Softness => Int

Softness. Selects quantizer matrix, larger values reduce high-frequency content in the encoded image.

SpatialAq => Str

If set to enabled, adjust quantization within each frame based on spatial variation of content complexity.

SubgopLength => Str

If set to fixed, use gopNumBFrames B-frames per sub-GOP. If set to dynamic, optimize the number of B-frames used for each sub-GOP to improve visual quality.

Syntax => Str

Produces a bitstream compliant with SMPTE RP-2027.

TemporalAq => Str

If set to enabled, adjust quantization within each frame based on temporal variation of content complexity.

TimecodeInsertion => Str

Determines how timecodes should be inserted into the video elementary stream. - 'disabled': Do not include timecodes - 'picTimingSei': Pass through picture timing SEI messages from the source specified in Timecode Config

SEE ALSO

This class forms part of Paws, describing an object used in Paws::MediaLive

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues