9 thoughts on “Reading GPS Latitude and Longitude from Image and Video Files

  1. Great. Now how to WRITE geo tags to MP4 containers?
    I’m looking for a command line, Linux compatible tool that can do that.

    Any suggestion?

    Thank you

  2. The part about Symbian is not true, my N8 was able to do it out of the box without any firmware updates or additional software…for pictures AND video. The N8 came out way before your post…like more than a year I think…?

  3. That looks an odd lat / long format does

    North or South Latit|N
    Latitude |42.00, 39.00, 24.67

    mean 42° 39′ 24.67” N?

  4. sorry for necroposting but since android 4.0, videos are no more in 3gp, but in MP4 with geotag.


    $ mediainfo VID_20120423_162955.mp4
    General
    Complete name : VID_20120423_162955.mp4
    Format : MPEG-4
    Format profile : Base Media
    Codec ID : isom
    File size : 28.8 MiB
    Duration : 1mn 16s
    Overall bit rate : 3 136 Kbps
    : +48.5345+001.8935/

    Video
    ID : 1
    Format : AVC
    ....

  5. Just a general comment – storing persistent geographic information about device location/orientation and indeed geographic descriptors in video files is by no means trivial. As pointed out in posts above, it’s due to various video encoding formats and supported standards when moving media from one platform environment to another. Also it’s one thing to have location but many SmartPhones now support orientation so, possible to record camera orientation (to some degree of accuracy at least)….sometimes its useful to know where the imaging sensor is pointing. Geospatial tagging should also be supported, enabling users tag frame inside full motion video streams. Devising a universal standard that would allow additional intelligence such as location, orientation, tag descriptors to be captured, stored, discovered, edited within the video file would be an elegant solution but the likelihood is that this is not going to happen anytime soon. The short term solution is to synchronise and store this data in an associated file.

    We have just developed a basic geospatial multimedia demonstrator platform (University spinout) Ubipixhttp://www.ubipix.com – it allows the user to capture geocoded video as well as image collections from Android and iPhone, tag these and upload these location tagged streams directly up onto ubipix.com….use can edit tags etc….its still pretty basic.

    We are presently upgrading tagging functionality and also implementing a ‘Groups’ facility where users can establish and moderate their own groups. User can also drop their clips (iFrame like) into their own web pages by replacing ‘playvideo’ with ‘generic_player’ in the URL eg just change the URL from

    Standard Ubipix Interaction Page for one clip

    http://www.ubipix.com/playvideo.php?id=394e04cb

    to

    Ubipix Generic Clip URL

    http://www.ubipix.com/generic_player.php?id=394e04cb

    tim

    tim.mccarthy@nuim.ie

  6. Hi Guys

    Thanks for the article, the question that I have is that I have a video in an H.264 format, generated from a unit that records videos and has a GPS plugged in to it. I want to extract the GPS data from the video file, since the GPS data is embedded on the video file.
    Thanks

Leave a Reply

Your email address will not be published. Required fields are marked *