From a9ac46f3e1aa1eb6eef123eccfcfd18a6e5ad482 Mon Sep 17 00:00:00 2001 From: snobu Date: Fri, 10 Apr 2020 13:29:22 +0300 Subject: [PATCH] Added comment on locating ffmpeg-bar --- destreamer.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/destreamer.ts b/destreamer.ts index 709b09f..7f0d4e1 100644 --- a/destreamer.ts +++ b/destreamer.ts @@ -191,6 +191,7 @@ async function downloadVideo(videoUrls: string[], outputDirectory: string, sessi // console.log(`Download finished: ${outputPath}`); // }); + // We probably need a way to be deterministic about how we locate that ffmpeg-bar wrapper, npx maybe? let cmd = `node_modules/.bin/ffmpeg-bar -headers "Authorization:\ Bearer\ ${session.AccessToken}" -i "${video.playbackUrl}" -y "${outputPath}"`; execSync(cmd, {stdio: 'inherit'}); console.info(`Download finished: ${outputPath}`);