thomergil / gopro-map-sync

Tools to synchronize GoPro footage with a moving map
MIT License
41 stars 2 forks source link

Error: not enough values to unpack (expected at least 2, got 1) #2

Open 4tler opened 3 months ago

4tler commented 3 months ago

Hello,

unfortunately I have the problem that when calculating the videos I always get the following error message:

Traceback (most recent call last):
  File "/src/gopro-map-sync/gpxmapmovie", line 351, in <module>
    main()
  File "/src/gopro-map-sync/gpxmapmovie", line 215, in main
    mp4_data = FFProbe(mp4_file)
  File "/root/.local/share/virtualenvs/gopro-map-sync-7dQxwPPo/lib/python3.7/site-packages/ffprobe/ffprobe.py", line 54, in __init__
    self.streams.append(FFStream(data_lines))
  File "/root/.local/share/virtualenvs/gopro-map-sync-7dQxwPPo/lib/python3.7/site-packages/ffprobe/ffprobe.py", line 114, in __init__
    self.__dict__.update({key: value for key, value, *_ in [line.strip().split('=')]})
  File "/root/.local/share/virtualenvs/gopro-map-sync-7dQxwPPo/lib/python3.7/site-packages/ffprobe/ffprobe.py", line 114, in <dictcomp>
    self.__dict__.update({key: value for key, value, *_ in [line.strip().split('=')]})
ValueError: not enough values to unpack (expected at least 2, got 1) 

Data comes from a GoPro Black 9.

At the end I get the GPX file but no video.

The Docker command under Windows is as follows:

C:\Users\User>docker run --mount="type=bind,source=C:/Users/User/Downloads/videos,target=/videos/" thomergil/gpxmapmovie  --input /videos/GH010076.MP4 --output /videos/GH010076_map.MP4