Class FFmpeg
Wrapper for FFmpeg
Inheritance
System.Object
FFmpeg
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Xabe.FFmpeg
Assembly: Xabe.FFmpeg.dll
Syntax
public abstract class FFmpeg
Constructors
FFmpeg()
Initalize new FFmpeg. Search FFmpeg and FFprobe in PATH
Declaration
protected FFmpeg()
Properties
ExecutablesPath
Directory containing FFmpeg and FFprobe
Declaration
public static string ExecutablesPath { get; set; }
Property Value
| Type | Description |
|---|---|
| System. |
FFmpegExecutableName
Name of FFmpeg executable name (Case insensitive)
Declaration
public static string FFmpegExecutableName { get; }
Property Value
| Type | Description |
|---|---|
| System. |
FFmpegPath
FilePath to FFmpeg
Declaration
protected string FFmpegPath { get; }
Property Value
| Type | Description |
|---|---|
| System. |
FFmpegProcessId
FFmpeg process id
Declaration
public int FFmpegProcessId { get; }
Property Value
| Type | Description |
|---|---|
| System. |
FFprobeExecutableName
Name of FFprobe executable name (Case insensitive)
Declaration
public static string FFprobeExecutableName { get; }
Property Value
| Type | Description |
|---|---|
| System. |
FFprobePath
FilePath to FFprobe
Declaration
protected string FFprobePath { get; }
Property Value
| Type | Description |
|---|---|
| System. |
Priority
FFmpeg tool process priority
Declaration
public ProcessPriorityClass? Priority { get; set; }
Property Value
| Type | Description |
|---|---|
| System. |
Methods
RunProcess(String, String, Nullable<ProcessPriorityClass>, Boolean, Boolean, Boolean)
Run conversion
Declaration
protected Process RunProcess(string args, string processPath, ProcessPriorityClass? priority, bool standardInput = false, bool standardOutput = false, bool standardError = false)
Parameters
| Type | Name | Description |
|---|---|---|
| System. |
args | Arguments |
| System. |
processPath | FilePath to executable (FFmpeg, ffprobe) |
| System. |
priority | Process priority to run executables |
| System. |
standardInput | Should redirect standard input |
| System. |
standardOutput | Should redirect standard output |
| System. |
standardError | Should redirect standard error |
Returns
| Type | Description |
|---|---|
| System. |
Exceptions
| Type | Condition |
|---|---|
| System. |
|
| System. |