FulcrumFS FulcrumFS
FulcrumFS FulcrumFS
DocFX + Singulink = ♥

Search Results for

    Class VideoFrameExtractionProcessor

    Provides functionality to extract video frames from video files with specified options.

    Inheritance
    object
    FileProcessor
    VideoFrameExtractionProcessor
    Implements
    IFileProcessingPipelineProvider
    IFileProcessingPipelineSelector
    Inherited Members
    FileProcessor.ProcessorName
    FileProcessor.ToPipeline(SourceBufferingMode, bool, bool)
    FileProcessor.WithVariant(string, IFileProcessingPipelineProvider)
    Namespace: FulcrumFS.Videos
    Assembly: FulcrumFS.Videos.dll
    Syntax
    public sealed class VideoFrameExtractionProcessor : FileProcessor, IFileProcessingPipelineProvider, IFileProcessingPipelineSelector

    Constructors

    Name Description
    VideoFrameExtractionProcessor(VideoFrameExtractionProcessingOptions)

    Initializes a new instance of the VideoFrameExtractionProcessor class with the specified options.

    Note: you must configure the ffmpeg executable paths by calling ConfigureWithFFmpegExecutables(IAbsoluteDirectoryPath, VideoProcessorConfigurationOptions?) 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 video frame 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 VideoFrameExtractionProcessor.

    Methods

    Name Description
    ProcessAsync(FileProcessingContext)

    Processes the file represented by the specified FileProcessingContext.

    © Singulink. All rights reserved.