Skip to main content
2 of 2
original title misleading, duration not ignored in first instance, flash frame problem

ffmpeg flash frames last still image in concat sequence

I want to concat several pictures into a video. Each picture must have its own duration. I use the most recent windows build for ffmpeg (20170204) and the guide from http://trac.ffmpeg.org/wiki/Slideshow/

Here is my text file:

file path/to/001.png
duration 5
file path/to/002.png
duration 6

I try using the following command:

ffmpeg.exe -f concat -safe 0 -i path/to/input.txt output.mp4

In the resulting video, the first pictures hangs for 5 seconds but the second picture only hangs for 0 seconds (I only see a glimpse of it). What am I doing wrong?

gisly
  • 153
  • 5