How to speed up --update #1388
-
See the two exports I did on a large album, the second export skipped about 97% photos but the whole process still takes about 2.5 hours. This is strange, because I was assuming
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
This is odd. What's the full export command? If the export drive is slow (network drive) or you are not using |
Beta Was this translation helpful? Give feedback.
-
Adding BTW, right now the It seems that the cause is that, my photo libaray has many videos with the same original filename, eg IMG_0001.mov (2019) and IMG_0001.mov (2022, new phone). I didn't verify this, but it seems that upon exporting, those videos were overwriting each other and cause some EDITED_SIG_DIFFERENT? I added |
Beta Was this translation helpful? Give feedback.
-
I couldn't reproduce the above issue quickly right now. I think what might happen is:
This is just theory, but it explains the slow second export and sig different. |
Beta Was this translation helpful? Give feedback.
I think you are right. Looking at the code,
EDITED_SIG_DIFFERENT
occurs when the signature stored in the database of the exported file differs from the signature of the edited file in Photos.I'll need to think about how it might be possible to fix this. I could compute the fingerprint (hash) of the edited file and store that in the export db. This would be a bit slower but would guarantee no duplicate exports.
There's a modification time in the Photos database and that would be the logical choice to compare. However, on Photos <= version 4.0, the modification date/time was adjusted any time the photo's metadata (e.g. tags) were changed so this wasn't reliable. I've been developing osxpho…