On my site I have ffmpeg set up to convert a list of image paths from a text file into a slideshow like so --
My text looks something like this (actual file names are not sequential) -
ffconcat version 1.0
file 'IMG.PNG'
file 'IMG2.JPG'
file 'IMG3.PNG/'
And the paths from that file I send it to my ffmpeg command --
ffmpeg -safe 0 -f concat -i paths.txt \
-c:v libx264 -vsync vfr -pix_fmt yuv420p \
-movflags +faststart -y output.mp4 2>&1
It works fine, but now I am trying to do the same with the mlt/melt framework. Right now I have a simple command working with placeholder images --
melt \
placeholder.png length=200 \
inside.png length=200 \
placeholder.png length=200 \
-consumer avformat:"output.mp4"
Any ideas on how to send from a text file?
Instead of text files, you can use
.melt
files by using-serialise <name of file>.melt
. (https://stackoverflow.com/a/54756797/11081477)