Fix time of photos intervals

Hi,
Recently I bought Gopro Hero 8.
Unfortunately when I set time lapse photo interval to 0.5sec, sometimes the time of photo is not accurate (about 1 minute) but the position of the photos are correct, that cause photos in mapillary are in their correct place but wrong sort in sequence.
I tried use_gps_time somotetimes this fix times issues but in some photos still there is 0.5sec gap.
Is there any command or way to load the 1st image exact time and add 0.5 sec interval to next images? (photos are sorted by their name).

I have certainly done it by “touching” each image with a sequential time offset, then writing that back into the EXIF for later processing. It’s a Linux based script. I’d have to dig it out so please get back to me if you can use it

Thank you @bob3bob3
Unfortunately I have only macOS and windows.
:frowning:

macOS I believe is basically a Unix CLI. (So if you wish to try)

My horrible code is below. You would have to adapt it. “STAMP” will be the first image date/time and the filename pattern would need altering.

Basically it makes the file modify date/time increase by 0.5 secs per image. “jhead” is a utility that writes EXIF data.

touch -d “$STAMP” $1_000001.jpg

PRIOR=$1_000001.jpg
for F2C in ls -1 *.jpg|tac|head -n -1|tac ; do
touch -r “$PRIOR” -d ‘+0.5 sec’ “$F2C”
PRIOR=$F2C
done

TZ=utc jhead -mkexif -dsft *.jpg

1 Like