Class H264VideoConfiguration

Export

H264VideoConfiguration

Hierarchy (view full)

Constructors

Properties

adaptiveQuantizationMode?: AdaptiveQuantMode

Controls the adaptive quantization algorithm

Memberof

H264VideoConfiguration

adaptiveQuantizationStrength?: number

Values greater than 1 reduce blocking and blurring in flat and textured areas. Values less than 1 reduces ringing artifacts at the cost of more banding artifacts. Negative values are not allowed

Memberof

H264VideoConfiguration

adaptiveSpatialTransform?: boolean

Enables adaptive spatial transform (high profile 8x8 transform)

Memberof

H264VideoConfiguration

autoLevelSetup?: AutoLevelSetup

Enable/disable automatic calculation of level, maxBitrate, and bufsize based on the least level that satisfies maximum property values for picture resolution, frame rate, and bit rate. In the case the target level is set explicitly, the maximum bitrate and buffer size are calculated based on the defined level. Explicitly setting maxBitrate, or bufsize properties will disable the automatic calculation.

Memberof

H264VideoConfiguration

bAdaptiveStrategy?: BAdapt

Memberof

H264VideoConfiguration

bPyramid?: H264BPyramid

Keep some B-frames as references

Memberof

H264VideoConfiguration

bframes?: number

Amount of b frames

Memberof

H264VideoConfiguration

bitrate?: number

Target bitrate for the encoded video in bps. Either bitrate or crf is required.

Memberof

VideoConfiguration

bufsize?: number

Playback device buffer size

Memberof

H264VideoConfiguration

cabac?: boolean

Enable or disable CABAC

Memberof

H264VideoConfiguration

cea608708SubtitleConfig?: Cea608708SubtitleConfiguration

Defines whether CEA 608/708 subtitles are copied from the input video stream

Memberof

H264VideoConfiguration

colorConfig?: ColorConfig

Memberof

VideoConfiguration

createdAt?: Date

Creation timestamp, returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ

Memberof

BitmovinResource

crf?: number

Constant rate factor for quality-based variable bitrate. Either bitrate or crf is required.

Memberof

H264VideoConfiguration

customData?: {
    [key: string]: any;
}

User-specific meta data. This can hold anything.

Type declaration

  • [key: string]: any

Memberof

BitmovinResource

deblockAlpha?: number

Strength of the in-loop deblocking filter. Higher values deblock more effectively but also soften the image

Memberof

H264VideoConfiguration

deblockBeta?: number

Threshold of the in-loop deblocking filter. Higher values apply deblocking stronger on non flat blocks, lower values on flat blocks

Memberof

H264VideoConfiguration

description?: string

Description of the resource. Can be freely chosen by the user.

Memberof

BitmovinResource

displayAspectRatio?: DisplayAspectRatio

Specifies a display aspect ratio (DAR) to be enforced. The sample aspect ratio (SAR) will be adjusted accordingly. If set then sampleAspectRatioNumerator and sampleAspectRatioDenominator are not allowed.

Memberof

VideoConfiguration

dynamicRangeFormat?: SDR

Automatically configures the H264 Video Codec to be compatible with the given SDR format. Bitmovin recommends to use the dynamic range format together with a preset configuration to achieve good results. Explicitly configured properties will take precedence over dynamic range format settings, which in turn will take precedence over preset configurations.

Memberof

H264VideoConfiguration

encodingMode?: EncodingMode

The mode of the encoding. When this is set, encodingMode (liveEncodingMode) must not be set in the (live) encoding start request.

Memberof

VideoConfiguration

fastSkipDetectionPFrames?: boolean

Enables fast skip detection on P-frames. Disabling this very slightly increases quality but at a large speed loss

Memberof

H264VideoConfiguration

height?: number

Height of the encoded video in pixels

Memberof

VideoConfiguration

id?: string

Id of the resource (required)

Memberof

BitmovinResponse

interlaceMode?: H264InterlaceMode

Using TOP_FIELD_FIRST or BOTTOM_FIELD_FIRST will output interlaced video

Memberof

H264VideoConfiguration

level?: LevelH264

If three-pass encoding is used and a level is set for the encoder, the bitrate for some segments may exceed the bitrate limit which is defined by the level.

Memberof

H264VideoConfiguration

macroblockTreeRatecontrol?: boolean

Enable macroblock tree ratecontrol. Macroblock tree rate control tracks how often blocks of the frame are used for prediciting future frames

Memberof

H264VideoConfiguration

maxBitrate?: number

Maximum Bitrate

Memberof

H264VideoConfiguration

maxGop?: number

Maximum GOP length, the maximum distance between I-frames

Memberof

H264VideoConfiguration

maxKeyframeInterval?: number

Maximum interval in seconds between key frames

Memberof

H264VideoConfiguration

minBitrate?: number

Minimum Bitrate

Memberof

H264VideoConfiguration

minGop?: number

Minimum GOP length, the minimum distance between I-frames

Memberof

H264VideoConfiguration

minKeyframeInterval?: number

Minimum interval in seconds between key frames

Memberof

H264VideoConfiguration

mixedReferences?: boolean

Allow references on a per partition basis, rather than per-macroblock basis

Memberof

H264VideoConfiguration

modifiedAt?: Date

Modified timestamp, returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ

Memberof

BitmovinResource

motionEstimationMethod?: H264MotionEstimationMethod

Memberof

H264VideoConfiguration

mvPredictionMode?: MvPredictionMode

Memberof

H264VideoConfiguration

