UNPKG

@remotion/renderer

Version:

Render Remotion videos using Node.js or Bun

26 lines (25 loc) 639 B
"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;