Class FFmpegVideoBackendFactory
public sealed class FFmpegVideoBackendFactory : VideoBackendFactory
- Inheritance
-
objectFFmpegVideoBackendFactory
- Inherited Members
- Extension Methods
Properties
ForceSoftwareDecode
Disable HW-accelerated decode (D3D11VA on Windows D3D11) for the next backend instance. Tests use this to deterministically exercise the SW path even on hosts where HW decode would otherwise auto-engage.
public static bool ForceSoftwareDecode { get; set; }
Property Value
Name
Stable identifier (e.g. "FFmpeg", "MediaEngine", "MediaCodec"). Used for PreferredBackendName matching.
public override string Name { get; }
Property Value
Priority
Higher value wins when multiple supported backends are registered and no preferred backend is set.
public override int Priority { get; }
Property Value
Methods
CreateBackend(VideoInstance)
Construct a backend bound to instance. Called once per
VideoInstance.
public override VideoBackend CreateBackend(VideoInstance instance)
Parameters
instanceVideoInstance
Returns
InitializeSystem(VideoSystem)
Per-process / per-VideoSystem initialization (e.g. MFStartup, FFmpeg library preload). Called once when this factory is selected as the active backend. Default: no-op.
public override void InitializeSystem(VideoSystem system)
Parameters
systemVideoSystem
IsSupported(GraphicsDevice)
Whether this backend can run on the current device/platform.
public override bool IsSupported(GraphicsDevice device)
Parameters
deviceGraphicsDevice