Class VideoSettings
Information about the video settings of an encoding profile.
Implements
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class VideoSettings : IMessage<VideoSettings>, IEquatable<VideoSettings>, IDeepCloneable<VideoSettings>, IBufferMessage, IMessage
Constructors
VideoSettings()
Declaration
public VideoSettings()
VideoSettings(VideoSettings)
Declaration
public VideoSettings(VideoSettings other)
Parameters
| Type | Name | Description |
|---|---|---|
| VideoSettings | other |
Properties
Bitrate
Required. The bitrate of the video, in bits per second. This value must be between 32kbps and 250 Mbps.
Declaration
public long Bitrate { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
Codec
Required. The RFC6381 codec string of the video.
Declaration
public string Codec { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
FramesPerSecond
Required. The frames per second of the video. This value will be truncated to three decimal places.
Declaration
public double FramesPerSecond { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
HasBitrate
Gets whether the "bitrate" field is set
Declaration
public bool HasBitrate { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasCodec
Gets whether the "codec" field is set
Declaration
public bool HasCodec { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasFramesPerSecond
Gets whether the "frames_per_second" field is set
Declaration
public bool HasFramesPerSecond { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Resolution
Required. The resolution of the video, in pixels.
Declaration
public Size Resolution { get; set; }
Property Value
| Type | Description |
|---|---|
| Size |