Class FFmpegBinariesHelper
Provides a helper for registering FFmpeg binary paths dynamically based on the operating system.
Namespace: Evergine.Runtimes.Video.Helpers
Assembly: Evergine.Runtimes.Video.dll
Syntax
public class FFmpegBinariesHelper
Properties
WindowsLibraryPath
Gets or sets the explicit windows library path.
Declaration
public static string WindowsLibraryPath { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
RegisterFFmpegBinaries()
Registers the appropriate FFmpeg binary path depending on the detected operating system.
Declaration
public static void RegisterFFmpegBinaries()
Remarks
- On Windows, it sets the path dynamically based on the process architecture (x64 or x86).
- On Linux, it assumes the default FFmpeg library path.
- On unsupported platforms, an exception is thrown.
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown if the operating system is not supported. |