Skip to content

Takes date from unstitched files with names like GPFR0089.MP4 and corrects the date on stitched files with names like like VIDEO_0089.mp4

Notifications You must be signed in to change notification settings

androng/Fusion_Date_Adjuster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

GoPro Fusion/Max Video File Date Adjuster

Modifies the modification date of the stitched GoPro video files to match the time they were taken, not the time that they were stitched. This makes these videos group together on the same date with the GoPro photos in Google Photos. (GoPro Fusion Studio saves "Date taken" for photos. Fusion Studio doesn't preserve "Date taken" for videos.)

Takes date from unstitched files with names like GPFR0089.MP4 and changes the date on stitched files with names like VIDEO_0089.mp4

Optionally renames stiched files with original date in the filename. Just uncomment the line in the script.

Files Before:

folderWith360Files/GS010010.360 
Date Taken: 2021-12-03 19:23:40

encodedFilesDir/GS010010.mp4 
Date created:  2021-12-11 21:23:29
Date modified: 2021-12-11 21:23:29

File after:

folderWith360Files/GS010010.360  <-- Not changed
Date Taken: 2021-12-03 19:23:40  <-- Not changed

encodedFilesDir/MAX_2021-12-08_18-37-42.mp4 <-- changed 
Date created:  2021-12-03 19:23:40   <-- not changed on Windows, changed on macOS
Date modified: 2021-12-03 19:23:40   <-- changed

Usage

 MaxCopyModifyDate.sh renderedFilesDir/ 100GFRNT/ 

Sample output

$ ~/Pictures/Scripts/GoProFusionDateAdjuster/GoProCopyModificationDate.sh ./ /Volumes/Jerry/Unrendered/100GFRNT/
touch -t 201808302210.00 ./VIDEO_0086.mp4
touch -t 201808310053.28 ./VIDEO_0089.mp4
touch -t 201808310348.53 ./VIDEO_0097.mp4
touch -t 201808310426.08 ./VIDEO_0099.mp4
touch -t 201808311105.54 ./VIDEO_0102.mp4
touch -t 201808311228.54 ./VIDEO_0104.mp4
touch -t 201808311234.14 ./VIDEO_0107.mp4
touch -t 201808311235.42 ./VIDEO_0108.mp4
touch -t 201808311241.23 ./VIDEO_0109.mp4
touch -t 201808311307.13 ./VIDEO_0113.mp4
touch -t 201808311434.17 ./VIDEO_0116.mp4
touch -t 201808311513.13 ./VIDEO_0117.mp4
touch -t 201808311600.51 ./VIDEO_0118.mp4

Tested on /bin/bash on macOS 10.13.6 Tested on Windows with Git bash

Known issues

  • Doesn't work if your directory has spaces in it

About

Takes date from unstitched files with names like GPFR0089.MP4 and corrects the date on stitched files with names like like VIDEO_0089.mp4

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages