FuzzyIdeas / Clop

Clipboard optimizer for macOS
https://lowtechguys.com/clop
GNU General Public License v3.0
722 stars 26 forks source link

Respect Strip EXIF Metadata for video optimisation #20

Closed Splurov closed 8 months ago

Splurov commented 8 months ago

When Strip EXIF Metadata is disabled video optimisation still remove meta such as coordinates.

How to reproduce:

It would be nice to respect this setting also for video optimisation.

alin23 commented 8 months ago

I see the EXIF metadata still there after optimising through Finder. Here's a demo video where I print the coordinates before and after optimising a video:

https://github.com/FuzzyIdeas/Clop/assets/3819725/95a3c5a6-abf1-4089-97b5-b6adfc8ac6d0

In the video I'm also highlighting the command in the Clop logs that does the transfer of EXIF metadata between the original and the optimised file.

I have also tried the same with a video that is saved through the Export unmodified original action of Photos.app and it works the same.

Maybe you can send some logs and also check that the metadata is there with exiftool instead of Finder.

Logs can be streamed with the following command:

log stream --level debug --style compact --process Clop --predicate 'subsystem BEGINSWITH "com.lowtechguys.Clop"' | tee ~/Desktop/clop.txt
Splurov commented 8 months ago

You are right. Works as expected when looking with exiftool. Looks like Finder uses some other data which is stripped. Sorry for wrong report. Closing.