From 259ce49c1ef3bec392763a860ff5cf8559c98a65 Mon Sep 17 00:00:00 2001 From: Kuba Orlik Date: Tue, 2 Aug 2022 11:59:07 +0200 Subject: [PATCH] Add date of recording to filename --- record.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/record.ts b/record.ts index 99a09b9..370c302 100755 --- a/record.ts +++ b/record.ts @@ -61,7 +61,7 @@ void (async function () { "12M", "-f", "mp4", - "output.mp4", + `output-${Date.now()}.mp4`, ]); console.log("started ffmpeg...");