ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: lsquare on August 06, 2014, 04:20:55 AM

Title: Can ExifTool geotag video files?
Post by: lsquare on August 06, 2014, 04:20:55 AM
I've spent a lot of time researching this subject without much success. It seems like there isn't even a metadata standard for videos. Devices like the iPhone 5s can geotag videos that it creates. It's the same with Instagram. I don't know of any tools that will allow me to geotag video files (MP4, MOV, or AVI). Any help here will be greatly appreciated.
Title: Re: Can ExifTool geotag video files?
Post by: Phil Harvey on August 15, 2014, 07:57:58 PM
Sorry for the delay in responding.  I'm currently on vacation.

ExifTool can geotag MOV and MP4 videos using XMP metadata.  It currently doesn't have write support for AVI.

There is no good standard for doing this, however, and I doubt you will find any utilities that will recognize an XMP-geotagged movie.

- Phil
Title: Re: Can ExifTool geotag video files?
Post by: lsquare on August 16, 2014, 10:23:22 AM
Quote from: Phil Harvey on August 15, 2014, 07:57:58 PM
Sorry for the delay in responding.  I'm currently on vacation.

ExifTool can geotag MOV and MP4 videos using XMP metadata.  It currently doesn't have write support for AVI.

There is no good standard for doing this, however, and I doubt you will find any utilities that will recognize an XMP-geotagged movie.

- Phil

No problem and thank you for taking the time to respond to my questions.

I don't know what XMP metadata is. Does that involve sidecar files? Basically I'm looking for a solution that will enable iPhoto or the iOS Photos app to recognize it. How does the iPhone geotag the videos that it produces? Does Apple even provide documentation for that?
Title: Re: Can ExifTool geotag video files?
Post by: Phil Harvey on August 16, 2014, 02:26:37 PM
The iPhone writes GPS in native QuickTime metadata.  I have not seen documentation for this however.  Other than perhaps AtomicParsley (with a lot of hard work), I don't know of any software that would be able to write this.

- Phil
Title: Re: Can ExifTool geotag video files?
Post by: lsquare on August 17, 2014, 02:56:06 AM
Quote from: Phil Harvey on August 16, 2014, 02:26:37 PM
The iPhone writes GPS in native QuickTime metadata.  I have not seen documentation for this however.  Other than perhaps AtomicParsley (with a lot of hard work), I don't know of any software that would be able to write this.

- Phil

So I guess there is nothing on the horizon that will allow me to geotag my videos? I wonder why videos don't have an EXIF standard of its own?
Title: Re: Can ExifTool geotag video files?
Post by: craynicon on September 13, 2015, 04:09:24 PM
Hi Phil.

Could you please tell me the syntax to geotag a MP4 video with ExifTool? I don't see nothing about it in the documentation.
Title: Re: Can ExifTool geotag video files?
Post by: StarGeek on September 13, 2015, 05:37:20 PM
Take a look at the Geotagging with ExifTool page (http://www.exiftool.org/geotag.html).
Title: Re: Can ExifTool geotag video files?
Post by: craynicon on September 13, 2015, 06:22:50 PM
I've seen that, but it's about geotagging images, not videos. :/
Title: Re: Can ExifTool geotag video files?
Post by: Phil Harvey on September 13, 2015, 08:45:24 PM
For an MP4 you would need to write XMP.

See the 4th example here (https://exiftool.org/geotag.html#Examples) for how to do this.

Also, you need to add -ext mp4 to your command if you are specifying a directory name.

- Phil