Table of Contents

Class Functions

Namespace
GstPbutils
Assembly
GstPbutils-1.0.dll
public static class Functions
Inheritance
Functions
Inherited Members

Methods

CodecUtilsAacCapsSetLevelAndProfile(Caps, Span<byte>)

public static bool CodecUtilsAacCapsSetLevelAndProfile(Caps caps, Span<byte> audioConfig)

Parameters

caps Caps
audioConfig Span<byte>

Returns

bool

CodecUtilsAacGetChannels(Span<byte>)

[Version("1.10")]
public static uint CodecUtilsAacGetChannels(Span<byte> audioConfig)

Parameters

audioConfig Span<byte>

Returns

uint

CodecUtilsAacGetIndexFromSampleRate(uint)

public static int CodecUtilsAacGetIndexFromSampleRate(uint rate)

Parameters

rate uint

Returns

int

CodecUtilsAacGetLevel(Span<byte>)

public static string? CodecUtilsAacGetLevel(Span<byte> audioConfig)

Parameters

audioConfig Span<byte>

Returns

string

CodecUtilsAacGetProfile(Span<byte>)

public static string? CodecUtilsAacGetProfile(Span<byte> audioConfig)

Parameters

audioConfig Span<byte>

Returns

string

CodecUtilsAacGetSampleRate(Span<byte>)

[Version("1.10")]
public static uint CodecUtilsAacGetSampleRate(Span<byte> audioConfig)

Parameters

audioConfig Span<byte>

Returns

uint

CodecUtilsAacGetSampleRateFromIndex(uint)

public static uint CodecUtilsAacGetSampleRateFromIndex(uint srIdx)

Parameters

srIdx uint

Returns

uint

CodecUtilsCapsFromMimeCodec(string)

[Version("1.22")]
public static Caps? CodecUtilsCapsFromMimeCodec(string codecsField)

Parameters

codecsField string

Returns

Caps

CodecUtilsCapsGetMimeCodec(Caps)

[Version("1.20")]
public static string? CodecUtilsCapsGetMimeCodec(Caps caps)

Parameters

caps Caps

Returns

string

CodecUtilsH264CapsSetLevelAndProfile(Caps, Span<byte>)

public static bool CodecUtilsH264CapsSetLevelAndProfile(Caps caps, Span<byte> sps)

Parameters

caps Caps
sps Span<byte>

Returns

bool

CodecUtilsH264GetLevel(Span<byte>)

public static string? CodecUtilsH264GetLevel(Span<byte> sps)

Parameters

sps Span<byte>

Returns

string

CodecUtilsH264GetLevelIdc(string)

public static byte CodecUtilsH264GetLevelIdc(string level)

Parameters

level string

Returns

byte

CodecUtilsH264GetProfile(Span<byte>)

public static string? CodecUtilsH264GetProfile(Span<byte> sps)

Parameters

sps Span<byte>

Returns

string

CodecUtilsH264GetProfileFlagsLevel(Span<byte>, out byte, out byte, out byte)

[Version("1.20")]
public static bool CodecUtilsH264GetProfileFlagsLevel(Span<byte> codecData, out byte profile, out byte flags, out byte level)

Parameters

codecData Span<byte>
profile byte
flags byte
level byte

Returns

bool

CodecUtilsH265CapsSetLevelTierAndProfile(Caps, Span<byte>)

[Version("1.4")]
public static bool CodecUtilsH265CapsSetLevelTierAndProfile(Caps caps, Span<byte> profileTierLevel)

Parameters

caps Caps
profileTierLevel Span<byte>

Returns

bool

CodecUtilsH265GetLevel(Span<byte>)

[Version("1.4")]
public static string? CodecUtilsH265GetLevel(Span<byte> profileTierLevel)

Parameters

profileTierLevel Span<byte>

Returns

string

CodecUtilsH265GetLevelIdc(string)

[Version("1.4")]
public static byte CodecUtilsH265GetLevelIdc(string level)

Parameters

level string

Returns

byte

CodecUtilsH265GetProfile(Span<byte>)

[Version("1.4")]
public static string? CodecUtilsH265GetProfile(Span<byte> profileTierLevel)

Parameters

profileTierLevel Span<byte>

Returns

string

CodecUtilsH265GetTier(Span<byte>)

[Version("1.4")]
public static string? CodecUtilsH265GetTier(Span<byte> profileTierLevel)

Parameters

profileTierLevel Span<byte>

Returns

string

CodecUtilsMpeg4videoCapsSetLevelAndProfile(Caps, Span<byte>)

public static bool CodecUtilsMpeg4videoCapsSetLevelAndProfile(Caps caps, Span<byte> visObjSeq)

Parameters

caps Caps
visObjSeq Span<byte>

Returns

bool

CodecUtilsMpeg4videoGetLevel(Span<byte>)

public static string? CodecUtilsMpeg4videoGetLevel(Span<byte> visObjSeq)

Parameters

visObjSeq Span<byte>

Returns

string

CodecUtilsMpeg4videoGetProfile(Span<byte>)

public static string? CodecUtilsMpeg4videoGetProfile(Span<byte> visObjSeq)

Parameters

visObjSeq Span<byte>

Returns

string

CodecUtilsOpusCreateCapsFromHeader(Buffer, Buffer?)

