ExifTool Forum

General => Metadata => Topic started by: lombardata on February 02, 2021, 02:20:10 AM

Title: Add GoPro Acceleration and Gyroscope data to frames
Post by: lombardata on February 02, 2021, 02:20:10 AM
Hi everyone,
I'm new in the forum so I will start by saying that I am grateful to all the exiftool moderators for the work they have done so far.
I started using exiftool a month ago and, after taking my first steps in peace, I encountered a problem.
I have a GoPro video (.MP4) and would like to cut it into photos (with a clearly defined frequency) and then add the metadata from the video to the individual photos I generated in the previous step.
I have successfully extracted the metadata from the video (acceleration and gyrosocpo) into .csv files and cutted the video into pictures, but now the problem of aggregating the metadata to the photos remains.
I noticed that the tags "Acceleration" and "Gyroscope" already exist, but I don't understand how I can import them from a .csv file (by the way, for both variables I have the values on the 3 axes: x, y, z).
Thank you all in advance and I apologise if this question has already been asked (I have searched the forum but have not found a similar answer),
Lombardata
Title: Re: Add GoPro Acceleration and Gyroscope data to frames
Post by: Phil Harvey on February 02, 2021, 08:41:34 AM
You will need to write your own script to decide which of the Accelerometer/Gyroscope values corresponds to the frame of video you have extracted.  ExifTool doesn't have a mechanism to do this for you.

- Phil
Title: Re: Add GoPro Acceleration and Gyroscope data to frames
Post by: StarGeek on February 02, 2021, 09:58:29 AM
Also, the Gopro Acceleration and Gyroscope tags are not writable (see GoPro tags page (https://exiftool.org/TagNames/GoPro.html)).
Title: Re: Add GoPro Acceleration and Gyroscope data to frames
Post by: lombardata on February 02, 2021, 11:41:54 PM
ok,
thank you very much !
So I've to create 2 new tags (using https://www.exiftool.org/config.html) and then attach the metadata thanks to the time?
Have a good day and congratulations for this tool, it's very useful :D
Title: Re: Add GoPro Acceleration and Gyroscope data to frames
Post by: Julitocas85 on January 31, 2022, 01:57:54 AM
Good day I'm very new to this tool, thanks for any help you can provide. I have a GoPro 10 and wanted to extract all the meta data included in it, I was able to create a GPX file but it doesn't contain any information about my leaning angle, I was wondering if anyone can help me to get it so that I can improve my anĂ¡lisis on videos of track days thanks so much in advance I used -ee
Title: Re: Add GoPro Acceleration and Gyroscope data to frames
Post by: Phil Harvey on January 31, 2022, 08:45:28 AM
Can you provide a sample so I have something for testing?

- Phil