initial commit
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user