Class VideoProcessor
Provides functionality to process video files with specified options.
Inherited Members
Namespace: FulcrumFS.Videos
Assembly: FulcrumFS.Videos.dll
Syntax
public sealed class VideoProcessor : FileProcessor, IFileProcessingPipelineProvider, IFileProcessingPipelineSelector
Constructors
| Name | Description |
|---|---|
| VideoProcessor(VideoProcessingOptions) | Initializes a new instance of the VideoProcessor class with the specified options. Note: you must configure the ffmpeg executable paths by calling ConfigureWithFFmpegExecutables(IAbsoluteDirectoryPath, int) before creating an instance of this class. |
Properties
| Name | Description |
|---|---|
| AllowedFileExtensions | Gets the file extensions that this processor allows, including the leading dot (e.g., ".jpg", ".png"), or an empty collection if all file extensions are allowed. |
| Options | Gets the options used to configure this VideoProcessor. |
Methods
| Name | Description |
|---|---|
| ConfigureWithFFmpegExecutables(IAbsoluteDirectoryPath, int) | Configures the directory containing ffmpeg binaries to use for processing. On Windows: should contain ffmpeg.exe and ffprobe.exe. On Linux/macOS: should contain ffmpeg and ffprobe executables with appropriate execute permissions. |
| ProcessAsync(FileProcessingContext) | Processes the file represented by the specified FileProcessingContext. |