jtanman
jtanman

Reputation: 684

How do I join multiple glob inputs into a time lapse with ffmpeg?

I'm trying to combine image files from multiple directories into one combined time lapse using ffmpeg, but when running this code, only the first directory is used in the time lapse. How do I combine multiple glob inputs using ffmpeg?

ffmpeg -pattern_type glob -i "Time\ Lapse\ 11/*.JPG" \
-pattern_type glob -i "Burst\ Sequence\ 5/*.JPG" \
-pattern_type glob -i "Burst\ Sequence\ 6/*.JPG" \
-r 30 -c:v libx264 -crf 23 -preset fast -pix_fmt yuv420p tl11_combined.mp4

I've tried using glob sequence which didn't do anything, and I've tried various concat methods using a text file including directory names, but haven't found the correct format so far. Thanks!

Upvotes: 0

Views: 309

Answers (0)

Related Questions