Compare commits
1 Commits
4988491ec2
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
af5112b95c |
@@ -3,6 +3,7 @@ import ffmpegPath from "ffmpeg-static";
|
||||
import { globSync, mkdirSync, readdirSync, rmSync, statSync, writeFile, writeFileSync } from "node:fs";
|
||||
import path from "node:path";
|
||||
import { LOCAL_DIR, LOCAL_DIR_VID, LOCAL_DIR_VID_EXTRACTED } from "./nextcloud";
|
||||
import { out_vid_path } from "../routes/protected";
|
||||
|
||||
export async function createVid(
|
||||
fps: number,
|
||||
@@ -41,7 +42,7 @@ export async function createVid(
|
||||
`${LOCAL_DIR}/*.jpg`,
|
||||
`${LOCAL_DIR}/*.png`,
|
||||
`${LOCAL_DIR_VID_EXTRACTED}/*.jpg`,
|
||||
], path.resolve("./out.mp4"), fps)
|
||||
], out_vid_path, fps)
|
||||
}
|
||||
|
||||
export async function encodeFrames(
|
||||
|
||||
Reference in New Issue
Block a user