From 2a39da6d08a758a3741599b1f53b94ce007fcbe0 Mon Sep 17 00:00:00 2001 From: PickleRick Date: Sat, 19 Sep 2026 22:12:33 +0200 Subject: [PATCH] fix: disable metadata and chapter mapping in x265 transcoding to streamline output --- LocalFlowPlugins/video/transcode2PassX265/1.0.0/index.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/LocalFlowPlugins/video/transcode2PassX265/1.0.0/index.js b/LocalFlowPlugins/video/transcode2PassX265/1.0.0/index.js index 1b92500..9c7202f 100644 --- a/LocalFlowPlugins/video/transcode2PassX265/1.0.0/index.js +++ b/LocalFlowPlugins/video/transcode2PassX265/1.0.0/index.js @@ -171,6 +171,8 @@ const plugin = async (args) => { spawnArgs: [ '-y', '-i', inputFile, + '-map_metadata -1', + '-map_chapters -1', ...videoArgs, '-x265-params', `no-slow-firstpass=1:pass=1:${x265ParamsBase}`, '-an', '-sn', @@ -204,7 +206,9 @@ const plugin = async (args) => { '-i', inputFile, '-map', '0:v:0', ...audioArgs, - '-map_chapters', '0', + '-map_metadata', '-1', + '-map_chapters', '-1', + '-disposition:v:0', 'default', ...videoArgs, '-x265-params', `pass=2:${x265ParamsBase}`, '-sn',