Type Alias XtreamAudioInfo

XtreamAudioInfo: {
    index: number;
    codec_name: string;
    codec_long_name: string;
    codec_type: string;
    codec_tag_string: string;
    codec_tag: string;
    sample_fmt: string;
    sample_rate: string;
    channels: number;
    channel_layout: string;
    bits_per_sample: number;
    r_frame_rate: string;
    avg_frame_rate: string;
    time_base: string;
    start_pts: number;
    start_time: string;
    bit_rate: string;
    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 audio information

This type represents the technical details of an audio 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

  • codec_type: string

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

  • codec_tag_string: string

    The codec tag as a string

  • codec_tag: string

    The codec tag

  • sample_fmt: string

    The sample format

  • sample_rate: string

    The sample rate in Hz

  • channels: number

    The number of audio channels

  • channel_layout: string

    The channel layout (e.g., "stereo")

  • bits_per_sample: number

    The bits per sample

  • 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

  • bit_rate: string

    The bitrate in bits per second

  • 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