mirror of
https://gitlab.rlp.net/proj-wise2526-video2document/video2document.git
synced 2026-06-15 18:01:52 +02:00
additional test for commands.txt and fix for correct path in the ffmpegExtractor module
This commit is contained in:
@@ -1,2 +1,5 @@
|
||||
npx ts-node ./extract.ts /Users/mikehughes/Downloads/sweetHomeAlabama.mov
|
||||
npx ts-node ./transcribe.ts ../storage/audio/sweetHomeAlabama.wav
|
||||
npx ts-node ./extract.ts /Users/mikehughes/Downloads/Testvideo/Kurzgesagt.mov
|
||||
npx ts-node ./transcribe.ts ../storage/audio/Kurzgesagt.wav
|
||||
|
||||
npx ts-node ./extract.ts /Users/mikehughes/Downloads/Testvideo/GitLabMeeting.mov
|
||||
npx ts-node ./transcribe.ts ../storage/audio/GitLabMeeting.wav
|
||||
|
||||
@@ -30,7 +30,7 @@ const __filename = fileURLToPath(import.meta.url);
|
||||
const __dirname = path.dirname(__filename);
|
||||
|
||||
// Prepare output directory (always storage/audio under project root)
|
||||
const outputDir = path.join(__dirname, '..', '..', 'storage', 'audio');
|
||||
const outputDir = path.join(__dirname, '..', '..', '..', 'storage', 'audio');
|
||||
if (!fs.existsSync(outputDir)) {
|
||||
fs.mkdirSync(outputDir, { recursive: true });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user