Open aanishacharyaa opened 2 years ago
while searching I found example but ffmpeg \ -loop 1 -t 5 -i happy1.jpg \ -loop 1 -t 5 -i happy2.jpg \ -loop 1 -t 5 -i happy3.jpg \ -loop 1 -t 5 -i happy4.jpg \ -loop 1 -t 5 -i happy5.jpg \ -loop 1 -t 5 -i happy6.jpg \ -i freeflow.mp3
I tried implementing it as
var ffmpeg = require("fluent-ffmpeg"); var command = ffmpeg(); var timemark = null;
command .addOptions(["-loop 1", "-t 4", "-i input/i.webp"]) .addOptions(["-loop 1", "-t 8", "-i input/i2.webp"]) .input("input/ts.mp3") .output("output/t2.mp4") .outputFPS(30) .run();
but it doesn't work
while searching I found example but ffmpeg \ -loop 1 -t 5 -i happy1.jpg \ -loop 1 -t 5 -i happy2.jpg \ -loop 1 -t 5 -i happy3.jpg \ -loop 1 -t 5 -i happy4.jpg \ -loop 1 -t 5 -i happy5.jpg \ -loop 1 -t 5 -i happy6.jpg \ -i freeflow.mp3
I tried implementing it as
var ffmpeg = require("fluent-ffmpeg"); var command = ffmpeg(); var timemark = null;
command .addOptions(["-loop 1", "-t 4", "-i input/i.webp"]) .addOptions(["-loop 1", "-t 8", "-i input/i2.webp"]) .input("input/ts.mp3") .output("output/t2.mp4") .outputFPS(30) .run();
but it doesn't work