fix: disable metadata and chapter mapping in x265 transcoding to streamline output
Build / Lint & Test (push) Successful in 18s

This commit is contained in:
PickleRick committed 2026-09-19 22:12:33 +02:00
1 parent 9b0ed4677d
commit 2a39da6d08
1 file changed
+5 -1
@@ -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',