Skip to content

Commit

Permalink
dcp inspect type
Browse files Browse the repository at this point in the history
  • Loading branch information
Bramart committed Dec 2, 2024
1 parent a0817db commit f8ec05c
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1046,3 +1046,30 @@ export type BroadcastableProxies = {
hires?: FileClass;
}>;
};

export type DcpInspect = {
cpl: Record<string, {
video: {
duration: number | null;
width: number;
height: number;
rFrameRateNumerator: number;
rFrameRateDenominator: number;
displayAspectRatioNumerator: number;
displayAspectRatioDenominator: number;
nbFrames: number | null;
};
audio: {
duration: number | null;
sampleRate: number;
channels: number;
channelLayout: Formats.Layout | null;
version: Formats.Version | null;
};
subtitle: {
version: Formats.Version | null;
frameRateNumerator: number | null;
frameRateDenominator: number | null;
} | undefined;
}>;
};

0 comments on commit f8ec05c

Please sign in to comment.