Batch modify MP4 video dates

Solved
picsoin Posted messages 172 Status Member -  
picsoin Posted messages 172 Status Member -

Hello everyone,

Does anyone know of a tool, app, or command line for Windows or Linux to batch modify the modification and creation dates to match the creation date of the media (Media created).

ATTRIBUT CHANGER does this very well for photos, but it takes the EXIF attribute (date taken) which video files don't have.

Thank you

5 answers

  1. brucine Posted messages 25027 Registration date   Status Member Last intervention   4 170
     

    Hello,

    The only tool I see is ExifTool, but the result is not guaranteed, as the exif data is not standardized in an mp4 file.
    https://exiftool.org/

    Creation, modification, and last access dates are managed by Windows and are independent of additional exif data.

    If a simple batch manipulating these attributes is not available, we can try it this way:
    https://www.nirsoft.net/articles/change-media-created-acquired-date-multiple-mp4.html

    0
    1. picsoin Posted messages 172 Status Member 5
       

      I had forgotten about Exif tool!
      I'll have to read up and translate!!! :-)
      But I'm a small fry, Nirsoft looks pretty good...
      Let's give that a try
      Thank you

      0
      1. brucine Posted messages 25027 Registration date   Status Member Last intervention   4 170 > picsoin Posted messages 172 Status Member
         

        Nirsoft, to continue in English, is "self speaking".

        Exif Tool is not, but there are good tutorials in French with examples of the appropriate commands, for instance here.
        https://orchisere.fr/logiciels/html/exiftool.htm#2A

        0
    2. picsoin Posted messages 172 Status Member 5
       

      Brucine, you are the best!
      BulkFileChanger by Nirsoft.
      It's the simplest.
      Adding my 250 videos to a list, 3 checkboxes, and that's it!

      In summary

      Attribute changer (I prefer) for photos

      BulkFileChanger for videos

      0
  2. Panth33ra Posted messages 23162 Registration date   Status Member Last intervention   Ambassador 2 358
     

    Hello,

    Could this work?


    0
  3. picsoin Posted messages 172 Status Member 5
     

    """CHANGE ATTRIBUTE does this very well for photos but it takes the exif attribute (date taken) that video files do not have"""

    0
  4. Picsoin
     

    That's a reply, thank you!

    But "alldates" would correspond to the French equivalent of "Media created"?

    0
  5. brucine Posted messages 25027 Registration date   Status Member Last intervention   4 170
     

    No,

    Read the documentation in the links:
    https://exiftool.org/#shift

     Commonly, in JPEG images, the DateTimeOriginal, CreateDate and ModifyDate values must all be changed. For convenience, a Shortcut tag called AllDates has been defined to represent these three tags. So, for example, if you forgot to set your camera clock back 1 hour at the end of daylight savings time in the fall, you can fix the images with: exiftool -AllDates-=1 DIR

    The -AllDates switch represents all 3 of the above exifs, provided they exist in the target file.
    If I apply it to FileCreateDate, I declare that these 3 values, if they exist, will take the value of the FileCreateDate attribute.

    0