AutoMovie API
    Preparing search index...

    Interface IAutoMovieProductionVideoProbe

    Parser-observed constant-duration H.264 MP4 track, clock and picture facts; delivery-profile acceptance is separate.

    interface IAutoMovieProductionVideoProbe {
        brands: { compatible: string[]; major: string };
        codec: "h264";
        coded: { height: number; width: number };
        color: {
            container:
                | {
                    fullRange: boolean;
                    kind: "nclx";
                    matrix: number;
                    primaries: number;
                    transfer: number;
                }
                | { kind: "absent" };
            resolved: { kind: "srgb"; source: "container" } | { kind: "absent" };
        };
        container: "mp4";
        fps: number;
        frameCount: number;
        frameRate: IAutoMovieProductionFrameRate;
        height: number;
        kind: "video";
        pixelAspect: | { kind: "implicit-square" }
        | { hSpacing: number; kind: "explicit"; vSpacing: number };
        presentation: {
            edits: {
                mediaRateFraction: number;
                mediaRateInteger: number;
                mediaTime: number;
                segmentDuration: number;
            }[];
            mediaDuration: number;
            mediaTimescale: number;
            movieDuration: number;
            movieTimescale: number;
        };
        runtimeSeconds: number;
        samples: {
            count: number;
            duration: number;
            firstCts: number;
            firstDts: number;
            lastCts: number;
            lastDts: number;
            timescale: number;
        };
        trackDisplay: { height16_16: number; width16_16: number };
        trackMatrix: [
            number,
            number,
            number,
            number,
            number,
            number,
            number,
            number,
            number,
        ];
        width: number;
    }
    Index
    brands: { compatible: string[]; major: string }

    Parsed major and compatible brands.

    Type Declaration

    • compatible: string[]

      Parsed compatible brands in resident order.

    • major: string

      Parsed primary file-type brand.

    codec: "h264"

    Parsed coded-stream family.

    coded: { height: number; width: number }

    Parsed coded sample-entry raster.

    Type Declaration

    • height: number

      Coded sample-entry height in pixels.

    • width: number

      Coded sample-entry width in pixels.

    color: {
        container:
            | {
                fullRange: boolean;
                kind: "nclx";
                matrix: number;
                primaries: number;
                transfer: number;
            }
            | { kind: "absent" };
        resolved: { kind: "srgb"; source: "container" } | { kind: "absent" };
    }

    Container-declared and resolved picture color identity.

    Type Declaration

    • container:
          | {
              fullRange: boolean;
              kind: "nclx";
              matrix: number;
              primaries: number;
              transfer: number;
          }
          | { kind: "absent" }

      Observed nclx code points, or absence of a supported declaration.

    • resolved: { kind: "srgb"; source: "container" } | { kind: "absent" }

      Exact supported sRGB container identity, or unresolved color meaning.

    container: "mp4"

    Parsed container family.

    fps: number

    Compatibility rate projected from the raw sample clock.

    frameCount: number

    Parsed resident picture-sample count.

    Canonical reduced rate parsed from the sample clock.

    height: number

    Compatibility height projected from coded facts.

    kind: "video"

    Parsed media class.

    pixelAspect:
        | { kind: "implicit-square" }
        | { hSpacing: number; kind: "explicit"; vSpacing: number }

    Parsed pixel-aspect declaration.

    Type Declaration

    • { kind: "implicit-square" }
      • kind: "implicit-square"

        No explicit pasp box; square pixels are implied.

    • { hSpacing: number; kind: "explicit"; vSpacing: number }
      • hSpacing: number

        Positive horizontal pixel-aspect term.

      • kind: "explicit"

        Parsed pasp declaration.

      • vSpacing: number

        Positive vertical pixel-aspect term.

    presentation: {
        edits: {
            mediaRateFraction: number;
            mediaRateInteger: number;
            mediaTime: number;
            segmentDuration: number;
        }[];
        mediaDuration: number;
        mediaTimescale: number;
        movieDuration: number;
        movieTimescale: number;
    }

    Raw movie/media clocks and edit list.

    Type Declaration

    • edits: {
          mediaRateFraction: number;
          mediaRateInteger: number;
          mediaTime: number;
          segmentDuration: number;
      }[]

      Parsed edits in resident order.

    • mediaDuration: number

      Encoded duration in media ticks.

    • mediaTimescale: number

      Encoded media ticks per second.

    • movieDuration: number

      Track presentation duration in movie ticks.

    • movieTimescale: number

      Movie presentation ticks per second.

    runtimeSeconds: number

    Encoded media duration divided by media timescale, in seconds; raw presentation edits remain below.

    samples: {
        count: number;
        duration: number;
        firstCts: number;
        firstDts: number;
        lastCts: number;
        lastDts: number;
        timescale: number;
    }

    Raw constant-sample clock and boundary facts.

    Type Declaration

    • count: number

      Number of resident encoded picture samples.

    • duration: number

      Common sample duration in media ticks.

    • firstCts: number

      First composition timestamp in media ticks.

    • firstDts: number

      First decode timestamp in media ticks.

    • lastCts: number

      Last composition timestamp in media ticks.

    • lastDts: number

      Last decode timestamp in media ticks.

    • timescale: number

      Media ticks per second.

    trackDisplay: { height16_16: number; width16_16: number }

    Parsed fixed-point track display raster.

    Type Declaration

    • height16_16: number

      Raw 16.16 fixed-point presentation height.

    • width16_16: number

      Raw 16.16 fixed-point presentation width.

    trackMatrix: [
        number,
        number,
        number,
        number,
        number,
        number,
        number,
        number,
        number,
    ]

    Parsed fixed-point track presentation matrix.

    width: number

    Compatibility width projected from coded facts.