@elysiumoss/ui-capture - v0.1.1
    Preparing search index...

    Function pipeImageThroughFfmpeg

    • Pipes an in-memory image buffer through ffmpeg stdin and writes the encoded result to disk. Avoids an intermediate temp file. Used to produce real WebP (and re-encoded JPEG) from a single PNG screenshot buffer.

      Parameters

      • ffmpegPath: string
      • inputBuffer: Buffer
      • outputPath: string
      • codecArgs: readonly string[]

      Returns Effect<void, FileSystemError>