H265Settings class
H265 Settings
Constructors
- H265Settings({required int framerateDenominator, required int framerateNumerator, H265AdaptiveQuantization? adaptiveQuantization, AfdSignaling? afdSignaling, H265AlternativeTransferFunction? alternativeTransferFunction, int? bitrate, int? bufSize, H265ColorMetadata? colorMetadata, H265ColorSpaceSettings? colorSpaceSettings, H265FilterSettings? filterSettings, FixedAfd? fixedAfd, H265FlickerAq? flickerAq, int? gopClosedCadence, double? gopSize, H265GopSizeUnits? gopSizeUnits, H265Level? level, H265LookAheadRateControl? lookAheadRateControl, int? maxBitrate, int? minIInterval, int? parDenominator, int? parNumerator, H265Profile? profile, int? qvbrQualityLevel, H265RateControlMode? rateControlMode, H265ScanType? scanType, H265SceneChangeDetect? sceneChangeDetect, int? slices, H265Tier? tier, H265TimecodeInsertionBehavior? timecodeInsertion})
-
H265Settings.fromJson(Map<
String, dynamic> json) -
factory
Properties
- adaptiveQuantization → H265AdaptiveQuantization?
-
Adaptive quantization. Allows intra-frame quantizers to vary to improve
visual quality.
final
- afdSignaling → AfdSignaling?
-
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.
final
- alternativeTransferFunction → H265AlternativeTransferFunction?
-
Whether or not EML should insert an Alternative Transfer Function SEI
message to support backwards compatibility with non-HDR decoders and
displays.
final
- 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.
final
- bufSize → int?
-
Size of buffer (HRD buffer model) in bits.
final
- colorMetadata → H265ColorMetadata?
-
Includes colorspace metadata in the output.
final
- colorSpaceSettings → H265ColorSpaceSettings?
-
Color Space settings
final
- filterSettings → H265FilterSettings?
-
Optional filters that you can apply to an encode.
final
- fixedAfd → FixedAfd?
-
Four bit AFD value to write on all frames of video in the output stream.
Only valid when afdSignaling is set to 'Fixed'.
final
- flickerAq → H265FlickerAq?
-
If set to enabled, adjust quantization within each frame to reduce flicker
or 'pop' on I-frames.
final
- framerateDenominator → int
-
Framerate denominator.
final
- framerateNumerator → int
-
Framerate numerator - framerate is a fraction, e.g. 24000 / 1001 = 23.976
fps.
final
- 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.
final
- gopSize → double?
-
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.
final
- gopSizeUnits → H265GopSizeUnits?
-
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.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- level → H265Level?
-
H.265 Level.
final
- lookAheadRateControl → H265LookAheadRateControl?
-
Amount of lookahead. A value of low can decrease latency and memory usage,
while high can produce better quality for certain content.
final
- maxBitrate → int?
-
For QVBR: See the tooltip for Quality level
final
- 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
final
- parDenominator → int?
-
Pixel Aspect Ratio denominator.
final
- parNumerator → int?
-
Pixel Aspect Ratio numerator.
final
- profile → H265Profile?
-
H.265 Profile.
final
- 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:
final
- rateControlMode → H265RateControlMode?
-
Rate control mode.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scanType → H265ScanType?
-
Sets the scan type of the output to progressive or top-field-first
interlaced.
final
- sceneChangeDetect → H265SceneChangeDetect?
-
Scene change detection.
final
- 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.
final
- tier → H265Tier?
-
H.265 Tier.
final
- timecodeInsertion → H265TimecodeInsertionBehavior?
-
Determines how timecodes should be inserted into the video elementary
stream.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited