Files
story-studio/remotion/node_modules/@remotion/renderer/dist/get-prores-profile-name.js
2026-02-21 10:33:18 +01:00

26 lines
639 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getProResProfileName = void 0;
const getProResProfileName = (codec, proResProfile) => {
if (codec !== 'prores') {
return null;
}
switch (proResProfile) {
case '4444-xq':
return '5';
case '4444':
return '4';
case 'hq':
return '3';
case 'standard':
return '2';
case 'light':
return '1';
case 'proxy':
return '0';
default:
return '3';
}
};
exports.getProResProfileName = getProResProfileName;