initial commit

This commit is contained in:
2023-10-14 22:41:00 +02:00
parent 39d9e2cb47
commit b11c2f6d31
5 changed files with 41 additions and 36 deletions
+8
View File
@@ -7,6 +7,14 @@ async function performTest(){
video.getVideoInfo("./uploads/test.mp4").then(video => {
console.log("Video Size:", video.size, "- duration:", video.durationInSeconds);
});
video.scaleVideo({
inputPath: "./uploads/test.mp4",
outputPath: "./proccessed/test-480.mp4",
bitrate: "800k",
width: 640,
height: 480
})
}
performTest();