Open ChakshuGupta13 opened 3 weeks ago
Hello,
Thanks for the report. It is strange that it worked once and did not work the second time, in any case the latest update should provide a workaround for issues like this. In case of any failures, some (or all) tags could be ignored during copy if any error occurs.
If you manage to replicate the issue, please check now - you should see message "Could not copy (some of?) the XMP metadata tags from source.", but the mux should succeed.
Longer term, I plan to do some sanitization of the XMP data - strip the xpacket nonsense and strip everything after the end of XML, exiftool sometimes lets through binary uninitialized data from the XMP area within the file. Also, I'd like to start with the source XMP and enrich it for MotionPhoto, that should solve some of the namespace naming and alias placement issues. Hopefully that'll make this whole vector moot...
Just a minor correction - it did NOT work first time but it did second time:
It is strange that it worked once and did not work the second time
By any chance, can you please point to "the latest update" which will help here?
Will try to do that:
If you manage to replicate the issue, please check now - you should see message "Could not copy (some of?) the XMP metadata tags from source.", but the mux should succeed.
If you manage to replicate the issue, please check now - you should see message "Could not copy (some of?) the XMP metadata tags from source.", but the mux should succeed.
By any chance, can you please point to "the latest update" which will help here?
Just download the latest source code: https://github.com/PetrVys/MotionPhoto2/archive/refs/heads/main.zip
I meant specific commit - but NVM - found it. I did exactly same - that's how locally I worked-around issue - so latest changes shall also work.
While using script over a folder which may contain other files as well, encountered following:
I tried to see
xmp
- maybe it will help later:Weirdly, it works next time when video file is re-copied from source for second run.