|
|
|
@ -6,6 +6,7 @@ import {
|
|
|
|
} from '../../../../FlowHelpers/1.0.0/interfaces/interfaces';
|
|
|
|
} from '../../../../FlowHelpers/1.0.0/interfaces/interfaces';
|
|
|
|
import { CLI } from '../../../../FlowHelpers/1.0.0/cliUtils';
|
|
|
|
import { CLI } from '../../../../FlowHelpers/1.0.0/cliUtils';
|
|
|
|
import { getFileName, getPluginWorkDir } from '../../../../FlowHelpers/1.0.0/fileUtils';
|
|
|
|
import { getFileName, getPluginWorkDir } from '../../../../FlowHelpers/1.0.0/fileUtils';
|
|
|
|
|
|
|
|
import { checkFfmpegCommandInit } from '../../../../FlowHelpers/1.0.0/interfaces/flowUtils';
|
|
|
|
|
|
|
|
|
|
|
|
/* eslint no-plusplus: ["error", { "allowForLoopAfterthoughts": true }] */
|
|
|
|
/* eslint no-plusplus: ["error", { "allowForLoopAfterthoughts": true }] */
|
|
|
|
const details = (): IpluginDetails => ({
|
|
|
|
const details = (): IpluginDetails => ({
|
|
|
|
@ -68,6 +69,8 @@ const plugin = async (args: IpluginInputArgs): Promise<IpluginOutputArgs> => {
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars,no-param-reassign
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars,no-param-reassign
|
|
|
|
args.inputs = lib.loadDefaultValues(args.inputs, details);
|
|
|
|
args.inputs = lib.loadDefaultValues(args.inputs, details);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
checkFfmpegCommandInit(args);
|
|
|
|
|
|
|
|
|
|
|
|
const cliArgs: string[] = [];
|
|
|
|
const cliArgs: string[] = [];
|
|
|
|
|
|
|
|
|
|
|
|
cliArgs.push('-y');
|
|
|
|
cliArgs.push('-y');
|
|
|
|
|