Class VideoThumbnailProcessor
Provides functionality to extract thumbnails from video files with specified options.
Inherited Members
Namespace: FulcrumFS.Videos
Assembly: FulcrumFS.Videos.dll
Syntax
public sealed class VideoThumbnailProcessor : FileProcessor, IFileProcessingPipelineProvider, IFileProcessingPipelineSelector
Constructors
| Name | Description |
|---|---|
| VideoThumbnailProcessor(VideoThumbnailProcessingOptions) | Initializes a new instance of the VideoThumbnailProcessor 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. Note: if you want to do source video validation, you need to use VideoProcessor first and chain this after it, as this class does not perform any validation itself, it just extracts a thumbnail from the provided video. |
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 VideoThumbnailProcessor. |
Methods
| Name | Description |
|---|---|
| ProcessAsync(FileProcessingContext) | Processes the file represented by the specified FileProcessingContext. |