Can't mount '.heic' (photo-video) files from onedrive

@asdffdsa Good question, I guess the answer is yes.

@Andrew_Xxx: It looks like the files are Live Photos uploaded from the iOS OneDrive App.

If so, then the issue is most likely due to OneDrive’s partial support of Live Photos. Upload and storage from the iOS app were introduced in December 2020. The remaining implementation is still work-in-progress and this introduces some “surprising” situations when mounting and synchronizing - also in the native OneDrive client on Windows.

The issue(s) can easily be seen if you locate one of your Live Photos in the OneDrive web interface. Then download the photo from the web interface and note that the size of downloaded heic file is smaller than the size displayed in the web interface. The downloaded file is smaller because it is a still photo extracted from the Live Photo (movie) stored in OneDrive. I guess this mismatch causes the unexpected End-Of-File your see in your rclone log.

Let’s hope Microsoft gets the last pieces in place soon so we can download and work with the Live Photos accumulating in OneDrive.

Work-around tips in the meantime: I don’t need Live Photos (most of the time), and therefore turned the Live feature off in the iOS Camera App. There also used to be an option to enable HEIC to JPG conversion in the iOS OneDrive App, but I cannot find it at the moment.