@remotion/renderer
Version:
Render Remotion videos using Node.js or Bun
21 lines (20 loc) • 988 B
TypeScript
import type { LogLevel } from '../log-level';
import type { CancelSignal } from '../make-cancel-signal';
import type { AudioChannelsAndDurationResultCache, DownloadMap } from './download-map';
export declare const getAudioChannelsAndDurationWithoutCache: ({ src, indent, logLevel, binariesDirectory, cancelSignal, audioStreamIndex, }: {
src: string;
indent: boolean;
logLevel: LogLevel;
binariesDirectory: string | null;
cancelSignal: CancelSignal | undefined;
audioStreamIndex: number | undefined;
}) => Promise<AudioChannelsAndDurationResultCache>;
export declare const getAudioChannelsAndDuration: ({ downloadMap, src, indent, logLevel, binariesDirectory, cancelSignal, audioStreamIndex, }: {
downloadMap: DownloadMap;
src: string;
indent: boolean;
logLevel: LogLevel;
binariesDirectory: string | null;
cancelSignal: CancelSignal | undefined;
audioStreamIndex: number | undefined;
}) => Promise<AudioChannelsAndDurationResultCache>;