'FFmpeg slide show duration from text file

I am using ffmpeg to create a slideshow of images from a list of files. I am using the following command.

ffmpeg -f concat -i List.txt output.mp4

How can is set the duration of all the images in the list to 5 seconds so each image is displayed for 5 seconds?

Thanks



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source