Make sure "Loop Recording" mode is not set in the camera. In this mode, the camera records for a maximum set length (for example 30s, 1min, 3min..). Even if the loop recording function is deactivated, it can not record for an extended period of time. Action cameras generally use microSD cards formatted in FAT32, the maximum size of one file is limited to about 4GB