{
  "_id": "KeayMCz5Y",
  "name": "CPU and GPU Workers with Classic Plugins",
  "priority": 0,
  "flowPlugins": [
    {
      "name": "Remove Non-English Subtitles",
      "sourceRepo": "Community",
      "pluginName": "runClassicTranscodePlugin",
      "version": "2.0.0",
      "id": "Yzfcv6TiH",
      "position": {
        "x": 750.8906176935868,
        "y": -187.64825008441858
      },
      "fpEnabled": true,
      "inputsDB": {
        "pluginSourceId": "Community:Tdarr_Plugin_MC93_Migz4CleanSubs"
      }
    },
    {
      "name": "Input File",
      "sourceRepo": "Community",
      "pluginName": "inputFile",
      "version": "1.0.0",
      "fpEnabled": true,
      "id": "7a6heYJTK",
      "position": {
        "x": 745.5374429265526,
        "y": -489.16296601060316
      },
      "inputsDB": {
        "fileAccessChecks": "true"
      }
    },
    {
      "name": "Check Flow Variable Worker Type",
      "sourceRepo": "Community",
      "pluginName": "checkFlowVariable",
      "version": "1.0.0",
      "inputsDB": {
        "variable": "{{{args.workerType}}}",
        "value": "transcodecpu"
      },
      "fpEnabled": true,
      "id": "Xmz-M1Kcp",
      "position": {
        "x": 904.0823200805837,
        "y": 320.37825420530805
      }
    },
    {
      "name": "Run Classic Transcode Plugin GPU",
      "sourceRepo": "Community",
      "pluginName": "runClassicTranscodePlugin",
      "version": "1.0.0",
      "fpEnabled": true,
      "id": "eqw2BDcZn",
      "position": {
        "x": 1028.9893158321966,
        "y": 421.071749581479
      },
      "inputsDB": {
        "force_conform": "true",
        "enable_bframes": "false",
        "bitrate_cutoff": "6000"
      }
    },
    {
      "name": "Run Classic Transcode Plugin CPU",
      "sourceRepo": "Community",
      "pluginName": "runClassicTranscodePlugin",
      "version": "1.0.0",
      "inputsDB": {
        "pluginSourceId": "Community:Tdarr_Plugin_MC93_Migz1FFMPEG_CPU"
      },
      "fpEnabled": true,
      "id": "UINSF-Jto",
      "position": {
        "x": 838.6820192796439,
        "y": 419.44165493200865
      }
    },
    {
      "name": "Replace Original File",
      "sourceRepo": "Community",
      "pluginName": "replaceOriginalFile",
      "version": "1.0.0",
      "fpEnabled": true,
      "id": "lxwMPh0uu",
      "position": {
        "x": 726.7132049347772,
        "y": 787.1670408035121
      }
    },
    {
      "name": "Check Video Codec",
      "sourceRepo": "Community",
      "pluginName": "checkVideoCodec",
      "version": "1.0.0",
      "fpEnabled": true,
      "id": "proNYXeri",
      "position": {
        "x": 754.4955267329173,
        "y": 248.17934236657024
      }
    },
    {
      "name": "Check if the worker is CPU or GPU",
      "sourceRepo": "Community",
      "pluginName": "comment",
      "version": "1.0.0",
      "fpEnabled": true,
      "id": "AKPe0A7V8",
      "position": {
        "x": 999.1627250319154,
        "y": 272.44570924713975
      }
    },
    {
      "name": "Reorder Streams",
      "sourceRepo": "Community",
      "pluginName": "ffmpegCommandRorderStreams",
      "version": "1.0.0",
      "id": "9Iq-auikp",
      "position": {
        "x": 751.1034972407653,
        "y": -19.019617753479935
      },
      "fpEnabled": true,
      "inputsDB": {
        "languages": "en,eng"
      }
    },
    {
      "name": "Require Mapped Node",
      "sourceRepo": "Community",
      "pluginName": "tagsWorkerType",
      "version": "1.0.0",
      "id": "f5zaCdKhe",
      "position": {
        "x": 607.9938257022797,
        "y": 676.6087241705217
      },
      "fpEnabled": true,
      "inputsDB": {
        "requiredNodeTags": "mapped"
      }
    },
    {
      "name": "Remove Images",
      "sourceRepo": "Community",
      "pluginName": "runClassicTranscodePlugin",
      "version": "2.0.0",
      "id": "LZDmWviXF",
      "position": {
        "x": 752.6675202666282,
        "y": 142.72601165821703
      },
      "fpEnabled": true,
      "inputsDB": {
        "pluginSourceId": "Community:Tdarr_Plugin_MC93_MigzImageRemoval"
      }
    },
    {
      "name": "Compare File Size Ratio",
      "sourceRepo": "Community",
      "pluginName": "compareFileSizeRatio",
      "version": "2.0.0",
      "id": "15DNvyWnF",
      "position": {
        "x": 729.7210215710763,
        "y": 562.8112582270492
      },
      "fpEnabled": true,
      "inputsDB": {
        "greaterThan": "20"
      }
    },
    {
      "name": "Remove Non-English Audio",
      "sourceRepo": "Community",
      "pluginName": "runClassicTranscodePlugin",
      "version": "2.0.0",
      "id": "dXiIBVBoj",
      "position": {
        "x": 754.0056076383194,
        "y": -288.45389264024993
      },
      "fpEnabled": true,
      "inputsDB": {
        "pluginSourceId": "Community:Tdarr_Plugin_MC93_Migz3CleanAudio"
      }
    },
    {
      "name": "Compare File Size",
      "sourceRepo": "Community",
      "pluginName": "compareFileSize",
      "version": "1.0.0",
      "id": "XY1JhuLyU",
      "position": {
        "x": 617.9692774671244,
        "y": 434.7074449837517
      },
      "fpEnabled": true
    },
    {
      "name": "Copy to Working Directory",
      "sourceRepo": "Community",
      "pluginName": "copyToWorkDirectory",
      "version": "1.0.0",
      "id": "UGjyFWBfl",
      "position": {
        "x": 755.0988936143565,
        "y": -351.81305110926854
      },
      "fpEnabled": true
    },
    {
      "name": "Begin Command",
      "sourceRepo": "Community",
      "pluginName": "ffmpegCommandStart",
      "version": "1.0.0",
      "id": "l70qMgwzn",
      "position": {
        "x": 751.9252159058733,
        "y": -95.35245695187736
      },
      "fpEnabled": true
    },
    {
      "name": "Execute",
      "sourceRepo": "Community",
      "pluginName": "ffmpegCommandExecute",
      "version": "1.0.0",
      "id": "ui3TYZWDg",
      "position": {
        "x": 752.856251586643,
        "y": 66.97227770409543
      },
      "fpEnabled": true
    },
    {
      "name": "Require GPU Worker",
      "sourceRepo": "Community",
      "pluginName": "tagsWorkerType",
      "version": "1.0.0",
      "id": "fAbSQFbBA",
      "position": {
        "x": 748.7108813599555,
        "y": -405.8573829542489
      },
      "fpEnabled": true,
      "inputsDB": {
        "requiredWorkerType": "GPU"
      }
    },
    {
      "name": "Keep Original File",
      "sourceRepo": "Community",
      "pluginName": "setOriginalFile",
      "version": "1.0.0",
      "id": "8c39N8_x4",
      "position": {
        "x": 808.1236180203158,
        "y": 680.9230520520086
      },
      "fpEnabled": true
    },
    {
      "name": "Delete File",
      "sourceRepo": "Community",
      "pluginName": "deleteFile",
      "version": "1.0.0",
      "id": "WTr9uUZZT",
      "position": {
        "x": 938.9366947848891,
        "y": 608.294687256061
      },
      "fpEnabled": true
    }
  ],
  "flowEdges": [
    {
      "source": "Xmz-M1Kcp",
      "sourceHandle": "1",
      "target": "UINSF-Jto",
      "targetHandle": null,
      "id": "uidvJfV-Y",
      "animated": true,
      "type": "smoothstep"
    },
    {
      "source": "Xmz-M1Kcp",
      "sourceHandle": "2",
      "target": "eqw2BDcZn",
      "targetHandle": null,
      "id": "NJYk1xAp8",
      "animated": true,
      "type": "smoothstep"
    },
    {
      "source": "proNYXeri",
      "sourceHandle": "2",
      "target": "Xmz-M1Kcp",
      "targetHandle": null,
      "id": "SLQVwGIPH",
      "animated": true,
      "type": "smoothstep"
    },
    {
      "source": "LZDmWviXF",
      "sourceHandle": "1",
      "target": "proNYXeri",
      "targetHandle": null,
      "id": "J-F6uII1U",
      "animated": true,
      "type": "smoothstep"
    },
    {
      "source": "LZDmWviXF",
      "sourceHandle": "2",
      "target": "proNYXeri",
      "targetHandle": null,
      "id": "_XSYGaZhR",
      "animated": true,
      "type": "smoothstep"
    },
    {
      "source": "f5zaCdKhe",
      "sourceHandle": "err1",
      "target": "3CfIQ9tB3",
      "targetHandle": null,
      "id": "SCJAwRlBW",
      "animated": true,
      "type": "smoothstep"
    },
    {
      "source": "lxwMPh0uu",
      "sourceHandle": "1",
      "target": "tKE24kDQI",
      "targetHandle": null,
      "id": "1rkHUq_uL",
      "animated": true,
      "type": "smoothstep"
    },
    {
      "source": "proNYXeri",
      "sourceHandle": "1",
      "target": "XY1JhuLyU",
      "targetHandle": null,
      "id": "fCYvdisqJ",
      "animated": true,
      "type": "smoothstep"
    },
    {
      "source": "UINSF-Jto",
      "sourceHandle": "1",
      "target": "15DNvyWnF",
      "targetHandle": null,
      "id": "afIgypYka",
      "animated": true,
      "type": "smoothstep"
    },
    {
      "source": "eqw2BDcZn",
      "sourceHandle": "1",
      "target": "15DNvyWnF",
      "targetHandle": null,
      "id": "XcXRQcM3e",
      "animated": true,
      "type": "smoothstep"
    },
    {
      "source": "f5zaCdKhe",
      "sourceHandle": "1",
      "target": "lxwMPh0uu",
      "targetHandle": null,
      "id": "duPtKVO-h",
      "animated": true,
      "type": "smoothstep"
    },
    {
      "source": "15DNvyWnF",
      "sourceHandle": "1",
      "target": "f5zaCdKhe",
      "targetHandle": null,
      "id": "56GKZLXKO",
      "animated": true,
      "type": "smoothstep"
    },
    {
      "source": "XY1JhuLyU",
      "sourceHandle": "1",
      "target": "15DNvyWnF",
      "targetHandle": null,
      "id": "D2oKufp5j",
      "animated": true,
      "type": "smoothstep"
    },
    {
      "source": "XY1JhuLyU",
      "sourceHandle": "3",
      "target": "15DNvyWnF",
      "targetHandle": null,
      "id": "y_Vz0XYft",
      "animated": true,
      "type": "smoothstep"
    },
    {
      "source": "l70qMgwzn",
      "sourceHandle": "1",
      "target": "9Iq-auikp",
      "targetHandle": null,
      "id": "raNKwDgd9",
      "animated": true,
      "type": "smoothstep"
    },
    {
      "source": "9Iq-auikp",
      "sourceHandle": "err1",
      "target": "LOjmHf_C-",
      "targetHandle": null,
      "id": "6-L10CXBz",
      "animated": true,
      "type": "smoothstep"
    },
    {
      "source": "dXiIBVBoj",
      "sourceHandle": "err1",
      "target": "LOjmHf_C-",
      "targetHandle": null,
      "id": "pnzePCmS5",
      "animated": true,
      "type": "smoothstep"
    },
    {
      "source": "LZDmWviXF",
      "sourceHandle": "err1",
      "target": "LOjmHf_C-",
      "targetHandle": null,
      "id": "t5-OEwnQF",
      "animated": true,
      "type": "smoothstep"
    },
    {
      "source": "proNYXeri",
      "sourceHandle": "err1",
      "target": "LOjmHf_C-",
      "targetHandle": null,
      "id": "1DvJyGuxP",
      "animated": true,
      "type": "smoothstep"
    },
    {
      "source": "Xmz-M1Kcp",
      "sourceHandle": "err1",
      "target": "LOjmHf_C-",
      "targetHandle": null,
      "id": "NVvcdTcno",
      "animated": true,
      "type": "smoothstep"
    },
    {
      "source": "UINSF-Jto",
      "sourceHandle": "err1",
      "target": "LOjmHf_C-",
      "targetHandle": null,
      "id": "gnEvaS5cL",
      "animated": true,
      "type": "smoothstep"
    },
    {
      "source": "eqw2BDcZn",
      "sourceHandle": "err1",
      "target": "LOjmHf_C-",
      "targetHandle": null,
      "id": "4TD-LzzVI",
      "animated": true,
      "type": "smoothstep"
    },
    {
      "source": "XY1JhuLyU",
      "sourceHandle": "err1",
      "target": "LOjmHf_C-",
      "targetHandle": null,
      "id": "LDCyY8NfE",
      "animated": true,
      "type": "smoothstep"
    },
    {
      "source": "9Iq-auikp",
      "sourceHandle": "1",
      "target": "ui3TYZWDg",
      "targetHandle": null,
      "id": "--7zhcAip",
      "animated": true,
      "type": "smoothstep"
    },
    {
      "source": "7a6heYJTK",
      "sourceHandle": "1",
      "target": "fAbSQFbBA",
      "targetHandle": null,
      "id": "GNSnDA1Sv",
      "animated": true,
      "type": "smoothstep"
    },
    {
      "source": "7a6heYJTK",
      "sourceHandle": "err1",
      "target": "fAbSQFbBA",
      "targetHandle": null,
      "id": "geaVXXDGc",
      "animated": true,
      "type": "smoothstep"
    },
    {
      "source": "fAbSQFbBA",
      "sourceHandle": "1",
      "target": "UGjyFWBfl",
      "targetHandle": null,
      "id": "ZOWjXSfzj",
      "animated": true,
      "type": "smoothstep"
    },
    {
      "source": "8c39N8_x4",
      "sourceHandle": "1",
      "target": "lxwMPh0uu",
      "targetHandle": null,
      "id": "XG_r2OqQU",
      "animated": true,
      "type": "smoothstep"
    },
    {
      "source": "15DNvyWnF",
      "sourceHandle": "2",
      "target": "WTr9uUZZT",
      "targetHandle": null,
      "id": "VukAoBuEc",
      "animated": true,
      "type": "smoothstep"
    },
    {
      "source": "15DNvyWnF",
      "sourceHandle": "3",
      "target": "WTr9uUZZT",
      "targetHandle": null,
      "id": "foC7vo2HL",
      "animated": true,
      "type": "smoothstep"
    },
    {
      "source": "WTr9uUZZT",
      "sourceHandle": "1",
      "target": "8c39N8_x4",
      "targetHandle": null,
      "id": "Se1DbI6Su",
      "animated": true,
      "type": "smoothstep"
    },
    {
      "source": "15DNvyWnF",
      "sourceHandle": "err1",
      "target": "WTr9uUZZT",
      "targetHandle": null,
      "id": "K5OVJD4LE",
      "animated": true,
      "type": "smoothstep"
    },
    {
      "source": "XY1JhuLyU",
      "sourceHandle": "2",
      "target": "WTr9uUZZT",
      "targetHandle": null,
      "id": "4KO87eUCC",
      "animated": true,
      "type": "smoothstep"
    },
    {
      "source": "UGjyFWBfl",
      "sourceHandle": "1",
      "target": "dXiIBVBoj",
      "targetHandle": null,
      "id": "hyC9IIzXG",
      "animated": true,
      "type": "smoothstep"
    },
    {
      "source": "ui3TYZWDg",
      "sourceHandle": "1",
      "target": "LZDmWviXF",
      "targetHandle": null,
      "id": "_8zjkKXFG",
      "animated": true,
      "type": "smoothstep"
    },
    {
      "source": "dXiIBVBoj",
      "sourceHandle": "1",
      "target": "Yzfcv6TiH",
      "targetHandle": null,
      "id": "pn4_6ZpQX",
      "animated": true,
      "type": "smoothstep"
    },
    {
      "source": "dXiIBVBoj",
      "sourceHandle": "2",
      "target": "Yzfcv6TiH",
      "targetHandle": null,
      "id": "N5n80WXqb",
      "animated": true,
      "type": "smoothstep"
    },
    {
      "source": "Yzfcv6TiH",
      "sourceHandle": "1",
      "target": "l70qMgwzn",
      "targetHandle": null,
      "id": "4Ug0azYg9",
      "animated": true,
      "type": "smoothstep"
    },
    {
      "source": "Yzfcv6TiH",
      "sourceHandle": "2",
      "target": "l70qMgwzn",
      "targetHandle": null,
      "id": "M2jFArhx4",
      "animated": true,
      "type": "smoothstep"
    }
  ],
  "isUiLocked": false
}
