Class FFMPEGEXEOutput
FFMPEG EXE output settings.
Inherited Members
Namespace: VisioForge.Core.Types.Output
Assembly: VisioForge.Core.dll
Syntax
public sealed class FFMPEGEXEOutput : IVideoCaptureBaseOutput, IVideoEditBaseOutput, INetworkStreamingOutput
Constructors
FFMPEGEXEOutput()
Initializes a new instance of the FFMPEGEXEOutput class.
Declaration
public FFMPEGEXEOutput()
FFMPEGEXEOutput(DefaultsProfile, bool)
Initializes a new instance of the FFMPEGEXEOutput class.
Declaration
public FFMPEGEXEOutput(DefaultsProfile profile, bool networkStreaming)
Parameters
Type | Name | Description |
---|---|---|
DefaultsProfile | profile | The profile. |
bool | networkStreaming | if set to |
Properties
AddFakeAudioSource
Gets or sets a value indicating whether fake audio source will be added. It can be used to stream video without real audio, that can be useful for Facebook/YouTube.
Declaration
public bool AddFakeAudioSource { get; set; }
Property Value
Type | Description |
---|---|
bool |
Audio
Gets or sets audio settings.
Declaration
public IBasicAudioSettings Audio { get; set; }
Property Value
Type | Description |
---|---|
IBasicAudioSettings |
Custom_AdditionalAudioArgs
Gets or sets additional args for FFMPEG EXE audio encoder. You can specify custom FFMPEG parameters not available by our SDK.
Declaration
public string Custom_AdditionalAudioArgs { get; set; }
Property Value
Type | Description |
---|---|
string |
Custom_AdditionalCommonArgs
Gets or sets additional args for FFMPEG EXE. You can specify custom FFMPEG parameters not available by our SDK.
Declaration
public string Custom_AdditionalCommonArgs { get; set; }
Property Value
Type | Description |
---|---|
string |
Custom_AdditionalVideoArgs
Gets or sets additional args for FFMPEG EXE video encoder. You can specify custom FFMPEG parameters not available by our SDK.
Declaration
public string Custom_AdditionalVideoArgs { get; set; }
Property Value
Type | Description |
---|---|
string |
Custom_AllFFMPEGArgs
Gets or sets custom FFMPEG args for FFMPEG EXE. Using this property you are ignoring all FFMPEG output settings. You can specify custom FFMPEG parameters not available by our SDK.
Declaration
public string Custom_AllFFMPEGArgs { get; set; }
Property Value
Type | Description |
---|---|
string |
Custom_InputString
Gets or sets custom input string, replaces string provided to FFMPEG by SDK. Be sure that correct audio and video virtual sources specified correctly.
Declaration
public string Custom_InputString { get; set; }
Property Value
Type | Description |
---|---|
string |
ExecutableFilename
Gets or sets custom FFMPEG file name (including path).
Declaration
public string ExecutableFilename { get; set; }
Property Value
Type | Description |
---|---|
string |
OutputMuxer
Gets or sets FFMPEG EXE output format.
Declaration
public OutputMuxer OutputMuxer { get; set; }
Property Value
Type | Description |
---|---|
OutputMuxer |
RtBufferSize
Gets or sets rtbufsize parameter for FFMPEG source. 50M by default.
Declaration
public string RtBufferSize { get; set; }
Property Value
Type | Description |
---|---|
string |
ThreadsCount
Gets or sets FFMPEG EXE threads count.
Declaration
public int ThreadsCount { get; set; }
Property Value
Type | Description |
---|---|
int |
UsePipe
Gets or sets a value indicating whether pipe will be used instead virtual devices.
Declaration
public bool UsePipe { get; set; }
Property Value
Type | Description |
---|---|
bool |
Video
Gets or sets video settings.
Declaration
public IBasicVideoSettings Video { get; set; }
Property Value
Type | Description |
---|---|
IBasicVideoSettings |
VideoBufferSize
Gets or sets FFMPEGEXE video buffer size. 0 to use default value.
Declaration
public int VideoBufferSize { get; set; }
Property Value
Type | Description |
---|---|
int |
Methods
FillDefaults(DefaultsProfile, bool)
Fills FFMPEG_EXE properties by defaults profile.
Declaration
public void FillDefaults(DefaultsProfile profile, bool networkStreaming)
Parameters
Type | Name | Description |
---|---|---|
DefaultsProfile | profile | Profile. |
bool | networkStreaming | Set true if settings used for network streaming. |
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 FFMPEGEXEOutput Load(string json)
Parameters
Type | Name | Description |
---|---|---|
string | json | JSON string. |
Returns
Type | Description |
---|---|
FFMPEGEXEOutput | The string. |
Save()
Saves to JSON.
Declaration
public string Save()
Returns
Type | Description |
---|---|
string | The string. |