I am rather confused why nemo is reporting that some files have no date set. Which means I cannot order my files by Date. This is only happening with my GoPro videos I will add. But when checking I can see that the Media Create Date
is indeed the correct time of recording.
How I get it so the correct date is shown in nemo and in bash when sorting files for my scripts:
Date Unkown
(base) hutber@hutber:/media/hutber/3834-3762/DCIM/100GOPRO$ exiftool GX055351.MP4
ExifTool Version Number : 11.88
File Name : GX055351.MP4
Directory : .
File Size : 3.7 GB
File Modification Date/Time : 0000:00:00 00:00:00
File Access Date/Time : 2022:01:12 22:32:31+00:00
File Inode Change Date/Time : 0000:00:00 00:00:00
File Permissions : rwxrwxrwx
File Type : MP4
File Type Extension : mp4
MIME Type : video/mp4
Major Brand : MP4 v1 [ISO 14496-1:ch13]
Minor Version : 2013.10.18
Compatible Brands : mp41
Media Data Size : 4004174743
Media Data Offset : 36
Movie Header Version : 0
Create Date : 2022:01:11 19:08:56
Modify Date : 2022:01:11 19:08:56
Time Scale : 120000
Duration : 0:05:21
Preferred Rate : 1
Preferred Volume : 100.00%
Preview Time : 0 s
Preview Duration : 0 s
Poster Time : 0 s
Selection Time : 0 s
Selection Duration : 0 s
Current Time : 0 s
Next Track ID : 5
Lens Serial Number : LKO1062003401692
Camera Serial Number Hash : 9ea9a8bdbd36f956eaa1b923d1cf581e
Firmware Version : H21.01.01.16.00
Camera Serial Number : C3461324767792
Camera Model Name : HERO10 Black
Auto Rotation : Down
Digital Zoom : No
Pro Tune : On
White Balance : AUTO
Sharpness : MED
Color Mode : NATURAL
Auto ISO Max : 1600
Auto ISO Min : 100
Exposure Compensation : 0.0
Rate :
Field Of View : Unknown (N)
Electronic Image Stabilization : HS Boost
Audio Setting : AUTO
Device Name : Highlights
Track Header Version : 0
Track Create Date : 2022:01:11 19:08:56
Track Modify Date : 2022:01:11 19:08:56
Track ID : 1
Track Duration : 0:05:21
Track Layer : 0
Track Volume : 0.00%
Image Width : 3840
Image Height : 2160
Graphics Mode : srcCopy
Op Color : 0 0 0
Compressor ID : hvc1
Source Image Width : 3840
Source Image Height : 2160
X Resolution : 72
Y Resolution : 72
Compressor Name : GoPro H.265 encoder
Bit Depth : 24
Video Frame Rate : 119.88
Time Code : 3
Balance : 0
Audio Format : mp4a
Audio Channels : 2
Audio Bits Per Sample : 24
Audio Sample Rate : 48000
Text Font : Unknown (21)
Text Face : Plain
Text Size : 10
Text Color : 0 0 0
Background Color : 65535 65535 65535
Font Name : Helvetica
Other Format : tmcd
Matrix Structure : 1 0 0 0 1 0 0 0 1
Media Header Version : 0
Media Create Date : 2022:01:11 19:08:56
Media Modify Date : 2022:01:11 19:08:56
Media Time Scale : 1000
Media Duration : 0:05:21
Handler Class : Media Handler
Handler Type : NRT Metadata
Handler Description : GoPro MET
Gen Media Version : 0
Gen Flags : 0 0 0
Gen Graphics Mode : srcCopy
Gen Op Color : 0 0 0
Gen Balance : 0
Meta Format : gpmd
Warning : [minor] The ExtractEmbedded option may find more tags in the media data
Image Size : 3840x2160
Megapixels : 8.3
Avg Bitrate : 99.7 Mbps
Rotation : 180
The same recording session but date correct
(base) hutber@hutber:/media/hutber/3834-3762/DCIM/100GOPRO$ exiftool GX075351.MP4
ExifTool Version Number : 11.88
File Name : GX075351.MP4
Directory : .
File Size : 3.7 GB
File Modification Date/Time : 2022:01:11 19:46:27+00:00
File Access Date/Time : 2022:01:12 22:32:33+00:00
File Inode Change Date/Time : 2022:01:11 19:46:27+00:00
File Permissions : rwxrwxrwx
File Type : MP4
File Type Extension : mp4
MIME Type : video/mp4
Major Brand : MP4 v1 [ISO 14496-1:ch13]
Minor Version : 2013.10.18
Compatible Brands : mp41
Media Data Size : 4004313141
Media Data Offset : 36
Movie Header Version : 0
Create Date : 2022:01:11 19:08:56
Modify Date : 2022:01:11 19:08:56
Time Scale : 120000
Duration : 0:05:21
Preferred Rate : 1
Preferred Volume : 100.00%
Preview Time : 0 s
Preview Duration : 0 s
Poster Time : 0 s
Selection Time : 0 s
Selection Duration : 0 s
Current Time : 0 s
Next Track ID : 5
Lens Serial Number : LKO1062003401692
Camera Serial Number Hash : 9ea9a8bdbd36f956eaa1b923d1cf581e
Firmware Version : H21.01.01.16.00
Camera Serial Number : C3461324767792
Camera Model Name : HERO10 Black
Auto Rotation : Down
Digital Zoom : No
Pro Tune : On
White Balance : AUTO
Sharpness : MED
Color Mode : NATURAL
Auto ISO Max : 1600
Auto ISO Min : 100
Exposure Compensation : 0.0
Rate :
Field Of View : Unknown (N)
Electronic Image Stabilization : HS Boost
Audio Setting : AUTO
Device Name : Highlights
Track Header Version : 0
Track Create Date : 2022:01:11 19:08:56
Track Modify Date : 2022:01:11 19:08:56
Track ID : 1
Track Duration : 0:05:21
Track Layer : 0
Track Volume : 0.00%
Image Width : 3840
Image Height : 2160
Graphics Mode : srcCopy
Op Color : 0 0 0
Compressor ID : hvc1
Source Image Width : 3840
Source Image Height : 2160
X Resolution : 72
Y Resolution : 72
Compressor Name : GoPro H.265 encoder
Bit Depth : 24
Video Frame Rate : 119.88
Time Code : 3
Balance : 0
Audio Format : mp4a
Audio Channels : 2
Audio Bits Per Sample : 24
Audio Sample Rate : 48000
Text Font : Unknown (21)
Text Face : Plain
Text Size : 10
Text Color : 0 0 0
Background Color : 65535 65535 65535
Font Name : Helvetica
Other Format : tmcd
Matrix Structure : 1 0 0 0 1 0 0 0 1
Media Header Version : 0
Media Create Date : 2022:01:11 19:08:56
Media Modify Date : 2022:01:11 19:08:56
Media Time Scale : 1000
Media Duration : 0:05:21
Handler Class : Media Handler
Handler Type : NRT Metadata
Handler Description : GoPro MET
Gen Media Version : 0
Gen Flags : 0 0 0
Gen Graphics Mode : srcCopy
Gen Op Color : 0 0 0
Gen Balance : 0
Meta Format : gpmd
Warning : [minor] The ExtractEmbedded option may find more tags in the media data
Image Size : 3840x2160
Megapixels : 8.3
Avg Bitrate : 99.7 Mbps
Rotation : 180
Stat of the broken file:
14_Training$ stat ./GX055351.MP4
File: ./GX055351.MP4
Size: 4004635826 Blocks: 7821560 IO Block: 4096 regular file
Device: 821h/2081d Inode: 19475 Links: 1
Access: (0777/-rwxrwxrwx) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2022-01-12 23:32:35.441047700 +0000
Modify: 1970-01-01 01:00:00.000000000 +0100
Change: 2022-01-12 23:32:33.504918500 +0000
Birth: -
FS Timestamp vs EXIF
Your file manager uses FS timestamps. (Stored separately from file data)
While exif metadata is part of file data.
exif info
Loading exif metadata (dates,etc) for every file is way slower than just using FS Timestamp.
Config options or plugins may let you add exif functionality like sorting/tool tip info/etc.
FS Differences
Not all file systems use timestamps the same way. Some don't support the same stamps, or are configured not to use all of them.
Only supported timestamps can be copied to any target filesystem, and only if they actually exist.
Make sure your camera writes
modified
/accessed
timestamps, not justcreated
When you install an OS or set up external storage, make sure you use an FS format that support the features you need. (Like for example timestamps).
Make sure mount options aren't set to ignore timestamps or other features you need.