Hello,
Is there away to create custom tags/fields and data type in quicktime .mp4 using exiftools?
I want to create the following tags/fields
GPSLatitudeRef
GPSlatitude
GPSLongitudeRef
GPSlongitude
Example of tag and data
GPSLatitudeRef=North
GPSlatitude=12°07'02.6040"
GPSLongitudeRef=West
GPSlongitude=-068°14'04.5600"
Thanks for your assistance
Gregory
Hi Gregory,
You can already do exactly this by writing these XMP tags to MP4 files. The only difference is that with XMP the reference directions are combined into the lat/long values, so the command would be:
exiftool -GPSlatitude=12°07\'02.6040\"N -GPSlongitude=068°14\'04.5600\"W file.mp4
(here I have escaped the quotes for Mac/Linux. On Windows, I'm not sure how to do this, so it may be easier to just drop the special characters.)
- Phil
I am getting an error
1 image file read
1 files could not read
I also tried
exiftool -v2 -GPSlatitude=12°07\'02.6040\"N -GPSlongitude=068°14\'04.5600\"W file.mp4
I get the same error.
Now I did run a program called MetaX which added a number of tags/fields to the quicktime area. I do not think it would be causing a program because exiftools gui is able to read all the tags with out a problem.
Since you use ExifToolGUI I assume you are on Windows. As I said, try dropping the special characters. Try this:
exiftool -v2 -GPSlatitude=12d07m02.6040N -GPSlongitude=068d14m04.5600W file.mp4
If you get errors this time, please paste them into your post.
- Phil
Using this under windows worked for me:
exiftool "-GPSlatitude=12°07'02.6040\"N" "-GPSlongitude=068°14'04.5600\"W"
Including double quotes works weird under Windows. You can usually escape it with a backslash, but there's seems to be a limit of some sort. Sometimes my command lines fail if I have a lot included. I've never been able to narrow it down exactly and I'm pretty sure it's Windows getting in the way.
Thanks that worked.