Skip to main content
Tweeted twitter.com/StackAVP/status/828303117166972929
original title misleading, duration not ignored in first instance, flash frame problem
Link

ffmpeg ignores duration when concatting imagesflash frames last still image in concat sequence

Source Link
gisly
  • 153
  • 5

ffmpeg ignores duration when concatting images

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?