UNPKG

@remotion/renderer

Version:

Render Remotion videos using Node.js or Bun

29 lines (28 loc) 984 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.separateAudioOption = void 0; const DEFAULT = null; const cliFlag = 'separate-audio-to'; exports.separateAudioOption = { cliFlag, description: () => `If set, the audio will not be included in the main output but rendered as a separate file at the location you pass. It is recommended to use an absolute path. If a relative path is passed, it is relative to the Remotion Root.`, docLink: 'https://remotion.dev/docs/renderer/render-media', getValue: ({ commandLine }) => { if (commandLine[cliFlag]) { return { source: 'cli', value: commandLine[cliFlag], }; } return { source: 'default', value: DEFAULT, }; }, name: 'Separate audio to', setConfig: () => { throw new Error('Not implemented'); }, ssrName: 'separateAudioTo', type: 'string', };