igpapi — Instagram private API Simulator for Node.js (API reference) 4.14.0
    Preparing search index...

    Interface EncodedVideoForUpload

    The encode's result: the file to upload and the facts the upload's requests carry.

    interface EncodedVideoForUpload {
        configure: { originalHeight: number; originalWidth: number };
        crop?: PosterCrop;
        durationMs: number;
        file: Buffer;
        height: number;
        md5: string;
        source: VideoSourceFacts;
        width: number;
    }
    Index

    Properties

    configure: { originalHeight: number; originalWidth: number }

    The configure body's original_width / original_height: a constant on every video.

    crop?: PosterCrop

    The part of each source picture the encode saw, when the child is a carousel's: the frame its poster is decoded from too. Absent when the encode saw the whole picture.

    durationMs: number

    upload_media_duration_ms.

    file: Buffer

    The MP4 to upload.

    height: number
    md5: string

    The md5 of the developer's source bytes, as update_media_with_pdq_hash_info sends it.

    width: number

    The encoded picture's size: upload_media_width / upload_media_height.