← Files Cecil-IA Labs FFmpegARCHIVED FILE
dist/conversion/profiles.d.ts
1.04 KB · Sep 30, 2026 · 23:17 UTC
import { type HardwareEncodingSelection } from "../hardware/index.js";
import type { MediaInfo, ToolkitWarning } from "../types/contracts.js";
import type { ConversionFormat, ConversionTuningOptions } from "./types.js";
export interface ConversionPlan {
argsBeforeOutput: string[];
warnings: ToolkitWarning[];
details: Record<string, unknown>;
}
export declare function targetExtension(format: ConversionFormat): string;
export declare function normalizeConversionFormat(value: string): ConversionFormat | undefined;
export declare function inferConversionFormat(file: string): ConversionFormat | undefined;
export declare function isExtensionForFormat(file: string, format: ConversionFormat): boolean;
export declare function assertSupportedConversion(from: ConversionFormat, to: ConversionFormat): void;
export declare function buildConversionPlan(source: string, from: ConversionFormat, to: ConversionFormat, media: MediaInfo, options?: ConversionTuningOptions, hardware?: HardwareEncodingSelection): ConversionPlan;
//# sourceMappingURL=profiles.d.ts.mapSHA-256: afde6b664828edffbb67d590fe9f9318f8b723aa3436114dcbf2979299256c5f