Site icon Bytefreaks.net

Change date in GoPro video files

Advertisements

Recently, we made some time-lapses with our GoPro camera which was not used for some time and discharged. Due to that, the date and time configuration of the camera was wrong and the resulting video files had wrong metadata information in their EXIF.

To update the dates in the produced video files we used the exiftool that is shipped in the perl-Image-ExifTool package. We use Fedora, so we used dnf to install the application with all needed dependencies as follows:


sudo dnf install -y perl-Image-ExifTool;

After installing exiftool, we used the following commands to change the dates and times of the video named GOPR6426 (and its preview / thumbnail video):


$ mydate='2018:02:23 15:20:00';
$ exiftool "-AllDates=$mydate" "-TrackCreateDate=$mydate" "-TrackModifyDate=$mydate" "-MediaCreateDate=$mydate" "-MediaModifyDate=$mydate" -overwrite_original GOPR4626.*;

Notes:

Link to a newer post that handles folders of pictures and video using the time difference between the real date and the camera date.

This post is also available in: Greek

Exit mobile version