I'm trying to take a pile of screenshot PNGs, and the timestamp of each screenshot, and create a video with ffmpeg that recreates the timing of the screenshots.
According to the ffmpeg help, -vsync 0 seems to be what I need,
-vsync parameter
0, passthrough Each frame is passed with its timestamp from the demuxer to the muxer.
Does anyone know how to pass this timestamp information into ffmpeg? Presently each screenshot has the recording time in milliseconds as the filename.
The below example doesn't accept any timing information that I can tell, so I'm looking for the proper format to pipe to the command.
ffmpeg -vsync 0 -pattern_type glob -i '*.png' -c:v libx264 output.mp4
Script: get time from filename, minus previous filetime = duration of temp video, then concat videos