Bytefreaks.net – a place for hacks

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):