-
-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Google Takeout has MVIMG files without extension that are marked as unsupported #634
Comments
I am using this command from a completely untarred set of google photos takeout exports, with immich-go built from source on Ubuntu 24.10. immich-go --server=http://localhost:2283 -k=API_KEY \
upload from-google-photos -u -a --include-untitled-albums \
--manage-burst=Stack --manage-heic-jpeg=StackCoverHeic \
--manage-raw-jpeg=StackCoverJPG \
Google\ Photos/ |
Immich neither support files without extension. Usually, for android, movie part of the motion pictures is also embedded into the JPG. In that case the JPG is sufficient for immich to create the live picture. Then then MVIMG without extension can be discarded. An easy check is to drop the JPG on the immich page, and check. In the takeout, when the JPG is compressed by Google Photos, the resulting file is corrupted. The movie part isn't located at the place indicated by metadata... and immich doesn't find the movie part. Therefore, the API call to link the JPG with its movie fails. The image remains still. If the JPG doesn't contains the movie part, the MP4 extension can be added to the name when the file is uploaded ... An API call can link the JPG with the movie. |
Ah, I guess they are being handled! Thanks for the explanation. |
I let this open, to manage the eviction of MVIMG files |
…folder and Google Photos adapters fixes: Google Takeout has MVIMG files without extension that are marked as unsupported #634
* feat: Add IsUseLess method to SupportedMedia for filtering unnecessary files * feat: Enhance SupportedMedia filtering by adding IsUseLess checks in folder and Google Photos adapters fixes: Google Takeout has MVIMG files without extension that are marked as unsupported #634
e.g., from the import log:
ls MVIMG_20180722_120942* -rw-r--r-- 1 satadru satadru 4028582 Jan 12 14:32 MVIMG_20180722_120942 -rw-r--r-- 1 satadru satadru 7655876 Jan 12 14:32 MVIMG_20180722_120942.jpg -rw-r--r-- 1 satadru satadru 854 Jan 12 15:18 MVIMG_20180722_120942.jpg.json file MVIMG_20180722_120942 MVIMG_20180722_120942: ISO Media, MP4 v2 [ISO 14496-14]
Is there a way to get those to import properly?
The text was updated successfully, but these errors were encountered: