Type Alias XtreamVideoInfo

XtreamVideoInfo: {
    index: number;
    codec_name: string;
    codec_long_name: string;
    profile: string;
    codec_type: string;
    codec_tag_string: string;
    codec_tag: string;
    width: number;
    height: number;
    coded_width: number;
    coded_height: number;
    closed_captions: number;
    film_grain: 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;
    is_avc: string;
    nal_length_size: string;
    r_frame_rate: string;
    avg_frame_rate: string;
    time_base: string;
    start_pts: number;
    start_time: string;
    bits_per_raw_sample: string;
    extradata_size: number;
    disposition: {
        default: number;
        dub: number;
        original: number;
        comment: number;
        lyrics: number;
        karaoke: number;
        forced: number;
        hearing_impaired: number;
        visual_impaired: number;
        clean_effects: number;
        attached_pic: number;
        timed_thumbnails: number;
        captions: number;
        descriptions: number;
        metadata: number;
        dependent: number;
        still_image: number;
    };
    tags: { [key: string]: string };
}

Xtream video information

This type represents the technical details of a video stream

Type declaration

  • index: number

    The stream index in the container

  • codec_name: string

    The short name of the codec

  • codec_long_name: string

    The full name of the codec

  • profile: string

    The codec profile

  • codec_type: string

    The type of the codec (e.g., "video")

  • codec_tag_string: string

    The codec tag as a string

  • codec_tag: string

    The codec tag

  • width: number

    The width of the video in pixels

  • height: number

    The height of the video in pixels

  • coded_width: number

    The coded width of the video

  • coded_height: number

    The coded height of the video

  • closed_captions: number

    Flag indicating if closed captions are available

  • film_grain: number

    Flag indicating if film grain is present

  • has_b_frames: number

    Flag indicating if B-frames are used

  • sample_aspect_ratio: string

    The sample aspect ratio

  • display_aspect_ratio: string

    The display aspect ratio

  • pix_fmt: string

    The pixel format

  • level: number

    The codec level

  • color_range: string

    The color range

  • color_space: string

    The color space

  • color_transfer: string

    The color transfer characteristics

  • color_primaries: string

    The color primaries

  • chroma_location: string

    The chroma sample location

  • field_order: string

    The field order

  • refs: number

    The number of reference frames

  • is_avc: string

    Flag indicating if AVC format is used

  • nal_length_size: string

    The NAL unit length size

  • r_frame_rate: string

    The real frame rate

  • avg_frame_rate: string

    The average frame rate

  • time_base: string

    The time base

  • start_pts: number

    The starting presentation timestamp

  • start_time: string

    The starting time

  • bits_per_raw_sample: string

    The bits per raw sample

  • extradata_size: number

    The size of extra data

  • disposition: {
        default: number;
        dub: number;
        original: number;
        comment: number;
        lyrics: number;
        karaoke: number;
        forced: number;
        hearing_impaired: number;
        visual_impaired: number;
        clean_effects: number;
        attached_pic: number;
        timed_thumbnails: number;
        captions: number;
        descriptions: number;
        metadata: number;
        dependent: number;
        still_image: number;
    }

    The stream disposition flags

    • default: number

      Default flag

    • dub: number

      Dub flag

    • original: number

      Original flag

    • comment: number

      Comment flag

    • lyrics: number

      Lyrics flag

    • karaoke: number

      Karaoke flag

    • forced: number

      Forced flag

    • hearing_impaired: number

      Hearing impaired flag

    • visual_impaired: number

      Visual impaired flag

    • clean_effects: number

      Clean effects flag

    • attached_pic: number

      Attached picture flag

    • timed_thumbnails: number

      Timed thumbnails flag

    • captions: number

      Captions flag

    • descriptions: number

      Descriptions flag

    • metadata: number

      Metadata flag

    • dependent: number

      Dependent flag

    • still_image: number

      Still image flag

  • tags: { [key: string]: string }

    The metadata tags