Shotwell date/time metadata for video files

I’ve compressed thousands of video files to .mp4 using handbrake. The date/time metadata shows as Jan 1, 1970, so I’ve been trying to use exiftools to copy the correct date/time metadata.

Where does Shotwell pull the date/time metadata for video files?

I’ve copied the tag “OriginalDateTime” which is the only tag in the original with the date/time, but Shotwell still shows Jan 1, 1970, even after removing and reimporting the video into Shotwell.

On the new video file, I noticed several of the tags just have 000s for the timestamp.

Thanks.

it’s one of if you look at the exiftool output or Xmp.video.ModificationDate for exiv2

Track Modify Date : 2020:04:23 14:49:14
Media Modify Date : 2020:04:23 14:49:14

If you run gst-discoverer-1.0 -v on one of those videos, do you get any tags shown in there?

No timestamp tags in gst-discoverer-1.0. exiftool does show the updated OriginalDateTime value copied from the original file.

Properties:
  Duration: 0:00:47.964000000
  Seekable: yes
  Live: no
  container #0: Quicktime
    video #1: H.264 (Main Profile)
      Stream ID: 3a939f6b56e43af25c34d06bdafa6396b1489949345e1258d1a8e1c04e0d211b/001
      Width: 1920
      Height: 1080
      Depth: 24
      Frame rate: 30000/1001
      Pixel aspect ratio: 1/1
      Interlaced: false
      Bitrate: 13895109
      Max bitrate: 13895109
    audio #2: MPEG-4 AAC
      Stream ID: 3a939f6b56e43af25c34d06bdafa6396b1489949345e1258d1a8e1c04e0d211b/002
      Language: <unknown>
      Channels: 2 (front-left, front-right)
      Sample rate: 48000
      Depth: 16
      Bitrate: 162745
      Max bitrate: 162745

Yeah so that is not “the correct time”. Sorry, the metadata handling on videos is very rudimentary.

This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.