When the camera's charge or battery level is low, it automatically reduces the length of videos.
It will be necessary to replace the batteries and change or charge the external power supply.