ExifTool Forum

General => Other Discussion => Topic started by: ermlin on November 26, 2024, 08:58:25 AM

Title: Problem with trail camera videos metadata
Post by: ermlin on November 26, 2024, 08:58:25 AM
Hi!

This is my first time working with metadata. I'm trying to get date & time information from trail camera videos. I'm working with the package camtrapR on R, but it seems there's a problem with the videos (I tried to attach one, but it is too heavy).


> videos <- file.path("~/Desktop/Analisi/Video/") 
> datatime <- recordTable(inDir  = videos,
+                                IDfrom = "directory",
+                                video  = list(file_formats = c("jpg", "mp4"),
+                                              dateTimeTag  = "QuickTime:CreateDate")
+ )
timeZone is not specified. Assuming UTC
A01:      2 images    1 duplicates removed      |=====              |  25%
Error in (function (intable, deltaTimeComparedTo, columnOfInterest, recordDateTimeCol = "DateTimeOriginal",  :
  Could not read any Exif DateTimeOriginal tag at station: A01 Consider checking for corrupted Exif metadata.

Suggestions?

Thank you so much,
Marco
Title: Re: Problem with trail camera videos metadata
Post by: StarGeek on November 26, 2024, 09:31:07 AM
You can put the video on a file hosting site such as Google Drive or Dropbox and create a share link.

But there may not be much we can do here because any R package has been created by a 3rd party. I don't think any of the regulars here work with R.

The error output seems to be indicating it can't find a DateTimeOriginal tag in the video. But DateTimeOriginal is an uncommon tag for video files.

You can use this command on the command line to view all date/time tags in the video
exiftool -time:all -G1 -a -s file.mp4