Class Encoder
An NVENC-based encoder.
Inheritance
System.Object
MediaPipe<IVideoOutput, IVideoOutputCollection, IVideoInput, IVideoInputCollection, VideoPipe, VideoFrame, VideoBuffer, VideoBufferCollection, VideoFormat>
Encoder
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: FM.LiveSwitch.Nvidia
Assembly: FM.LiveSwitch.Nvidia.dll
Syntax
[Obsolete("Use H264.Encoder instead.")]
public class Encoder : Encoder, IVideoInput, IMediaInput<IVideoOutput, IVideoInput, VideoFrame, VideoBuffer, VideoBufferCollection, VideoFormat>, IInput<IVideoOutput, IVideoInput, VideoFrame, VideoBuffer, VideoBufferCollection, VideoFormat>, IVideoOutput, IMediaOutput<IVideoOutput, IVideoInput, VideoFrame, VideoBuffer, VideoBufferCollection, VideoFormat>, IOutput<IVideoOutput, IVideoInput, VideoFrame, VideoBuffer, VideoBufferCollection, VideoFormat>, IVideoElement, IMediaElement, IElement
Constructors
Encoder()
Initializes a new instance of the Encoder class.
Declaration
public Encoder()
Encoder(ProfileLevelId)
Initializes a new instance of the Encoder class with a profile level ID.
Declaration
public Encoder(ProfileLevelId profileLevelId)
Parameters
Type | Name | Description |
---|---|---|
ProfileLevelId | profileLevelId | The profile level ID. |
Encoder(IVideoOutput)
Initializes a new instance of the Encoder class.
Declaration
public Encoder(IVideoOutput input)
Parameters
Type | Name | Description |
---|---|---|
IVideoOutput | input | The input. |
Encoder(IVideoOutput, ProfileLevelId)
Initializes a new instance of the Encoder class.
Declaration
public Encoder(IVideoOutput input, ProfileLevelId profileLevelId)
Parameters
Type | Name | Description |
---|---|---|
IVideoOutput | input | The input. |
ProfileLevelId | profileLevelId | The profile level ID. |
Encoder(VideoFormat)
Initializes a new instance of the Encoder class.
Declaration
public Encoder(VideoFormat inputFormat)
Parameters
Type | Name | Description |
---|---|---|
VideoFormat | inputFormat | The input format. |
Encoder(VideoFormat, ProfileLevelId)
Initializes a new instance of the Encoder class.
Declaration
public Encoder(VideoFormat inputFormat, ProfileLevelId profileLevelId)
Parameters
Type | Name | Description |
---|---|---|
VideoFormat | inputFormat | The input format. |
ProfileLevelId | profileLevelId | The profile level ID. |