jbilcke-hf HF staff commited on
Commit
c7bd1f3
·
1 Parent(s): fc91769

fix dimensions

Browse files
src/core/exporters/clapWithStoryboardsToVideoFile.mts CHANGED
@@ -35,6 +35,9 @@ export async function clapWithStoryboardsToVideoFile({
35
  await imageToVideoBase64({
36
  inputImageInBase64: segment.assetUrl,
37
  outputFilePath: storyboardSegmentVideoFilePath,
 
 
 
38
  outputDir,
39
  clearOutputDirAtTheEnd: false, // <- must stay false or else we lose everything!
40
  outputVideoFormat: "mp4",
 
35
  await imageToVideoBase64({
36
  inputImageInBase64: segment.assetUrl,
37
  outputFilePath: storyboardSegmentVideoFilePath,
38
+ width: clap.meta.width,
39
+ height: clap.meta.height,
40
+ outputVideoDurationInMs: 5000, // TODO this should be computed from the voice? or we can resize videos, toos
41
  outputDir,
42
  clearOutputDirAtTheEnd: false, // <- must stay false or else we lose everything!
43
  outputVideoFormat: "mp4",