Class VideoEncoder
- Namespace
- GstVideo
- Assembly
- GstVideo-1.0.dll
public class VideoEncoder : Element, IDisposable, Preset, GTypeProvider, InstanceFactory
- Inheritance
-
VideoEncoder
- Implements
-
- Inherited Members
-
Constructors
VideoEncoder(params ConstructArgument[])
public VideoEncoder(params ConstructArgument[] constructArguments)
Parameters
constructArguments
ConstructArgument[]
VideoEncoder(VideoEncoderHandle)
public VideoEncoder(VideoEncoderHandle handle)
Parameters
handle
VideoEncoderHandle
Fields
MinForceKeyUnitIntervalPropertyDefinition
public static readonly Property<ulong, VideoEncoder> MinForceKeyUnitIntervalPropertyDefinition
Field Value
- Property<ulong, VideoEncoder>
QosPropertyDefinition
public static readonly Property<bool, VideoEncoder> QosPropertyDefinition
Field Value
- Property<bool, VideoEncoder>
Properties
MinForceKeyUnitInterval
public ulong MinForceKeyUnitInterval { get; set; }
Property Value
- ulong
Qos
public bool Qos { get; set; }
Property Value
- bool
Methods
AllocateOutputBuffer(nuint)
public Buffer AllocateOutputBuffer(nuint size)
Parameters
size
nuint
Returns
- Buffer
AllocateOutputFrame(VideoCodecFrame, nuint)
public FlowReturn AllocateOutputFrame(VideoCodecFrame frame, nuint size)
Parameters
frame
VideoCodecFrame
size
nuint
Returns
- FlowReturn
DeletePreset(string)
public bool DeletePreset(string name)
Parameters
name
string
Returns
- bool
FinishFrame(VideoCodecFrame)
public FlowReturn FinishFrame(VideoCodecFrame frame)
Parameters
frame
VideoCodecFrame
Returns
- FlowReturn
FinishSubframe(VideoCodecFrame)
[Version("1.18")]
public FlowReturn FinishSubframe(VideoCodecFrame frame)
Parameters
frame
VideoCodecFrame
Returns
- FlowReturn
GetFrame(int)
public VideoCodecFrame? GetFrame(int frameNumber)
Parameters
frameNumber
int
Returns
- VideoCodecFrame
GetFrames()
Returns
- List
GetGType()
public static Type GetGType()
Returns
- Type
GetLatency(out ClockTime, out ClockTime)
public void GetLatency(out ClockTime minLatency, out ClockTime maxLatency)
Parameters
minLatency
ClockTime
maxLatency
ClockTime
GetMaxEncodeTime(VideoCodecFrame)
[Version("1.14")]
public ClockTimeDiff GetMaxEncodeTime(VideoCodecFrame frame)
Parameters
frame
VideoCodecFrame
Returns
- ClockTimeDiff
public bool GetMeta(string name, string tag, out string value)
Parameters
name
string
tag
string
value
string
Returns
- bool
GetMinForceKeyUnitInterval()
[Version("1.18")]
public ClockTime GetMinForceKeyUnitInterval()
Returns
- ClockTime
GetOldestFrame()
public VideoCodecFrame? GetOldestFrame()
Returns
- VideoCodecFrame
GetOutputState()
public VideoCodecState? GetOutputState()
Returns
- VideoCodecState
GetPresetNames()
public string[] GetPresetNames()
Returns
- string[]
GetPropertyNames()
public string[] GetPropertyNames()
Returns
- string[]
IsEditable()
[Version("1.6")]
public bool IsEditable()
Returns
- bool
IsQosEnabled()
[Version("1.14")]
public bool IsQosEnabled()
Returns
- bool
LoadPreset(string)
public bool LoadPreset(string name)
Parameters
name
string
Returns
- bool
public void MergeTags(TagList? tags, TagMergeMode mode)
Parameters
tags
TagList
mode
TagMergeMode
Negotiate()
Returns
- bool
ProxyGetcaps(Caps?, Caps?)
public Caps ProxyGetcaps(Caps? caps, Caps? filter)
Parameters
caps
Caps
filter
Caps
Returns
- Caps
RenamePreset(string, string)
public bool RenamePreset(string oldName, string newName)
Parameters
oldName
string
newName
string
Returns
- bool
SavePreset(string)
public bool SavePreset(string name)
Parameters
name
string
Returns
- bool
SetLatency(ClockTime, ClockTime)
public void SetLatency(ClockTime minLatency, ClockTime maxLatency)
Parameters
minLatency
ClockTime
maxLatency
ClockTime
public bool SetMeta(string name, string tag, string? value)
Parameters
name
string
tag
string
value
string
Returns
- bool
SetMinForceKeyUnitInterval(ClockTime)
[Version("1.18")]
public void SetMinForceKeyUnitInterval(ClockTime interval)
Parameters
interval
ClockTime
SetMinPts(ClockTime)
[Version("1.6")]
public void SetMinPts(ClockTime minPts)
Parameters
minPts
ClockTime
SetOutputState(Caps, VideoCodecState?)
public VideoCodecState? SetOutputState(Caps caps, VideoCodecState? reference)
Parameters
caps
Caps
reference
VideoCodecState
Returns
- VideoCodecState
SetQosEnabled(bool)
[Version("1.14")]
public void SetQosEnabled(bool enabled)
Parameters
enabled
bool