Exporting videos in macOS Photos app may cause problems.

You may see a “Could not convert image (1,015)” error message.

Solution

I found that the only way to avoid this error is to export the original video files.

Go to File > Export > Export Unmodified Originals… menu item and export that way.