Thanks Andrew and Tryl. The scripting with Hugin seems very interesting. Not only because the desktop software is not able to handle many photos in one instance but also because I need to correct the roll & pitch which are wrong on most images. I use python scripts for adding location and GPSImgdirection so one more script for stitching does not seem so bad. Hopefully the scripts can handle large numbers. If any body has gotten any further with a Hugin script for this camera I would appreciate some info on this.
On the Xiaomi facebook group some people have posted Hugin templates. Here’s one. Not sure if this is any use to someone. I myself am not familiar with Hugin.
Today I also found out I was not using the latest desktop software. I found this out because of this site with Mi Sphere resources. The latest version does not crash so fast but it still crashed. I was able to stitch 617 out of the 2144 total before it crashed. The version does not have any settings to control/overrule the pitch/role so still not much of use for photos taken from the camera fixed to my velomobile.