You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
defmodule Membrane.GPUVideo.Encoder.ConstantBitrate do
@moduledoc """
Defines encoder setting for constant bitrate rate control algorithm.
The following fields need to be specified:
* bitrate - desired bitrate of the stream; expressed in bits per second.
* virtual_buffer_size_ms - virtual buffer duration for rate control smoothing; larger values increase bitrate stability, smaller values improve responsiveness to scene changes; expressed in milliseconds, defaults to 2 seconds.
"""
@type t :: %__MODULE__{bitrate: non_neg_integer(), virtual_buffer_size_ms: non_neg_integer()}