PresetConfigurations Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
PresetConfigurations() |
Initializes a new instance of the PresetConfigurations class. |
PresetConfigurations(Nullable<Complexity>, Nullable<InterleaveOutput>, Nullable<Double>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>) |
Initializes a new instance of the PresetConfigurations class. |
PresetConfigurations()
Initializes a new instance of the PresetConfigurations class.
public PresetConfigurations ();
Public Sub New ()
Applies to
PresetConfigurations(Nullable<Complexity>, Nullable<InterleaveOutput>, Nullable<Double>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)
Initializes a new instance of the PresetConfigurations class.
public PresetConfigurations (Microsoft.Azure.Management.Media.Models.Complexity? complexity = default, Microsoft.Azure.Management.Media.Models.InterleaveOutput? interleaveOutput = default, double? keyFrameIntervalInSeconds = default, int? maxBitrateBps = default, int? maxHeight = default, int? maxLayers = default, int? minBitrateBps = default, int? minHeight = default);
new Microsoft.Azure.Management.Media.Models.PresetConfigurations : Nullable<Microsoft.Azure.Management.Media.Models.Complexity> * Nullable<Microsoft.Azure.Management.Media.Models.InterleaveOutput> * Nullable<double> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> -> Microsoft.Azure.Management.Media.Models.PresetConfigurations
Public Sub New (Optional complexity As Nullable(Of Complexity) = Nothing, Optional interleaveOutput As Nullable(Of InterleaveOutput) = Nothing, Optional keyFrameIntervalInSeconds As Nullable(Of Double) = Nothing, Optional maxBitrateBps As Nullable(Of Integer) = Nothing, Optional maxHeight As Nullable(Of Integer) = Nothing, Optional maxLayers As Nullable(Of Integer) = Nothing, Optional minBitrateBps As Nullable(Of Integer) = Nothing, Optional minHeight As Nullable(Of Integer) = Nothing)
Parameters
- complexity
- Nullable<Complexity>
Allows you to configure the encoder settings to control the balance between speed and quality. Example: set Complexity as Speed for faster encoding but less compression efficiency. Possible values include: 'Speed', 'Balanced', 'Quality'
- interleaveOutput
- Nullable<InterleaveOutput>
Sets the interleave mode of the output to control how audio and video are stored in the container format. Example: set InterleavedOutput as NonInterleavedOutput to produce audio-only and video-only outputs in separate MP4 files. Possible values include: 'NonInterleavedOutput', 'InterleavedOutput'
The key frame interval in seconds. Example: set KeyFrameIntervalInSeconds as 2 to reduce the playback buffering for some players.
The maximum bitrate in bits per second (threshold for the top video layer). Example: set MaxBitrateBps as 6000000 to avoid producing very high bitrate outputs for contents with high complexity.
The maximum height of output video layers. Example: set MaxHeight as 720 to produce output layers up to 720P even if the input is 4K.
The maximum number of output video layers. Example: set MaxLayers as 4 to make sure at most 4 output layers are produced to control the overall cost of the encoding job.
The minimum bitrate in bits per second (threshold for the bottom video layer). Example: set MinBitrateBps as 200000 to have a bottom layer that covers users with low network bandwidth.
The minimum height of output video layers. Example: set MinHeight as 360 to avoid output layers of smaller resolutions like 180P.