juanmcasillas / gopro2gpx

Parse the gpmd stream for GOPRO moov track (MP4) and extract the GPS info into a GPX (and kml) file.
GNU General Public License v3.0
197 stars 50 forks source link

TypeError: 'module' object is not callable #16

Closed sbonaime closed 3 years ago

sbonaime commented 3 years ago

After installation with pip install git+https://github.com/juanmcasillas/gopro2gpx On my mac 11.3 I have this error

gopro2gpx -s GH011227_saut.MP4 test
GPSFIX change to 3 [lock 3D (ok)]
-- stats -----------------
- Ok:                202
- GPSFIX=0 (bad):      0 (skipped: 0)
- Empty (No data):     0
Total points:        202
--------------------------
Traceback (most recent call last):
  File "/usr/local/bin/gopro2gpx", line 33, in <module>
    sys.exit(load_entry_point('gopro2gpx==0.1', 'console_scripts', 'gopro2gpx')())
TypeError: 'module' object is not callable

gpx and kml are created but the speed is off of more than 300km/h ! With the same file in https://goprotelemetryextractor.com/free/ I can see that I don't have any gps problems and the speed is correct. Any ideas ? Thanks

Simske commented 3 years ago

Hi, the the TypeError should be fixed by #15, maybe try to install from the PR, but I'm confused why it ran anyway.

As to the speed problem I have no idea what is wrong there. Is only the speed messed up, or are the coordinates also wrong?

sbonaime commented 3 years ago

15 fix the error thanks.

I still have some weird speed and vertical speed. I created a new issue #17

Capture d’écran 2021-05-04 à 04-05-21 14 49 05