Some videos are exported as XML files not .MOV files
I avoided the problem by using --photokit.
Regards to Apple Script exporting, upon a 1000 video export, about 20 will be exported as a small plist XML file upon the first attempt.
I looked into the code at https://github.com/RhetTbull/PhotoScript/blob/ffe1b0f892c1e8ab788ffe5a1467e341459292ed/photoscript/init.py#L566-L569, it seems that there is a filename rename logic, it seems to me that it's likely somehow the Apple Script exported the plist file and it's been mistakenly renamed to .MOV? Maybe we could add some log here or do not delete the TemporaryDirectory to figure out what happened?
Originally posted by @chengguangnan in https://github.com/RhetTbull/osxphotos/discussions/1379#discussioncomment-8123616