Created
April 1, 2025 01:52
-
-
Save tyzbit/b3596f41b2a3be0a4571dcba2bcebf69 to your computer and use it in GitHub Desktop.
any -> x265 Tdarr Flow
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"_id": "68lTwTyjv", | |
"name": "Transcode to HEVC to Save Space", | |
"description": "Transcode to HEVC to Save Space", | |
"tags": "", | |
"flowPlugins": [ | |
{ | |
"name": "This isn't a TV show", | |
"sourceRepo": "Community", | |
"pluginName": "setFlowVariable", | |
"version": "1.0.0", | |
"id": "dMAFT2bNO", | |
"position": { | |
"x": 823.5935454227534, | |
"y": -180.0086358948035 | |
}, | |
"inputsDB": { | |
"variable": "tvshow", | |
"value": "1" | |
}, | |
"fpEnabled": true | |
}, | |
{ | |
"name": "HEVC, QP18", | |
"sourceRepo": "Community", | |
"pluginName": "ffmpegCommandSetVideoEncoder", | |
"version": "1.0.0", | |
"id": "ZNz0T_pM3", | |
"position": { | |
"x": 928.986252282182, | |
"y": 117.51320475119027 | |
}, | |
"inputsDB": { | |
"ffmpegQuality": "18", | |
"forceEncoding": "false", | |
"hardwareType": "vaapi", | |
"ffmpegPreset": "fast" | |
}, | |
"fpEnabled": true | |
}, | |
{ | |
"name": "HEVC, QP20", | |
"sourceRepo": "Community", | |
"pluginName": "ffmpegCommandSetVideoEncoder", | |
"version": "1.0.0", | |
"id": "780-2s5eb", | |
"position": { | |
"x": 763.627316078257, | |
"y": 116.97090508046398 | |
}, | |
"inputsDB": { | |
"ffmpegQuality": "20", | |
"forceEncoding": "false", | |
"hardwareType": "vaapi", | |
"ffmpegPreset": "fast" | |
}, | |
"fpEnabled": true | |
}, | |
{ | |
"name": "HEVC, QP22", | |
"sourceRepo": "Community", | |
"pluginName": "ffmpegCommandSetVideoEncoder", | |
"version": "1.0.0", | |
"id": "2bZ8rp4Qn", | |
"position": { | |
"x": 601.113740697836, | |
"y": 117.97063202780603 | |
}, | |
"inputsDB": { | |
"ffmpegQuality": "22", | |
"forceEncoding": "false", | |
"hardwareType": "vaapi", | |
"ffmpegPreset": "fast" | |
}, | |
"fpEnabled": true | |
}, | |
{ | |
"name": "Input File", | |
"sourceRepo": "Community", | |
"pluginName": "inputFile", | |
"version": "1.0.0", | |
"id": "pE6rU7gkW", | |
"position": { | |
"x": 207.35503279398225, | |
"y": -189.0493484175907 | |
}, | |
"inputsDB": { | |
"fileAccessChecks": "true", | |
"pauseNodeIfAccessChecksFail": "true" | |
}, | |
"fpEnabled": true | |
}, | |
{ | |
"name": "Check if hevc", | |
"sourceRepo": "Community", | |
"pluginName": "checkVideoCodec", | |
"version": "1.0.0", | |
"id": "91b7IrsEc", | |
"position": { | |
"x": 207.5581426313281, | |
"y": -31.48460603903218 | |
}, | |
"fpEnabled": true | |
}, | |
{ | |
"name": "Start building", | |
"sourceRepo": "Community", | |
"pluginName": "ffmpegCommandStart", | |
"version": "1.0.0", | |
"id": "4Swd6qzvc", | |
"position": { | |
"x": 428.5100396718102, | |
"y": -84.30542032077368 | |
}, | |
"fpEnabled": true | |
}, | |
{ | |
"name": "Execute", | |
"sourceRepo": "Community", | |
"pluginName": "ffmpegCommandExecute", | |
"version": "1.0.0", | |
"id": "450g167D8", | |
"position": { | |
"x": 428.3387293448336, | |
"y": 160.23942620614406 | |
}, | |
"fpEnabled": true | |
}, | |
{ | |
"name": "Replace Original File", | |
"sourceRepo": "Community", | |
"pluginName": "replaceOriginalFile", | |
"version": "1.0.0", | |
"id": "4fkfOyR3l", | |
"position": { | |
"x": 153.91487026542927, | |
"y": 231.83453627034152 | |
}, | |
"fpEnabled": true | |
}, | |
{ | |
"name": "Set Container", | |
"sourceRepo": "Community", | |
"pluginName": "ffmpegCommandSetContainer", | |
"version": "1.0.0", | |
"id": "TtKXi3Q7h", | |
"position": { | |
"x": 600.5624051829188, | |
"y": 226.19948686220903 | |
}, | |
"fpEnabled": true | |
}, | |
{ | |
"name": "Require Review", | |
"sourceRepo": "Community", | |
"pluginName": "requireReview", | |
"version": "1.0.0", | |
"id": "2Zhrm_W7S", | |
"position": { | |
"x": 261.61555928610653, | |
"y": 160.54904573053165 | |
}, | |
"fpEnabled": true | |
}, | |
{ | |
"name": "Not HEVC", | |
"sourceRepo": "Community", | |
"pluginName": "comment", | |
"version": "1.0.0", | |
"id": "QrbJGy1WR", | |
"position": { | |
"x": 262.27961853435175, | |
"y": 83.6486933562159 | |
}, | |
"fpEnabled": true | |
}, | |
{ | |
"name": "Already HEVC", | |
"sourceRepo": "Community", | |
"pluginName": "comment", | |
"version": "1.0.0", | |
"id": "pnwu9K5uJ", | |
"position": { | |
"x": 153.6875798879577, | |
"y": 47.91213300598767 | |
}, | |
"fpEnabled": true | |
}, | |
{ | |
"name": "Starting transcode", | |
"sourceRepo": "Community", | |
"pluginName": "comment", | |
"version": "1.0.0", | |
"id": "9k3Ug0rLi", | |
"position": { | |
"x": 428.16474286454775, | |
"y": 39.40620299078893 | |
}, | |
"fpEnabled": true | |
}, | |
{ | |
"name": "Is this a TV show (path check)?", | |
"sourceRepo": "Community", | |
"pluginName": "checkFileNameIncludes", | |
"version": "2.0.0", | |
"id": "1v_gEs_Zd", | |
"position": { | |
"x": 625.6143406147264, | |
"y": -84.22831038758353 | |
}, | |
"inputsDB": { | |
"terms": "tv shows", | |
"includeFileDirectory": "true" | |
}, | |
"fpEnabled": true | |
}, | |
{ | |
"name": "This is a TV show", | |
"sourceRepo": "Community", | |
"pluginName": "setFlowVariable", | |
"version": "1.0.0", | |
"id": "wfiCxFDN_", | |
"position": { | |
"x": 601.21133630863, | |
"y": 17.55458280886677 | |
}, | |
"inputsDB": { | |
"variable": "tvshow", | |
"value": "1" | |
}, | |
"fpEnabled": true | |
}, | |
{ | |
"name": "Check Video Resolution", | |
"sourceRepo": "Community", | |
"pluginName": "checkVideoResolution", | |
"version": "1.0.0", | |
"id": "HHU1r30RH", | |
"position": { | |
"x": 823.9241098565268, | |
"y": -85.00342147158315 | |
}, | |
"fpEnabled": true | |
}, | |
{ | |
"name": "1080p or lower", | |
"sourceRepo": "Community", | |
"pluginName": "comment", | |
"version": "1.0.0", | |
"id": "ZM5b7CHOT", | |
"position": { | |
"x": 763.3770598881642, | |
"y": 21.808431535646307 | |
}, | |
"fpEnabled": true | |
}, | |
{ | |
"name": "Greater than 1080p", | |
"sourceRepo": "Community", | |
"pluginName": "comment", | |
"version": "1.0.0", | |
"id": "KbEn2Z4Tv", | |
"position": { | |
"x": 929.0460268739716, | |
"y": 21.459815258435 | |
}, | |
"fpEnabled": true | |
}, | |
{ | |
"name": "Abort transcode early if >100% original", | |
"sourceRepo": "Community", | |
"pluginName": "compareFileSizeRatioLive", | |
"version": "1.0.0", | |
"id": "xgjnlQ2gy", | |
"position": { | |
"x": 207.4575944268401, | |
"y": -114.84083889610417 | |
}, | |
"inputsDB": { | |
"thresholdPerc": "100" | |
}, | |
"fpEnabled": true | |
} | |
], | |
"flowEdges": [ | |
{ | |
"source": "2Zhrm_W7S", | |
"sourceHandle": "1", | |
"target": "4fkfOyR3l", | |
"targetHandle": null, | |
"id": "t1BHGrMCq" | |
}, | |
{ | |
"source": "780-2s5eb", | |
"sourceHandle": "1", | |
"target": "TtKXi3Q7h", | |
"targetHandle": null, | |
"id": "7rpIXqfYU" | |
}, | |
{ | |
"source": "2bZ8rp4Qn", | |
"sourceHandle": "1", | |
"target": "TtKXi3Q7h", | |
"targetHandle": null, | |
"id": "rdGI3FdaL" | |
}, | |
{ | |
"source": "91b7IrsEc", | |
"sourceHandle": "2", | |
"target": "QrbJGy1WR", | |
"targetHandle": null, | |
"id": "kp_GOVEQM" | |
}, | |
{ | |
"source": "QrbJGy1WR", | |
"sourceHandle": "1", | |
"target": "4Swd6qzvc", | |
"targetHandle": null, | |
"id": "V00eR52jw" | |
}, | |
{ | |
"source": "91b7IrsEc", | |
"sourceHandle": "1", | |
"target": "pnwu9K5uJ", | |
"targetHandle": null, | |
"id": "ZwMC3RxiF" | |
}, | |
{ | |
"source": "pnwu9K5uJ", | |
"sourceHandle": "1", | |
"target": "4fkfOyR3l", | |
"targetHandle": null, | |
"id": "uIYQEha9t" | |
}, | |
{ | |
"source": "9k3Ug0rLi", | |
"sourceHandle": "1", | |
"target": "450g167D8", | |
"targetHandle": null, | |
"id": "-9KoJgf-s" | |
}, | |
{ | |
"source": "ZNz0T_pM3", | |
"sourceHandle": "1", | |
"target": "TtKXi3Q7h", | |
"targetHandle": null, | |
"id": "VdY8Q5tIq" | |
}, | |
{ | |
"source": "1v_gEs_Zd", | |
"sourceHandle": "1", | |
"target": "wfiCxFDN_", | |
"targetHandle": null, | |
"id": "Kk8SLC3hK" | |
}, | |
{ | |
"source": "1v_gEs_Zd", | |
"sourceHandle": "2", | |
"target": "dMAFT2bNO", | |
"targetHandle": null, | |
"id": "YXdVRoM2q" | |
}, | |
{ | |
"source": "HHU1r30RH", | |
"sourceHandle": "1", | |
"target": "ZM5b7CHOT", | |
"targetHandle": null, | |
"id": "BjQWBtZQ_" | |
}, | |
{ | |
"source": "HHU1r30RH", | |
"sourceHandle": "2", | |
"target": "ZM5b7CHOT", | |
"targetHandle": null, | |
"id": "EeugFlFgz" | |
}, | |
{ | |
"source": "HHU1r30RH", | |
"sourceHandle": "3", | |
"target": "ZM5b7CHOT", | |
"targetHandle": null, | |
"id": "ajQH3fnuV" | |
}, | |
{ | |
"source": "HHU1r30RH", | |
"sourceHandle": "4", | |
"target": "ZM5b7CHOT", | |
"targetHandle": null, | |
"id": "24ckcefFP" | |
}, | |
{ | |
"source": "HHU1r30RH", | |
"sourceHandle": "5", | |
"target": "KbEn2Z4Tv", | |
"targetHandle": null, | |
"id": "GkQ1WIZZF" | |
}, | |
{ | |
"source": "HHU1r30RH", | |
"sourceHandle": "6", | |
"target": "KbEn2Z4Tv", | |
"targetHandle": null, | |
"id": "UOBajc1_2" | |
}, | |
{ | |
"source": "HHU1r30RH", | |
"sourceHandle": "7", | |
"target": "KbEn2Z4Tv", | |
"targetHandle": null, | |
"id": "nFs9oGcwv" | |
}, | |
{ | |
"source": "HHU1r30RH", | |
"sourceHandle": "8", | |
"target": "KbEn2Z4Tv", | |
"targetHandle": null, | |
"id": "Prudj55gv" | |
}, | |
{ | |
"source": "HHU1r30RH", | |
"sourceHandle": "9", | |
"target": "KbEn2Z4Tv", | |
"targetHandle": null, | |
"id": "APfo52_Z9" | |
}, | |
{ | |
"source": "KbEn2Z4Tv", | |
"sourceHandle": "1", | |
"target": "ZNz0T_pM3", | |
"targetHandle": null, | |
"id": "mw8kS49nv" | |
}, | |
{ | |
"source": "ZM5b7CHOT", | |
"sourceHandle": "1", | |
"target": "780-2s5eb", | |
"targetHandle": null, | |
"id": "_J512fT3d" | |
}, | |
{ | |
"source": "TtKXi3Q7h", | |
"sourceHandle": "1", | |
"target": "9k3Ug0rLi", | |
"targetHandle": null, | |
"id": "SuoJg1R_x" | |
}, | |
{ | |
"source": "pE6rU7gkW", | |
"sourceHandle": "1", | |
"target": "xgjnlQ2gy", | |
"targetHandle": null, | |
"id": "GHViMLjXU" | |
}, | |
{ | |
"source": "xgjnlQ2gy", | |
"sourceHandle": "1", | |
"target": "91b7IrsEc", | |
"targetHandle": null, | |
"id": "TNWeKlc4h" | |
}, | |
{ | |
"source": "450g167D8", | |
"sourceHandle": "1", | |
"target": "2Zhrm_W7S", | |
"targetHandle": null, | |
"id": "33KXRACr2" | |
}, | |
{ | |
"source": "wfiCxFDN_", | |
"sourceHandle": "1", | |
"target": "2bZ8rp4Qn", | |
"targetHandle": null, | |
"id": "KWGAiZSi5" | |
}, | |
{ | |
"source": "dMAFT2bNO", | |
"sourceHandle": "1", | |
"target": "HHU1r30RH", | |
"targetHandle": null, | |
"id": "DzeMGJVSV" | |
}, | |
{ | |
"source": "4Swd6qzvc", | |
"sourceHandle": "1", | |
"target": "1v_gEs_Zd", | |
"targetHandle": null, | |
"id": "0QcxY2EUj" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment