Class FFMPEGOutput
FFMPEG output.
Inherited Members
Namespace: VisioForge.Core.Types.Output
Assembly: VisioForge.Core.dll
Syntax
public sealed class FFMPEGOutput : IVideoEditBaseOutput, IVideoCaptureBaseOutput
Constructors
FFMPEGOutput()
Initializes a new instance of the FFMPEGOutput class.
Declaration
public FFMPEGOutput()
Properties
Audio_Bitrate
Gets or sets FFMPEG audio bitrate.
Declaration
public int Audio_Bitrate { get; set; }
Property Value
Type | Description |
---|---|
int |
Audio_Channels
Gets or sets FFMPEG audio channels.
Declaration
public int Audio_Channels { get; set; }
Property Value
Type | Description |
---|---|
int |
Audio_Codec
Gets or sets audio codec.
Declaration
public FFMPEGAudioCodec Audio_Codec { get; set; }
Property Value
Type | Description |
---|---|
FFMPEGAudioCodec |
Audio_SampleRate
Gets or sets FFMPEG audio sample rate.
Declaration
public int Audio_SampleRate { get; set; }
Property Value
Type | Description |
---|---|
int |
OutputFormat
Gets or sets FFMPEG output format.
Declaration
public FFMPEGOutputFormat OutputFormat { get; set; }
Property Value
Type | Description |
---|---|
FFMPEGOutputFormat |
Video_AspectRatio_H
Gets or sets FFMPEG aspect ratio height. 0 to use default value.
Declaration
public int Video_AspectRatio_H { get; set; }
Property Value
Type | Description |
---|---|
int |
Video_AspectRatio_W
Gets or sets FFMPEG aspect ratio width. 0 to use default value.
Declaration
public int Video_AspectRatio_W { get; set; }
Property Value
Type | Description |
---|---|
int |
Video_Bitrate
Gets or sets FFMPEG video bitrate.
Declaration
public int Video_Bitrate { get; set; }
Property Value
Type | Description |
---|---|
int |
Video_BufferSize
Gets or sets FFMPEG video buffer size. 0 to use default value.
Declaration
public int Video_BufferSize { get; set; }
Property Value
Type | Description |
---|---|
int |
Video_Codec
Gets or sets video codec.
Declaration
public FFMPEGVideoCodec Video_Codec { get; set; }
Property Value
Type | Description |
---|---|
FFMPEGVideoCodec |
Video_Height
Gets or sets FFMPEG video height.
Declaration
public int Video_Height { get; set; }
Property Value
Type | Description |
---|---|
int |
Video_Interlace
Gets or sets a value indicating whether FFMPEG video will be interlaced.
Declaration
public bool Video_Interlace { get; set; }
Property Value
Type | Description |
---|---|
bool |
Video_Level
Gets or sets a video profile for H264, HEVC, MPEG-2, and VP9 codecs.
Declaration
public FFMPEGVideoLevel Video_Level { get; set; }
Property Value
Type | Description |
---|---|
FFMPEGVideoLevel |
Video_MaxBitrate
Gets or sets FFMPEG video maximal bitrate.
Declaration
public int Video_MaxBitrate { get; set; }
Property Value
Type | Description |
---|---|
int |
Video_MinBitrate
Gets or sets FFMPEG video minimal bitrate.
Declaration
public int Video_MinBitrate { get; set; }
Property Value
Type | Description |
---|---|
int |
Video_Profile
Gets or sets a video profile for H264, HEVC, MPEG-2, and VP9 codecs.
Declaration
public FFMPEGVideoProfile Video_Profile { get; set; }
Property Value
Type | Description |
---|---|
FFMPEGVideoProfile |
Video_TVSystem
Gets or sets FFMPEG TV system.
Declaration
public FFMPEGTVSystem Video_TVSystem { get; set; }
Property Value
Type | Description |
---|---|
FFMPEGTVSystem |
Video_Width
Gets or sets FFMPEG video width.
Declaration
public int Video_Width { get; set; }
Property Value
Type | Description |
---|---|
int |
Methods
GetInternalTypeVC()
Gets internal output format.
Declaration
public VideoCaptureOutputFormat GetInternalTypeVC()
Returns
Type | Description |
---|---|
VideoCaptureOutputFormat | Returns VideoCaptureOutputFormat. |
GetInternalTypeVE()
Gets internal output format.
Declaration
public VideoEditOutputFormat GetInternalTypeVE()
Returns
Type | Description |
---|---|
VideoEditOutputFormat | Returns VideoEditOutputFormat. |
Load(string)
Loads from JSON.
Declaration
public static FFMPEGOutput Load(string json)
Parameters
Type | Name | Description |
---|---|---|
string | json | JSON string. |
Returns
Type | Description |
---|---|
FFMPEGOutput | The string. |
Save()
Saves to JSON.
Declaration
public string Save()
Returns
Type | Description |
---|---|
string | The string. |