n8n-nodes-sb-render 1.0.36 → 1.0.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -351,7 +351,7 @@ class VideoComposer {
|
|
|
351
351
|
let filterString;
|
|
352
352
|
if (allHaveAudio) {
|
|
353
353
|
// All videos have audio - normalize video and keep audio separate
|
|
354
|
-
const scaleFilters = videoPaths.map((_, index) => `[${index}:v]scale=1920:1080:force_original_aspect_ratio=decrease,pad=1920:1080:(ow-iw)/2:(oh-ih)/2,setsar=1,fps=24[v${index}];[${index}:a]
|
|
354
|
+
const scaleFilters = videoPaths.map((_, index) => `[${index}:v]scale=1920:1080:force_original_aspect_ratio=decrease,pad=1920:1080:(ow-iw)/2:(oh-ih)/2,setsar=1,fps=24[v${index}];[${index}:a]anull[a${index}]`).join(';');
|
|
355
355
|
// Build concat inputs: video and audio streams in pairs
|
|
356
356
|
const concatInputs = videoPaths.map((_, index) => `[v${index}][a${index}]`).join('');
|
|
357
357
|
filterString = `${scaleFilters};${concatInputs}concat=n=${videoPaths.length}:v=1:a=1[outv][outa]`;
|