videosphere
    Preparing search index...

    Class SharedBackupMetadataSession

    Runs ffmpeg metadata injection once per distribution job and fans the same output file to multiple backup upload streams (Drive, SFTP, SMB).

    Index

    Constructors

    Methods

    • Returns an upload stream reading from the shared metadata-injected output file. The first call stages the source and runs ffmpeg; later calls reuse the same output.

      Parameters

      • Optionalsignal: AbortSignal

        Optional abort signal for staging and ffmpeg.

      Returns Promise<PreparedBackupMetadataVideo>

      Upload stream and content length. Call dispose after all uploads finish.

    • Removes temp staging files. Safe to call after all uploads finish or on job teardown.

      Returns Promise<void>