ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: Meypqr on April 11, 2023, 07:14:32 AM

Title: Read accelerometer data if no GPS data
Post by: Meypqr on April 11, 2023, 07:14:32 AM
I need the accelerometer data from my Azdome GS63H, to try some stabilizing. The camera is already supported (see QuickTimeStream.pl line 1424 (https://github.com/exiftool/exiftool/blob/master/lib/Image/ExifTool/QuickTimeStream.pl#L1424)), but my problem is as follows:
I normally do not have GPS data, so "return 0" in line 1458 kicks in, as there are only zeros and no [NS] or [EW].

.\exiftool -ee -V3 video.MP4
...
Type='gps ', Sample 3 of 600 (32768 bytes)
  8b9818: 00 00 80 00 66 72 65 65 47 50 53 20 05 01 00 00 [....freeGPS ....]
  8b9828: 01 03 aa aa f2 e1 f0 ee 54 54 98 9a 98 99 9a 9e [........TT......]
  8b9838: 9b 9a 9b 9b 99 9b 9f 9a a6 e5 f9 e1 eb f8 8a 8a [................]
  8b9848: 8a 8a aa aa aa aa aa a9 9a 9a 9a 9a 9a 9a 9a 9a [................]
  8b9858: 9a 9a 9a 9a 9a 9a 9a 9a 9a 9a 9a 9a 9a 9a 9a 9a [................]
    [snip 32688 bytes]
[decrypted freeGPS data]
    0000: 00 00 58 4b 5a 44 fe fe 32 30 32 33 30 34 31 30 [..XKZD..20230410]
    0010: 31 31 33 31 35 30 0c 4f 53 4b 41 52 20 20 20 20 [113150.OSKAR    ]
    0020: 00 00 00 00 00 03 30 30 30 30 30 30 30 30 30 30 [......0000000000]
    0030: 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 [0000000000000000]
    0040: 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [0...............]
    [snip 177 bytes]
...

So no GPS data is saved (OK), but also no accelerometer data is read (line 1468) (not OK).
The data is present, as I can view it in the Azdome application.

It would be great if this could be fixed. Thank you.
Title: Re: Read accelerometer data if no GPS data
Post by: Phil Harvey on April 11, 2023, 09:51:35 AM
I will look into this if you can send me a sample for testing (philharvey66 at gmail.com)

- Phil
Title: Re: Read accelerometer data if no GPS data
Post by: Meypqr on April 11, 2023, 10:13:01 AM
As I had to upload the file to Google Drive anyways, I just share it here:
short video with lots of movement (https://drive.google.com/file/d/1FJST_guRlI4eUVLb2G1vXeXc5gD9ewsd/view)

I also added a shcreenshot of the Azdome application.

AzdomeApp.jpg
Title: Re: Read accelerometer data if no GPS data
Post by: Phil Harvey on April 11, 2023, 03:00:51 PM
I got your file, thanks.

ExifTool 12.61 (to be released within a few days) will extract timed GPSDateTime (presumably generated from the internal clock), and Accelerometer from this video with the -ee option.

- Phil
Title: Re: Read accelerometer data if no GPS data
Post by: Meypqr on April 12, 2023, 02:58:27 AM
Great news, thank you!