Documentation
    Preparing search index...

    General utility class providing common static helpers for workers.

    Index

    Constructors

    Accessors

    Methods

    Constructors

    Accessors

    • get FFMPEG(): Promise<string>

      Default absolute path to the system's FFmpeg binary.

      Returns Promise<string>

    Methods

    • Generate a thubnail from a video file at given frame position

      Parameters

      • videoPath: string

        path to video file

      • outputPath: string
      • frame: number = 0

        frame to extract thumbnail from

      • width: number = 320

        width of thumbnail (4/3 ratio)

      Returns Promise<any>