mp4 issues on Android

Started by troelshartmann, June 02, 2019, 07:43:15 AM

Previous topic - Next topic

troelshartmann

I've been using the app successfully to fix up my image library using the Gallery app on my phone, which is now all done, however I'm stuck with a number of mp4 files.

Most of them are working correctly and appear under the correct date as you scroll through the gallery, however there are a number of stubborn ones which appear to be completely ignoring the metadata for some reason.

Here's a sample of the output of one which doesn't appear in the correct location:

[File]          FileModifyDate                  : 2012:12:23 15:21:30+11:00
[File]          FileAccessDate                  : 2019:06:02 21:34:29+10:00
[File]          FileInodeChangeDate             : 2019:06:02 21:16:58+10:00
[QuickTime]     CreateDate                      : 2012:12:23 15:21:30
[QuickTime]     ModifyDate                      : 2012:12:23 15:21:30
[QuickTime]     TrackCreateDate                 : 2012:12:23 15:21:30
[QuickTime]     TrackModifyDate                 : 2012:12:23 15:21:30
[QuickTime]     MediaCreateDate                 : 2012:12:23 15:21:30
[QuickTime]     MediaModifyDate                 : 2012:12:23 15:21:30
[QuickTime]     TrackCreateDate                 : 2012:12:23 15:21:30
[QuickTime]     TrackModifyDate                 : 2012:12:23 15:21:30
[QuickTime]     MediaCreateDate                 : 2012:12:23 15:21:30
[QuickTime]     MediaModifyDate                 : 2012:12:23 15:21:30
[QuickTime]     DateTimeOriginal                : 2012:12:23 15:21:30
[XMP]           DateTimeOriginal                : 2012:12:23 15:21:30
[XMP]           CreateDate                      : 2012:12:23 15:21:30
[XMP]           ModifyDate                      : 2012:12:23 15:21:30


You can see that every writeable tag is set to the date I want but the Gallery app appears to be ignoring all of them. The date is shows for the file is 2019:using a file creation date for the file is 2019:06:02 21:06. I've tried everything I can think of. I've run the files through video converter, tried wiping the tags and setting them manually etc.

Here's the same output from a different file which works correctly:
[File]          FileModifyDate                  : 2019:04:24 12:35:00+10:00
[File]          FileAccessDate                  : 2019:06:02 21:40:59+10:00
[File]          FileInodeChangeDate             : 2019:05:19 21:08:05+10:00
[QuickTime]     CreateDate                      : 2019:04:24 00:35:46
[QuickTime]     ModifyDate                      : 2019:04:24 00:35:46
[QuickTime]     TrackCreateDate                 : 2019:04:24 00:35:46
[QuickTime]     TrackModifyDate                 : 2019:04:24 00:35:46
[QuickTime]     MediaCreateDate                 : 2019:04:24 00:35:46
[QuickTime]     MediaModifyDate                 : 2019:04:24 00:35:46
[QuickTime]     TrackCreateDate                 : 2019:04:24 00:35:46
[QuickTime]     TrackModifyDate                 : 2019:04:24 00:35:46
[QuickTime]     MediaCreateDate                 : 2019:04:24 00:35:46
[QuickTime]     MediaModifyDate                 : 2019:04:24 00:35:46


Any ideas?



Phil Harvey

Is there a Gallery forum where you can ask this?

As far as I can tell, the file that doesn't work has all the date/time information of the one that does work, plus a lot more.

Unless the extra metadata is confusing Gallery somehow, the only thing I can think of is that you are fooling yourself and Gallery is using a cached date/time information from somewhere else.

Or if you are running on a Mac, check the FileCreateDate to see if this could be the problem (this tag is not extracted by default on a Mac).

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

troelshartmann

I've resolved this - the tag was a red herring, it was to do with the (lack of) preservation of file dates when I was copying from my Mac to the Android device.

I changed to a different way of transferring the files and all is good now.