nextcloud / maps

🌍🌏🌎 The whole world fits inside your cloud!
https://apps.nextcloud.com/apps/maps
GNU Affero General Public License v3.0
502 stars 89 forks source link

Placement of iPhone MOV video on map #182

Open mcmara opened 5 years ago

mcmara commented 5 years ago

The iOS MOV container includes GPS information, as for example:

$ mediainfo IMG_2477.MOV 
General
Complete name                            : IMG_2477.MOV
Format                                   : MPEG-4
Format profile                           : QuickTime
Codec ID                                 : qt   0000.00 (qt  )
File size                                : 20.1 MiB
Duration                                 : 3 s 537 ms
Overall bit rate mode                    : Variable
Overall bit rate                         : 47.7 Mb/s
Encoded date                             : UTC 2017-08-23 23:33:29
Tagged date                              : UTC 2017-08-23 23:33:33
Writing library                          : Apple QuickTime
com.apple.quicktime.location.ISO6709     : +39.6459-079.9797+276.269/
com.apple.quicktime.make                 : Apple
com.apple.quicktime.model                : iPhone 6s Plus
com.apple.quicktime.software             : 10.3.3
com.apple.quicktime.creationdate         : 2017-08-23T19:33:29-0400

Is there any workaround for placing the video on the map based on the included GPS info?

jancborchardt commented 5 years ago

At the moment it’s not displayed at all, or what happens?

I’d say yes, it should be shown on the map just like the pictures. :) @nextcloud/maps?

car-gli commented 5 years ago

I would wish the same feature for mp4 video from android, the info is found here under the strange tag xyz:

`mediainfo VID_20170414_163301.mp4

General Complete name : VID_20170414_163301.mp4 Format : MPEG-4 Format profile : Base Media / Version 2 Codec ID : mp42 (isom/mp42) File size : 136 MiB Duration : 1 min 6 s Overall bit rate mode : Variable Overall bit rate : 17.3 Mb/s Encoded date : UTC 2017-04-14 09:33:01 Tagged date : UTC 2017-04-14 09:33:01 xyz : +13.2979+100.9032/ com.android.version : 7.0

Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : Baseline@L4 Format settings : 1 Ref Frames Format settings, CABAC : No Format settings, ReFrames : 1 frame Format settings, GOP : M=1, N=31 Codec ID : avc1 Codec ID/Info : Advanced Video Coding Duration : 1 min 6 s Source duration : 1 min 6 s Bit rate mode : Variable Bit rate : 17.0 Mb/s Width : 1 920 pixels Height : 1 080 pixels Display aspect ratio : 16:9 Frame rate mode : Variable Frame rate : 30.000 FPS Minimum frame rate : 21.978 FPS Maximum frame rate : 46.899 FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.273 Stream size : 134 MiB (99%) Source stream size : 134 MiB (99%) Title : VideoHandle Language : English Encoded date : UTC 2017-04-14 09:33:01 Tagged date : UTC 2017-04-14 09:33:01 mdhd_Duration : 66096

Audio ID : 2 Format : AAC Format/Info : Advanced Audio Codec Format profile : LC Codec ID : mp4a-40-2 Duration : 1 min 6 s Bit rate mode : Constant Bit rate : 192 kb/s Channel(s) : 2 channels Channel positions : Front: L R Sampling rate : 48.0 kHz Frame rate : 46.875 FPS (1024 SPF) Compression mode : Lossy Stream size : 1.51 MiB (1%) Title : SoundHandle Language : English Encoded date : UTC 2017-04-14 09:33:01 Tagged date : UTC 2017-04-14 09:33:01 mdhd_Duration : 66005 `

luxzg commented 1 year ago

Bumping up this request. At least in my case I haven't noticed any videos on the Maps. I have videos from several Android phones, GoPro camera, and such, all of them have coordinates in metadata, but none can be found on the map. On the other hand, if I click file info on a video (in Memories or Photos apps) I can see map background and pin on the exact GPS location from file.

Just seems like a missed opportunity. Hope it gets added eventually :)

Edit: noticed this morning that maps section in Memories app shows videos, while at the same location Maps app doesn't have them.