<reponame>Dwonczykj/gember_deploy// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
using Pulumi;

namespace TencentCloudIAC.PulumiPackage.Tencentcloud.Ci.Outputs
{

    [OutputType]
    public sealed class MediaTranscodeTemplateVideo
    {
        /// <summary>
        /// Bit rate of video output file, value range: [10, 50000], unit: Kbps, auto means adaptive bit rate.
        /// </summary>
        public readonly string? Bitrate;
        /// <summary>
        /// buffer size, Value range: [1000, 128000], Unit: Kb, This parameter is not supported when Codec is VP8/VP9.
        /// </summary>
        public readonly string? Bufsize;
        /// <summary>
        /// Codec format, default value: `H.264`, when format is WebM, it is VP8, value range: `H.264`, `H.265`, `VP8`, `VP9`, `AV1`.
        /// </summary>
        public readonly string? Codec;
        /// <summary>
        /// Bit rate-quality control factor, value range: (0, 51], If Crf is set, the setting of Bitrate will be invalid, When Bitrate is empty, the default is 25.
        /// </summary>
        public readonly string? Crf;
        /// <summary>
        /// Frame rate, value range: (0, 60], Unit: fps.
        /// </summary>
        public readonly string? Fps;
        /// <summary>
        /// The maximum number of frames between key frames, value range: [1, 100000].
        /// </summary>
        public readonly string? Gop;
        /// <summary>
        /// High, value range: [128, 4096], Unit: px, If only Height is set, Width is calculated according to the original ratio of the video, must be even.
        /// </summary>
        public readonly string? Height;
        /// <summary>
        /// Adaptive length,true, false, This parameter is not supported when Codec is VP8/VP9/AV1.
        /// </summary>
        public readonly string? LongShortMode;
        /// <summary>
        /// Peak video bit rate, Value range: [10, 50000], Unit: Kbps, This parameter is not supported when Codec is VP8/VP9.
        /// </summary>
        public readonly string? Maxrate;
        /// <summary>
        /// video color format, H.264 support: yuv420p, yuv422p, yuv444p, yuvj420p, yuvj422p, yuvj444p, auto, H.265 support: yuv420p, yuv420p10le, auto, This parameter is not supported when Codec is VP8/VP9/AV1.
        /// </summary>
        public readonly string? Pixfmt;
        /// <summary>
        /// Video Algorithm Presets- H.264 supports this parameter, the values are veryfast, fast, medium, slow, slower- VP8 supports this parameter, the value is good, realtime- AV1 supports this parameter, the value is 5 (recommended value), 4- H.265 and VP9 do not support this parameter.
        /// </summary>
        public readonly string? Preset;
        /// <summary>
        /// encoding level, Support baseline, main, high, auto- When Pixfmt is auto, this parameter can only be set to auto, when it is set to other options, the parameter value will be set to auto- baseline: suitable for mobile devices- main: suitable for standard resolution devices- high: suitable for high-resolution devices- Only H.264 supports this parameter.
        /// </summary>
        public readonly string? Profile;
        /// <summary>
        /// Whether to delete the video stream, true, false.
        /// </summary>
        public readonly string? Remove;
        /// <summary>
        /// Rotation angle, Value range: [0, 360), Unit: degree.
        /// </summary>
        public readonly string? Rotate;
        /// <summary>
        /// width, value range: [128, 4096], Unit: px, If only Width is set, Height is calculated according to the original ratio of the video, must be even.
        /// </summary>
        public readonly string? Width;

        [OutputConstructor]
        private MediaTranscodeTemplateVideo(
            string? bitrate,

            string? bufsize,

            string? codec,

            string? crf,

            string? fps,

            string? gop,

            string? height,

            string? longShortMode,

            string? maxrate,

            string? pixfmt,

            string? preset,

            string? profile,

            string? remove,

            string? rotate,

            string? width)
        {
            Bitrate = bitrate;
            Bufsize = bufsize;
            Codec = codec;
            Crf = crf;
            Fps = fps;
            Gop = gop;
            Height = height;
            LongShortMode = longShortMode;
            Maxrate = maxrate;
            Pixfmt = pixfmt;
            Preset = preset;
            Profile = profile;
            Remove = remove;
            Rotate = rotate;
            Width = width;
        }
    }
}
