Update flows

This commit is contained in:
HaveAGitGat 2023-08-26 17:53:07 +01:00
parent 658857fdf4
commit 25c4fab8d9
73 changed files with 4295 additions and 839 deletions

View file

@ -1,198 +1,130 @@
"use strict";
var details = function () { return ({
name: 'Basic Video Template',
description: 'Basic Video Template',
name: 'Basic HEVC Video Flow',
description: 'Flow description',
tags: 'video',
flowPlugins: [
{
id: 'nr55HwObs',
version: '1.0.0',
name: 'Input File',
sourceRepo: 'Community',
pluginName: 'inputFile',
inputsDB: {},
version: '1.0.0',
id: 'pE6rU7gkW',
position: {
x: 371.99540048613267,
y: -463.08388975391864,
x: 758.5809635618224,
y: 117.19206188888086,
},
data: {
label: 'Input File',
},
sourceRepo: 'Community',
},
{
id: 'aDDcNO50Q',
version: '1.0.0',
pluginName: 'checkFileMedium',
inputsDB: {},
position: {
x: 529.392455443893,
y: -349.448086326927,
},
data: {
label: 'Check File Medium',
},
name: 'Check if hevc',
sourceRepo: 'Community',
},
{
id: 'dBwjiWjfA',
version: '1.0.0',
pluginName: 'replaceOriginalFile',
inputsDB: {},
position: {
x: 517.8566785616271,
y: 145.89446592709146,
},
data: {
label: 'Replace Original File',
},
sourceRepo: 'Community',
},
{
id: '1m231hS5K',
version: '1.0.0',
pluginName: 'ffmpegCommandSetVideoEncoder',
inputsDB: {},
position: {
x: 104.71582826971436,
y: -44.833187887976514,
},
data: {
label: 'Set Video Encoder',
},
sourceRepo: 'Community',
},
{
id: 'iYEwAG4rk',
version: '1.0.0',
pluginName: 'ffmpegCommandStart',
inputsDB: {},
position: {
x: 138.43458422405857,
y: -149.36438875566702,
},
data: {
label: 'Start',
},
sourceRepo: 'Community',
},
{
id: 'staFGJ7lQ',
version: '1.0.0',
pluginName: 'ffmpegCommandExecute',
inputsDB: {},
position: {
x: 104.4813203353468,
y: 63.43024405079595,
},
data: {
label: 'Execute',
},
sourceRepo: 'Community',
},
{
id: '3sQBco3U6',
version: '1.0.0',
pluginName: 'checkVideoCodec',
inputsDB: {},
version: '1.0.0',
id: '91b7IrsEc',
position: {
x: 252.92777615144564,
y: -274.3710285987198,
},
data: {
label: 'Check if HEVC',
x: 672.4549563302081,
y: 253.11148102973914,
},
},
{
name: 'Start',
sourceRepo: 'Community',
pluginName: 'ffmpegCommandStart',
version: '1.0.0',
id: '4Swd6qzvc',
position: {
x: 499.4549563302081,
y: 367.1114810297392,
},
},
{
name: 'Execute',
sourceRepo: 'Community',
pluginName: 'ffmpegCommandExecute',
version: '1.0.0',
id: '450g167D8',
position: {
x: 496.4549563302081,
y: 653.1114810297393,
},
},
{
name: 'Set Video Encoder',
sourceRepo: 'Community',
pluginName: 'ffmpegCommandSetVideoEncoder',
version: '1.0.0',
id: '8B_6pRd_U',
position: {
x: 498.4549563302081,
y: 527.1114810297393,
},
},
{
name: 'Replace Original File',
sourceRepo: 'Community',
pluginName: 'replaceOriginalFile',
version: '1.0.0',
id: '4fkfOyR3l',
position: {
x: 820.4549563302082,
y: 742.2114810297393,
},
},
],
flowEdges: [
{
source: 'nr55HwObs',
source: 'pE6rU7gkW',
sourceHandle: '1',
target: 'aDDcNO50Q',
target: '91b7IrsEc',
targetHandle: null,
id: 'HhF4rw2DZ',
animated: true,
type: 'smoothstep',
id: 'reactflow__edge-nr55HwObs1-aDDcNO50Q',
},
{
source: 'aDDcNO50Q',
sourceHandle: '3',
target: 'dBwjiWjfA',
targetHandle: null,
animated: true,
type: 'smoothstep',
id: 'reactflow__edge-aDDcNO50Q3-dBwjiWjfA',
},
{
source: 'aDDcNO50Q',
source: '91b7IrsEc',
sourceHandle: '2',
target: 'dBwjiWjfA',
target: '4Swd6qzvc',
targetHandle: null,
id: 'jJizyFUcr',
animated: true,
type: 'smoothstep',
id: 'reactflow__edge-aDDcNO50Q2-dBwjiWjfA',
},
{
source: 'iYEwAG4rk',
source: '4Swd6qzvc',
sourceHandle: '1',
target: '1m231hS5K',
target: '8B_6pRd_U',
targetHandle: null,
id: '3Df7Xoy93',
animated: true,
type: 'smoothstep',
id: 'reactflow__edge-iYEwAG4rk1-1m231hS5K',
},
{
source: '1m231hS5K',
source: '8B_6pRd_U',
sourceHandle: '1',
target: 'staFGJ7lQ',
target: '450g167D8',
targetHandle: null,
id: 'BQerEKase',
animated: true,
type: 'smoothstep',
id: 'reactflow__edge-1m231hS5K1-staFGJ7lQ',
},
{
source: 'staFGJ7lQ',
sourceHandle: '2',
target: 'dBwjiWjfA',
targetHandle: null,
animated: true,
type: 'smoothstep',
id: 'reactflow__edge-staFGJ7lQ2-dBwjiWjfA',
},
{
source: 'staFGJ7lQ',
source: '450g167D8',
sourceHandle: '1',
target: 'dBwjiWjfA',
target: '4fkfOyR3l',
targetHandle: null,
id: 'rE5Dsh9KM',
animated: true,
type: 'smoothstep',
id: 'reactflow__edge-staFGJ7lQ1-dBwjiWjfA',
},
{
source: 'aDDcNO50Q',
source: '91b7IrsEc',
sourceHandle: '1',
target: '3sQBco3U6',
target: '4fkfOyR3l',
targetHandle: null,
id: 'W2nVG7ts5',
animated: true,
type: 'smoothstep',
id: 'reactflow__edge-aDDcNO50Q1-3sQBco3U6',
},
{
source: '3sQBco3U6',
sourceHandle: '1',
target: 'dBwjiWjfA',
targetHandle: null,
animated: true,
type: 'smoothstep',
id: 'reactflow__edge-3sQBco3U61-dBwjiWjfA',
},
{
source: '3sQBco3U6',
sourceHandle: '2',
target: 'iYEwAG4rk',
targetHandle: null,
animated: true,
type: 'smoothstep',
id: 'reactflow__edge-3sQBco3U62-iYEwAG4rk',
},
],
}); };