{ console.log("Video con" /> { console.log("Video con" /> { console.log("Video con"/>

How do i simulate object-fit: fill with fluent-ffmpeg nodejs

21 Views Asked by At

ffmpeg(input) .output(output) .outputOptions("-vf",scale=w=${1920}:h=${1080}) .outputOptions("-c:a", "copy") .on("end", () => { console.log("Video conversion completed"); }) .on("error", error => { console.error("Video conversion failed:", error); }) .on("progress", function(f) { console.log("...frames ", f.frames); }) .run() code behave more like object-fit: contain than fill

0

There are 0 best solutions below