You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
405 lines
8.7 KiB
405 lines
8.7 KiB
/* eslint-disable no-template-curly-in-string */
|
|
/* eslint-disable import/prefer-default-export */
|
|
|
|
import { IflowTemplate } from '../../FlowHelpers/1.0.0/interfaces/interfaces';
|
|
|
|
const details = () :IflowTemplate => ({
|
|
name: 'Create Low Resolution Video Copies',
|
|
description: 'Create Low Resolution Video Copies',
|
|
tags: 'video',
|
|
flowPlugins: [
|
|
{
|
|
name: 'Input File',
|
|
sourceRepo: 'Community',
|
|
pluginName: 'inputFile',
|
|
version: '1.0.0',
|
|
id: 'pE6rU7gkW',
|
|
position: {
|
|
x: 764.3859715446088,
|
|
y: 54.59674430707997,
|
|
},
|
|
},
|
|
{
|
|
name: 'Check File Exists _480p',
|
|
sourceRepo: 'Community',
|
|
pluginName: 'checkFileExists',
|
|
version: '1.0.0',
|
|
inputsDB: {
|
|
fileToCheck: '${fileName}_480p.${container}',
|
|
},
|
|
id: 'VyNRD3YjM',
|
|
position: {
|
|
x: 1127.8807371830678,
|
|
y: -1.4370146635981769,
|
|
},
|
|
},
|
|
{
|
|
name: 'Rename File _480p',
|
|
sourceRepo: 'Community',
|
|
pluginName: 'renameFile',
|
|
version: '1.0.0',
|
|
inputsDB: {
|
|
fileRename: '${fileName}_480p.${container}',
|
|
},
|
|
id: 'VpCD-7LZJ',
|
|
position: {
|
|
x: 1398.163993949301,
|
|
y: 562.3533349776774,
|
|
},
|
|
},
|
|
{
|
|
name: 'Replace Original File',
|
|
sourceRepo: 'Community',
|
|
pluginName: 'replaceOriginalFile',
|
|
version: '1.0.0',
|
|
id: '1pj9oSg5G',
|
|
position: {
|
|
x: 736.3406162570204,
|
|
y: 598.8673432638388,
|
|
},
|
|
},
|
|
{
|
|
name: 'Check File Exists _720p',
|
|
sourceRepo: 'Community',
|
|
pluginName: 'checkFileExists',
|
|
version: '1.0.0',
|
|
inputsDB: {
|
|
fileToCheck: '${fileName}_720p.${container}',
|
|
},
|
|
id: 'uDC6XT1Jy',
|
|
position: {
|
|
x: 1060.0100333142968,
|
|
y: 110.8981370311281,
|
|
},
|
|
},
|
|
{
|
|
name: 'Check File Name Includes',
|
|
sourceRepo: 'Community',
|
|
pluginName: 'checkFileNameIncludes',
|
|
version: '1.0.0',
|
|
id: 'wRipuaq4G',
|
|
position: {
|
|
x: 763.9976994431687,
|
|
y: 198.97576654117708,
|
|
},
|
|
inputsDB: {
|
|
terms: '_720p,_480p',
|
|
},
|
|
},
|
|
{
|
|
name: 'Rename File _720p',
|
|
sourceRepo: 'Community',
|
|
pluginName: 'renameFile',
|
|
version: '1.0.0',
|
|
inputsDB: {
|
|
fileRename: '${fileName}_720p.${container}',
|
|
},
|
|
id: 'cTKbaB8nT',
|
|
position: {
|
|
x: 1087.883110780845,
|
|
y: 509.6274273776863,
|
|
},
|
|
},
|
|
{
|
|
name: 'Move To Original Directory',
|
|
sourceRepo: 'Community',
|
|
pluginName: 'moveToOriginalDirectory',
|
|
version: '1.0.0',
|
|
id: 'mFRK-Z9WC',
|
|
position: {
|
|
x: 1162.0438576735944,
|
|
y: 608.0524996697887,
|
|
},
|
|
},
|
|
{
|
|
name: 'Set Original File',
|
|
sourceRepo: 'Community',
|
|
pluginName: 'setOriginalFile',
|
|
version: '1.0.0',
|
|
id: 'oD4u5PY9T',
|
|
position: {
|
|
x: 1020.6746394849897,
|
|
y: 738.9349550904227,
|
|
},
|
|
},
|
|
{
|
|
name: 'Begin Command',
|
|
sourceRepo: 'Community',
|
|
pluginName: 'ffmpegCommandStart',
|
|
version: '1.0.0',
|
|
id: 'FSG9AOX5c',
|
|
position: {
|
|
x: 1171.2902386661297,
|
|
y: 178.0193821518036,
|
|
},
|
|
},
|
|
{
|
|
name: 'Set Video Encoder',
|
|
sourceRepo: 'Community',
|
|
pluginName: 'ffmpegCommandSetVideoEncoder',
|
|
version: '1.0.0',
|
|
id: 'wcmBN2N02',
|
|
position: {
|
|
x: 1171.0819612214827,
|
|
y: 257.19366435734827,
|
|
},
|
|
inputsDB: {
|
|
forceEncoding: 'true',
|
|
},
|
|
},
|
|
{
|
|
name: 'Execute',
|
|
sourceRepo: 'Community',
|
|
pluginName: 'ffmpegCommandExecute',
|
|
version: '1.0.0',
|
|
id: 'tmUd79-Fb',
|
|
position: {
|
|
x: 1167.5698309351776,
|
|
y: 406.2043896501846,
|
|
},
|
|
},
|
|
{
|
|
name: 'Begin Command',
|
|
sourceRepo: 'Community',
|
|
pluginName: 'ffmpegCommandStart',
|
|
version: '1.0.0',
|
|
id: 'Jn6dcKd3i',
|
|
position: {
|
|
x: 1395.4614497255334,
|
|
y: 111.74717420966138,
|
|
},
|
|
},
|
|
{
|
|
name: 'Execute',
|
|
sourceRepo: 'Community',
|
|
pluginName: 'ffmpegCommandExecute',
|
|
version: '1.0.0',
|
|
id: 'gbY0xIJnB',
|
|
position: {
|
|
x: 1398.0103706416776,
|
|
y: 417.6787803779547,
|
|
},
|
|
},
|
|
{
|
|
name: 'Set Video Resolution 480p',
|
|
sourceRepo: 'Community',
|
|
pluginName: 'ffmpegCommandSetVdeoResolution',
|
|
version: '1.0.0',
|
|
id: 'dzFEwECXB',
|
|
position: {
|
|
x: 1396.1961096759603,
|
|
y: 309.9727302535869,
|
|
},
|
|
inputsDB: {
|
|
targetResolution: '480p',
|
|
},
|
|
},
|
|
{
|
|
name: 'Set Video Encoder',
|
|
sourceRepo: 'Community',
|
|
pluginName: 'ffmpegCommandSetVideoEncoder',
|
|
version: '1.0.0',
|
|
id: '_EynbvgSl',
|
|
position: {
|
|
x: 1396.1961096759603,
|
|
y: 214.35898180146438,
|
|
},
|
|
inputsDB: {
|
|
forceEncoding: 'true',
|
|
},
|
|
},
|
|
{
|
|
name: 'Set Video Resolution 720p',
|
|
sourceRepo: 'Community',
|
|
pluginName: 'ffmpegCommandSetVdeoResolution',
|
|
version: '1.0.0',
|
|
id: 'CMm7MlE7g',
|
|
position: {
|
|
x: 1169.6624226114702,
|
|
y: 336.82482287402803,
|
|
},
|
|
inputsDB: {
|
|
targetResolution: '720p',
|
|
},
|
|
},
|
|
],
|
|
flowEdges: [
|
|
{
|
|
source: 'pE6rU7gkW',
|
|
sourceHandle: '1',
|
|
target: 'wRipuaq4G',
|
|
targetHandle: null,
|
|
id: 'IE_oGhETB',
|
|
animated: true,
|
|
type: 'smoothstep',
|
|
},
|
|
{
|
|
source: 'wRipuaq4G',
|
|
sourceHandle: '1',
|
|
target: '1pj9oSg5G',
|
|
targetHandle: null,
|
|
id: 'QR6uGNUhE',
|
|
animated: true,
|
|
type: 'smoothstep',
|
|
},
|
|
{
|
|
source: 'wRipuaq4G',
|
|
sourceHandle: '2',
|
|
target: 'VyNRD3YjM',
|
|
targetHandle: null,
|
|
id: 'sh_kstv0D',
|
|
animated: true,
|
|
type: 'smoothstep',
|
|
},
|
|
{
|
|
source: 'uDC6XT1Jy',
|
|
sourceHandle: '1',
|
|
target: '1pj9oSg5G',
|
|
targetHandle: null,
|
|
id: 'G5jl85ijr',
|
|
animated: true,
|
|
type: 'smoothstep',
|
|
},
|
|
{
|
|
source: 'VyNRD3YjM',
|
|
sourceHandle: '1',
|
|
target: 'uDC6XT1Jy',
|
|
targetHandle: null,
|
|
id: 'DmUL9DS8q',
|
|
animated: true,
|
|
type: 'smoothstep',
|
|
},
|
|
{
|
|
source: 'VpCD-7LZJ',
|
|
sourceHandle: '1',
|
|
target: 'mFRK-Z9WC',
|
|
targetHandle: null,
|
|
id: 'ap4YXAxy3',
|
|
animated: true,
|
|
type: 'smoothstep',
|
|
},
|
|
{
|
|
source: 'cTKbaB8nT',
|
|
sourceHandle: '1',
|
|
target: 'mFRK-Z9WC',
|
|
targetHandle: null,
|
|
id: 'i9fr5J5pL',
|
|
animated: true,
|
|
type: 'smoothstep',
|
|
},
|
|
{
|
|
source: 'mFRK-Z9WC',
|
|
sourceHandle: '1',
|
|
target: 'oD4u5PY9T',
|
|
targetHandle: null,
|
|
id: 'KUw59S_Zl',
|
|
animated: true,
|
|
type: 'smoothstep',
|
|
},
|
|
{
|
|
source: 'oD4u5PY9T',
|
|
sourceHandle: '1',
|
|
target: 'wRipuaq4G',
|
|
targetHandle: null,
|
|
id: 'HlM4E6eV8',
|
|
animated: true,
|
|
type: 'smoothstep',
|
|
},
|
|
{
|
|
source: 'tmUd79-Fb',
|
|
sourceHandle: '1',
|
|
target: 'cTKbaB8nT',
|
|
targetHandle: null,
|
|
id: 'iJLmmoDLp',
|
|
animated: true,
|
|
type: 'smoothstep',
|
|
selected: false,
|
|
},
|
|
{
|
|
source: 'uDC6XT1Jy',
|
|
sourceHandle: '2',
|
|
target: 'FSG9AOX5c',
|
|
targetHandle: null,
|
|
id: 'iRTrU8utq',
|
|
animated: true,
|
|
type: 'smoothstep',
|
|
},
|
|
{
|
|
source: 'dzFEwECXB',
|
|
sourceHandle: '1',
|
|
target: 'gbY0xIJnB',
|
|
targetHandle: null,
|
|
id: 'A5cyCu_kx',
|
|
animated: true,
|
|
type: 'smoothstep',
|
|
},
|
|
{
|
|
source: 'Jn6dcKd3i',
|
|
sourceHandle: '1',
|
|
target: '_EynbvgSl',
|
|
targetHandle: null,
|
|
id: '1HajidLz-',
|
|
animated: true,
|
|
type: 'smoothstep',
|
|
},
|
|
{
|
|
source: '_EynbvgSl',
|
|
sourceHandle: '1',
|
|
target: 'dzFEwECXB',
|
|
targetHandle: null,
|
|
id: 'vEESYeSsL',
|
|
animated: true,
|
|
type: 'smoothstep',
|
|
},
|
|
{
|
|
source: 'VyNRD3YjM',
|
|
sourceHandle: '2',
|
|
target: 'Jn6dcKd3i',
|
|
targetHandle: null,
|
|
id: 'q8zd_qCSU',
|
|
animated: true,
|
|
type: 'smoothstep',
|
|
},
|
|
{
|
|
source: 'gbY0xIJnB',
|
|
sourceHandle: '1',
|
|
target: 'VpCD-7LZJ',
|
|
targetHandle: null,
|
|
id: 'leYMQdxHw',
|
|
animated: true,
|
|
type: 'smoothstep',
|
|
},
|
|
{
|
|
source: 'FSG9AOX5c',
|
|
sourceHandle: '1',
|
|
target: 'wcmBN2N02',
|
|
targetHandle: null,
|
|
id: 'Dl5MCSqQM',
|
|
animated: true,
|
|
type: 'smoothstep',
|
|
},
|
|
{
|
|
source: 'wcmBN2N02',
|
|
sourceHandle: '1',
|
|
target: 'CMm7MlE7g',
|
|
targetHandle: null,
|
|
id: 'GIpbjomC8',
|
|
animated: true,
|
|
type: 'smoothstep',
|
|
},
|
|
{
|
|
source: 'CMm7MlE7g',
|
|
sourceHandle: '1',
|
|
target: 'tmUd79-Fb',
|
|
targetHandle: null,
|
|
id: 'AxR9R10MY',
|
|
animated: true,
|
|
type: 'smoothstep',
|
|
},
|
|
],
|
|
});
|
|
|
|
export {
|
|
details,
|
|
};
|