Skip to content

🎥 Make videos programmatically with React

debug rust failure

Jonny Burgerd9377a8b1a1d
diff --git a/packages/renderer/build.mjs b/packages/renderer/build.mjs
index 8c8d434d3b..ac239877f1 100644
--- a/packages/renderer/build.mjs
+++ b/packages/renderer/build.mjs
@@ -164,7 +164,6 @@ if (!rustFfmpegSys) {
const manifest = rustFfmpegSys.manifest_path;
const binariesDirectory = path.join(path.dirname(manifest), 'zips');
-
const archs = all ? targets : [nativeArch];
for (const arch of archs) {
@@ -173,7 +172,10 @@ for (const arch of archs) {
mkdirSync(ffmpegFolder);
}
- execSync(`tar xf ${binariesDirectory}/${arch}.gz -C ${ffmpegFolder}`);
+ execSync(`tar xf ${binariesDirectory}/${arch}.gz -C ${ffmpegFolder}`, {
+ stdio: 'inherit',
+ });
+ console.log(readdirSync(path.join(ffmpegFolder, 'remotion', 'lib')));
const command = `cargo build ${debug ? '' : '--release'} --target=${arch}`;
console.log(command);