The number of files in the folder reaches 5000 (or during movie recording, if camera calculates that the addition of the number of files needed to create a movie of maximum length would bring the total over 5000)