ff-helper
    Preparing search index...

    Function getScreenshotScale

    • screenshot for video, with scale

      Parameters

      • file: string

        the video file

      • ts: number

        the given timestamp, in millseconds

      • Optionalscale: number

        scale of video width & height

      Returns Promise<Buffer<ArrayBufferLike>>

      Buffer encoded with mozjpeg