Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
·
b80b9f7
1
Parent(s):
1f38dc1
debugging
Browse files- src/main.mts +7 -1
src/main.mts
CHANGED
@@ -56,6 +56,9 @@ export async function clapToTmpVideoFilePath({
|
|
56 |
videoSegments,
|
57 |
outputDir,
|
58 |
})
|
|
|
|
|
|
|
59 |
videoFilePaths = concatenatedData.videoFilePaths
|
60 |
} else if (canUseStoryboards) {
|
61 |
const concatenatedData = await clapWithStoryboardsToVideoFile({
|
@@ -63,12 +66,15 @@ export async function clapToTmpVideoFilePath({
|
|
63 |
storyboardSegments,
|
64 |
outputDir,
|
65 |
})
|
|
|
|
|
|
|
66 |
videoFilePaths = concatenatedData.videoFilePaths
|
67 |
} else {
|
68 |
throw new Error(`the provided Clap doesn't contain any video or storyboard`)
|
69 |
}
|
70 |
|
71 |
-
console.log(`clapToTmpVideoFilePath: calling concatenateVideos over ${videoFilePaths.length} video chunks`)
|
72 |
|
73 |
const concatenatedVideosNoMusic = await concatenateVideos({
|
74 |
videoFilePaths,
|
|
|
56 |
videoSegments,
|
57 |
outputDir,
|
58 |
})
|
59 |
+
|
60 |
+
console.log(`clapToTmpVideoFilePath: called clapWithVideosToVideoFile, got concatenatedData = ${JSON.stringify(concatenatedData, null, 2)}`)
|
61 |
+
|
62 |
videoFilePaths = concatenatedData.videoFilePaths
|
63 |
} else if (canUseStoryboards) {
|
64 |
const concatenatedData = await clapWithStoryboardsToVideoFile({
|
|
|
66 |
storyboardSegments,
|
67 |
outputDir,
|
68 |
})
|
69 |
+
|
70 |
+
console.log(`clapToTmpVideoFilePath: called clapWithStoryboardsToVideoFile, got concatenatedData = ${JSON.stringify(concatenatedData, null, 2)}`)
|
71 |
+
|
72 |
videoFilePaths = concatenatedData.videoFilePaths
|
73 |
} else {
|
74 |
throw new Error(`the provided Clap doesn't contain any video or storyboard`)
|
75 |
}
|
76 |
|
77 |
+
console.log(`clapToTmpVideoFilePath: calling concatenateVideos over ${videoFilePaths.length} video chunks: ${JSON.stringify(videoFilePaths, null, 2)}`)
|
78 |
|
79 |
const concatenatedVideosNoMusic = await concatenateVideos({
|
80 |
videoFilePaths,
|