fluent-ffmpeg from an array of input files
问题 I want to use fluent-ffmpeg to create a video of last n images of a directory, or database entries. Which is the correct syntax? These are my tries: Mimic shell command ffmpeg() .addInput('ls *png | tail -n 17') .inputOptions("-pattern_type glob") .output("output.mp4").run() but it does not accept shell commands; space - separated paths ffmpeg() .addInput('a*.png b*.png ') .inputOptions("-pattern_type glob") .output("output.mp4").run() but it does not accept list of files separated by spaces;