How do I render a video from a list of time-stamped images?

后端 未结 2 1779
失恋的感觉
失恋的感觉 2021-01-11 13:12

I have a directory full of images following the pattern .png, where represents milliseconds elapsed since the fi

2条回答
  •  遥遥无期
    2021-01-11 14:04

    Appears your images are non standard frame rate...One option would be to duplicate the appropriate image "once per millisecond" [i.e. for

     file '0.png'
     file '97.png'
    

    duplicate file 0.png 96 times, so it becomes 0.png 1.png 2.png etc. (or use symlinks, if on linux).

    Then you can combine them using the normal image inputter [with input rate of 1ms/frame]. https://trac.ffmpeg.org/wiki/Create%20a%20video%20slideshow%20from%20images

提交回复
热议问题