Table of Contents

Class EncodingVideoProfile

Namespace
GstPbutils
Assembly
GstPbutils-1.0.dll
public class EncodingVideoProfile : EncodingProfile, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
EncodingVideoProfile
Implements
Inherited Members

Constructors

EncodingVideoProfile(params ConstructArgument[])

[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public EncodingVideoProfile(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

EncodingVideoProfile(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected EncodingVideoProfile(CreationData data)

Parameters

data CreationData

EncodingVideoProfile(EncodingVideoProfileHandle)

protected EncodingVideoProfile(EncodingVideoProfileHandle handle)

Parameters

handle EncodingVideoProfileHandle

Methods

GetGType()

public static Type GetGType()

Returns

Type

GetPass()

public uint GetPass()

Returns

uint

GetVariableframerate()

public bool GetVariableframerate()

Returns

bool

New(Caps, string?, Caps?, uint)

public static EncodingVideoProfile New(Caps format, string? preset, Caps? restriction, uint presence)

Parameters

format Caps
preset string
restriction Caps
presence uint

Returns

EncodingVideoProfile

NewFromPointer(nint, bool)

Creates a new managed EncodingVideoProfile instance for a given pointer.

public static EncodingVideoProfile NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

EncodingVideoProfile

NewWithProperties(ConstructArgument[])

Creates a new EncodingVideoProfile and sets the properties specified by the construct arguments.

public static EncodingVideoProfile NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

EncodingVideoProfile

SetPass(uint)

public void SetPass(uint pass)

Parameters

pass uint

SetVariableframerate(bool)

public void SetVariableframerate(bool variableframerate)

Parameters

variableframerate bool