[Version("1.8")]
public static Caps? CodecUtilsOpusCreateCapsFromHeader(Buffer header, Buffer? comments)

Parameters

header Buffer
comments Buffer

Returns

Caps

EncodingListAllTargets(string?)

public static List EncodingListAllTargets(string? categoryname)

Parameters

categoryname string

Returns

List

EncodingListAvailableCategories()

public static List EncodingListAvailableCategories()

Returns

List

InstallPluginsInstallationInProgress()

public static bool InstallPluginsInstallationInProgress()

Returns

bool

InstallPluginsReturnGetName(InstallPluginsReturn)

public static string InstallPluginsReturnGetName(InstallPluginsReturn ret)

Parameters

ret InstallPluginsReturn

Returns

string

InstallPluginsSupported()

public static bool InstallPluginsSupported()

Returns

bool

InstallPluginsSync(string[], InstallPluginsContext?)

public static InstallPluginsReturn InstallPluginsSync(string[] details, InstallPluginsContext? ctx)

Parameters

details string[]
ctx InstallPluginsContext

Returns

InstallPluginsReturn

IsMissingPluginMessage(Message)

public static bool IsMissingPluginMessage(Message msg)

Parameters

msg Message

Returns

bool

MissingDecoderInstallerDetailNew(Caps)

public static string MissingDecoderInstallerDetailNew(Caps decodeCaps)

Parameters

decodeCaps Caps

Returns

string

MissingDecoderMessageNew(Element, Caps)

public static Message MissingDecoderMessageNew(Element element, Caps decodeCaps)

Parameters

element Element
decodeCaps Caps

Returns

Message

MissingElementInstallerDetailNew(string)

public static string MissingElementInstallerDetailNew(string factoryName)

Parameters

factoryName string

Returns

string

MissingElementMessageNew(Element, string)

public static Message MissingElementMessageNew(Element element, string factoryName)

Parameters

element Element
factoryName string

Returns

Message

MissingEncoderInstallerDetailNew(Caps)

public static string MissingEncoderInstallerDetailNew(Caps encodeCaps)

Parameters

encodeCaps Caps

Returns

string

MissingEncoderMessageNew(Element, Caps)

public static Message MissingEncoderMessageNew(Element element, Caps encodeCaps)

Parameters

element Element
encodeCaps Caps

Returns

Message

MissingPluginMessageGetDescription(Message)

public static string MissingPluginMessageGetDescription(Message msg)

Parameters

msg Message

Returns

string

MissingPluginMessageGetInstallerDetail(Message)

public static string? MissingPluginMessageGetInstallerDetail(Message msg)

Parameters

msg Message

Returns

string

MissingUriSinkInstallerDetailNew(string)

public static string MissingUriSinkInstallerDetailNew(string protocol)

Parameters

protocol string

Returns

string

MissingUriSinkMessageNew(Element, string)

public static Message MissingUriSinkMessageNew(Element element, string protocol)

Parameters

element Element
protocol string

Returns

Message

MissingUriSourceInstallerDetailNew(string)

public static string MissingUriSourceInstallerDetailNew(string protocol)

Parameters

protocol string

Returns

string

MissingUriSourceMessageNew(Element, string)

public static Message MissingUriSourceMessageNew(Element element, string protocol)

Parameters

element Element
protocol string

Returns

Message

PbUtilsAddCodecDescriptionToTagList(TagList, string?, Caps)

public static bool PbUtilsAddCodecDescriptionToTagList(TagList taglist, string? codecTag, Caps caps)

Parameters

taglist TagList
codecTag string
caps Caps

Returns

bool

PbUtilsGetCapsDescriptionFlags(Caps)

[Version("1.20")]
public static PbUtilsCapsDescriptionFlags PbUtilsGetCapsDescriptionFlags(Caps caps)

Parameters

caps Caps

Returns

PbUtilsCapsDescriptionFlags

PbUtilsGetCodecDescription(Caps)

public static string? PbUtilsGetCodecDescription(Caps caps)

Parameters

caps Caps

Returns

string

PbUtilsGetDecoderDescription(Caps)

public static string PbUtilsGetDecoderDescription(Caps caps)

Parameters

caps Caps

Returns

string

PbUtilsGetElementDescription(string)

public static string PbUtilsGetElementDescription(string factoryName)

Parameters

factoryName string

Returns

string

PbUtilsGetEncoderDescription(Caps)

public static string PbUtilsGetEncoderDescription(Caps caps)

Parameters

caps Caps

Returns

string

PbUtilsGetFileExtensionFromCaps(Caps)

[Version("1.20")]
public static string? PbUtilsGetFileExtensionFromCaps(Caps caps)

Parameters

caps Caps

Returns

string

PbUtilsGetSinkDescription(string)

public static string PbUtilsGetSinkDescription(string protocol)

Parameters

protocol string

Returns

string

PbUtilsGetSourceDescription(string)

public static string PbUtilsGetSourceDescription(string protocol)

Parameters

protocol string

Returns

string

PbUtilsInit()

public static void PbUtilsInit()

PluginsBaseVersion(out uint, out uint, out uint, out uint)

public static void PluginsBaseVersion(out uint major, out uint minor, out uint micro, out uint nano)

Parameters

major uint
minor uint
micro uint
nano uint

PluginsBaseVersionString()

public static string PluginsBaseVersionString()

Returns

string