If you get an error when exporting the video, you could try one of these things to export successfully:
- Edit the individual clips with the video, make small edits and then export
- Crop or trim the video clips in your Photos app before importing into the video
- Try removing some clips and then exporting, then adding more clips to that export later.
- Remove music and then add it back in a separate project later