mvSearchRangeMax?: number

Maximum motion vector search range

Memberof

H264VideoConfiguration

nalHrd?: H264NalHrd

Signal hypothetical reference decoder (HRD) information (requires bufsize to be set)

Memberof

H264VideoConfiguration

name?: string

Name of the resource. Can be freely chosen by the user.

Memberof

BitmovinResource

openGop?: boolean

Enable open-gop, allows referencing frames from a previous gop

Memberof

H264VideoConfiguration

partitions?: H264Partition[]

Partitions to consider. Analyzing more partition options improves quality at the cost of speed.

Memberof

H264VideoConfiguration

pixelFormat?: PixelFormat

Describes the color encoding, bit depth, and chroma subsampling of each pixel in the output image.

Memberof

VideoConfiguration

presetConfiguration?: PresetConfiguration

Choose from a set of preset configurations tailored for common use cases. Check out H264 Presets to see which values get applied by each preset. Explicitly setting a property to a different value will override the preset's value for that property.

Memberof

H264VideoConfiguration

profile?: ProfileH264

When setting a profile, all other settings must not exceed the limits which are defined in the profile. Otherwise, a higher profile may be automatically chosen. (required)

Memberof

H264VideoConfiguration

psyRateDistortionOptimization?: number

Psychovisual Rate Distortion retains fine details like film grain at the expense of more blocking artifacts. Higher values make the video appear sharper and more detailed but with a higher risk of blocking artifacts. Needs to have subMe with RD_IP, RD_ALL, RD_REF_IP or RD_REF_ALL

Memberof

H264VideoConfiguration

psyTrellis?: number

Higher values will improve sharpness and detail retention but might come at costs of artifacts. Needs to have trellis enabled

Memberof

H264VideoConfiguration

qpMax?: number

Maximum quantization factor

Memberof

H264VideoConfiguration

qpMin?: number

Minimum quantization factor

Memberof

H264VideoConfiguration

quantizerCurveCompression?: number

Ratio between constant bitrate (0.0) and constant quantizer (1.0). Valid range 0.0 - 1.0

Memberof

H264VideoConfiguration

rate?: number

Target frame rate of the encoded video. Must be set for live encodings

Memberof

VideoConfiguration

rcLookahead?: number

Number of frames for frame-type decision lookahead

Memberof

H264VideoConfiguration

refFrames?: number

Amount of reference frames.

Memberof

H264VideoConfiguration

sampleAspectRatioDenominator?: number

The denominator of the sample aspect ratio (also known as pixel aspect ratio). Must be set if sampleAspectRatioNumerator is set. If set then displayAspectRatio is not allowed.

Memberof

VideoConfiguration

sampleAspectRatioNumerator?: number

The numerator of the sample aspect ratio (also known as pixel aspect ratio). Must be set if sampleAspectRatioDenominator is set. If set then displayAspectRatio is not allowed.

Memberof

VideoConfiguration

sceneCutThreshold?: number

Scene change sensitivity. The higher the value, the more likely an I-frame will be inserted. Set to 0 to disable it which is advised for scenarios where fixed GOP is required, e.g., adaptive streaming outputs like DASH, HLS and Smooth. Having this setting enabled can improve quality for progressive output with an increased internal chunk length (see internalChunkLength of muxings).

Memberof

H264VideoConfiguration

slices?: number

Number of slices per frame.

Memberof

H264VideoConfiguration

subMe?: H264SubMe

Subpixel motion estimation and mode decision

Memberof

H264VideoConfiguration

trellis?: H264Trellis

Enables or disables Trellis quantization. NOTE: This requires cabac

Memberof

H264VideoConfiguration

type: CodecConfigType = CodecConfigType.H264

Discriminator property for CodecConfiguration

Memberof

H264VideoConfiguration

weightedPredictionBFrames?: boolean

Enable open-gop, allows referencing frames from a previous gop

Memberof

H264VideoConfiguration

weightedPredictionPFrames?: WeightedPredictionPFrames

Defines the mode for weighted prediction for P-frames

Memberof

H264VideoConfiguration

width?: number

Width of the encoded video in pixels

Memberof

VideoConfiguration

_discriminatorMapping: {
    AAC: string;
    AC3: string;
    AV1: string;
    DD: string;
    DDPLUS: string;
    DOLBY_ATMOS: string;
    DTS: string;
    DTSX: string;
    DTS_PASSTHROUGH: string;
    DVB_SUBTITLE: string;
    EAC3: string;
    H262: string;
    H264: string;
    H265: string;
    HE_AAC_V1: string;
    HE_AAC_V2: string;
    IMSC: string;
    MJPEG: string;
    MP2: string;
    MP3: string;
    OPUS: string;
    PCM: string;
    VORBIS: string;
    VP8: string;
    VP9: string;
    WEBVTT: string;
} = ...

Type declaration

  • AAC: string
  • AC3: string
  • AV1: string
  • DD: string
  • DDPLUS: string
  • DOLBY_ATMOS: string
  • DTS: string
  • DTSX: string
  • DTS_PASSTHROUGH: string
  • DVB_SUBTITLE: string
  • EAC3: string
  • H262: string
  • H264: string
  • H265: string
  • HE_AAC_V1: string
  • HE_AAC_V2: string
  • IMSC: string
  • MJPEG: string
  • MP2: string
  • MP3: string
  • OPUS: string
  • PCM: string
  • VORBIS: string
  • VP8: string
  • VP9: string
  • WEBVTT: string
_discriminatorName: "type" = 'type'