Function screengenScale

  • 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>

    Buffer encoded with mozjpeg