mediaforge - v0.1.0
    Preparing search index...

    Interface ProbeStream

    One stream from ffprobe -show_streams

    interface ProbeStream {
        index: number;
        codec_name?: string;
        codec_long_name?: string;
        profile?: string;
        codec_type?: StreamCodecType;
        codec_tag_string?: string;
        codec_tag?: string;
        width?: number;
        height?: number;
        coded_width?: number;
        coded_height?: number;
        has_b_frames?: number;
        sample_aspect_ratio?: string;
        display_aspect_ratio?: string;
        pix_fmt?: string;
        level?: number;
        color_range?: string;
        color_space?: string;
        color_transfer?: string;
        color_primaries?: string;
        chroma_location?: string;
        field_order?: string;
        refs?: number;
        avg_frame_rate?: string;
        r_frame_rate?: string;
        nb_frames?: string;
        sample_rate?: string;
        channels?: number;
        channel_layout?: string;
        bits_per_sample?: number;
        sample_fmt?: string;
        codec_time_base?: string;
        time_base?: string;
        start_pts?: number;
        start_time?: string;
        duration_ts?: number;
        duration?: string;
        bit_rate?: string;
        max_bit_rate?: string;
        disposition?: StreamDisposition;
        tags?: Record<string, string>;
    }
    Index

    Properties

    index: number

    Stream index within the file

    codec_name?: string

    Codec short name, e.g. "h264", "aac", "hevc"

    codec_long_name?: string

    Codec long name, e.g. "H.264 / AVC / MPEG-4 AVC"

    profile?: string

    Stream profile, e.g. "High", "LC"

    codec_type?: StreamCodecType

    Stream type

    codec_tag_string?: string

    Codec tag, e.g. "avc1"

    codec_tag?: string

    Codec tag hex, e.g. "0x31637661"

    width?: number

    Frame width in pixels

    height?: number

    Frame height in pixels

    coded_width?: number

    Coded (padded) width

    coded_height?: number

    Coded height

    has_b_frames?: number

    Has B-frames

    sample_aspect_ratio?: string

    Sample/pixel aspect ratio, e.g. "1:1"

    display_aspect_ratio?: string

    Display aspect ratio, e.g. "16:9"

    pix_fmt?: string

    Pixel format, e.g. "yuv420p"

    level?: number

    H.264/HEVC level

    color_range?: string

    Color range: tv or pc

    color_space?: string

    Color space, e.g. "bt709"

    color_transfer?: string

    Color transfer, e.g. "bt709"

    color_primaries?: string

    Color primaries, e.g. "bt709"

    chroma_location?: string

    Chroma sample location

    field_order?: string

    Field order

    refs?: number

    Refs

    avg_frame_rate?: string

    Average frame rate as fraction string, e.g. "30000/1001"

    r_frame_rate?: string

    Real base frame rate, e.g. "60000/1001"

    nb_frames?: string

    Number of frames (string representation)

    sample_rate?: string

    Audio sample rate, e.g. "48000"

    channels?: number

    Number of audio channels

    channel_layout?: string

    Channel layout string, e.g. "stereo", "5.1"

    bits_per_sample?: number

    Bits per sample

    sample_fmt?: string

    Sample format, e.g. "fltp"

    codec_time_base?: string

    Codec timebase, e.g. "1/12800"

    time_base?: string

    Time base, e.g. "1/1000"

    start_pts?: number

    Start presentation time in time_base units

    start_time?: string

    Start time in seconds (string)

    duration_ts?: number

    Duration in time_base units

    duration?: string

    Duration in seconds (string)

    bit_rate?: string

    Bit rate in bits/s (string)

    max_bit_rate?: string

    Max bit rate

    disposition?: StreamDisposition

    Stream disposition flags

    tags?: Record<string, string>

    Stream metadata tags, e.g. language