pulsejet / memories

Fast, modern and advanced photo management suite. Runs as a Nextcloud app.
https://memories.gallery
GNU Affero General Public License v3.0
3.14k stars 83 forks source link

MP4 videos shown at incorrect date in Timeline view #452

Closed ericnotthered closed 1 year ago

ericnotthered commented 1 year ago

MP4 files do not show up in the timeline correctly.

Memories correctly shows the date created time stamp (i.e., 30 Sept 2022) in the EXIF tab of the Details panel.

image

However, the video shows up in the timeline at a date that seems to align with the "FileDateCreated" - in this case, 14 Feb 2023.

image

pulsejet commented 1 year ago

Can you provide a sample file?

ericnotthered commented 1 year ago

Thanks for the response.

Here's an example: https://user-images.githubusercontent.com/22112690/222611861-a9f36daa-ded5-4688-bd21-b9dccbb0f454.mp4

The "Media Created" date is 2022/09/30. The EXIF tab correctly displays this date.

image

The "File Created" and "File Modified" dates are 9pm Feb 13, 2023. The video shows up on Feb 14th; presumably because of the time zone (Italy). My local time zone is PST.

image

pulsejet commented 1 year ago

I believe you simply run into #405

All you need to do is either run occ memories:index -f (to force -f reindexing) or simply delete the file and restore it from the Nextcloud trash (that should re-index that file).

pulsejet commented 1 year ago

BTW your preview generation doesn't seem correctly configured. Take a look at https://github.com/pulsejet/memories/wiki/File-Type-Support#videos

ericnotthered commented 1 year ago

Thanks! I had re-indexed after previously enabling video, but I wasn't aware that I needed to use the "-f" flag. The videos are now appearing where expected.

Regarding my preview generation: I'm running Nextcloud as a TrueCharts Scale App, so the config.php is managed by Kubernetics. It offers "Movie" support, but does not give options for adding MP4 or MKV to the config.php per your link. However, during the re-index it indicates that mpeg, webm, mp4, quicktime and x-matroska are supported.

I appreciate your assistance. Memories is a great app.

pulsejet commented 1 year ago

Regarding my preview generation: I'm running Nextcloud as a TrueCharts Scale App, so the config.php is managed by Kubernetics. It offers "Movie" support, but does not give options for adding MP4 or MKV to the config.php per your link. However, during the re-index it indicates that mpeg, webm, mp4, quicktime and x-matroska are supported.

Interesting, that sounds pretty restrictive. Maybe you could ask them to enable these by default (no reason not to).

Closing.