How to create a video from frames named using timestamp with ffmpeg

Question:

I have a folder filled with frames that have the timestamp in the name in the folowing format

im_%H_%M_%S_%MS.png

I try to use -pattern_type glob in windows but it does not work.

I get

later I found that this do not work on windows 🙁 which is what I am using. ffmpeg Error: Pattern type ‘glob’ was selected but globbing is not support ed by this libavformat build

I also try

I got

I am running out of ideas. I refuse to believe that there is no way to do this in ffmpeg and powershell.
I really appreciate any help!

Answer:

You can use a workaround, via the concat demuxer

Create a text file with the list of filenames in order

and then run

(this will produce warnings about invalid DTS but you can ignore them)

Source:

How to create a video from frames named using timestamp with ffmpeg by licensed under CC BY-SA | With most appropriate answer!

Leave a Reply