Estou bastante confuso porque nemo está relatando que alguns arquivos não têm data definida. O que significa que não posso ordenar meus arquivos por data. Isso só está acontecendo com meus vídeos GoPro que vou adicionar. Mas ao verificar posso ver que Media Create Date
é realmente o momento correto da gravação.
Como faço para que a data correta seja mostrada no nemo e no bash ao classificar arquivos para meus scripts:
Data desconhecida
(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
A mesma sessão de gravação, mas a data correta
(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
Estatística do arquivo quebrado:
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: -
Timestamp FS vs EXIF
Seu gerenciador de arquivos usa carimbos de data/hora FS. (Armazenado separadamente dos dados do arquivo)
Enquanto os metadados exif fazem parte dos dados do arquivo.
exif info
Carregar metadados exif (datas, etc) para cada arquivo é muito mais lento do que apenas usar o FS Timestamp.
Opções de configuração ou plugins podem permitir que você adicione funcionalidades exif como classificação/informações de dicas de ferramentas/etc.
Diferenças de FS
Nem todos os sistemas de arquivos usam carimbos de data/hora da mesma maneira. Alguns não suportam os mesmos carimbos ou estão configurados para não usar todos eles.
Somente os timestamps suportados podem ser copiados para qualquer sistema de arquivos de destino e somente se eles realmente existirem.
Certifique-se de que sua câmera grava
modified
/ marcações de data eaccessed
hora, não apenascreated
Ao instalar um sistema operacional ou configurar um armazenamento externo, certifique-se de usar um formato FS compatível com os recursos necessários. (Como, por exemplo, carimbos de data/hora).
Certifique-se de que as opções de montagem não estejam configuradas para ignorar timestamps ou outros recursos que você precisa.