Extract GPS data from Video File

Moderators: Disciple, zlovatt

Post Reply
kobyg
Posts: 128
Joined: December 7th, 2007, 10:11 am

Hi,
My Sony HD camera has a built-in GPS and it stores the GPS location in the Video file.
Can I extract that data using an expression or a script ?

For still images, the camera saves GPS data in the EXIF properties of the JPEG file (then uploading pictures to Picasa recognizes this GPS data and automaticaly positions the picture on the correct location on the map).
Does Video files have EXIF too...?
Can a script or expression access it?

Has anyone experienced with EXIF extraction?
Any thougts or ideas would be thankfull!

Thanks,
Koby.
Dan Ebberts
Posts: 320
Joined: June 26th, 2004, 10:01 am
Location: Folsom, CA
Contact:

If it's metadata, you should be able to get at it with a script. It can be tricky, but it should be doable.

Dan
kobyg
Posts: 128
Joined: December 7th, 2007, 10:11 am

Thanks Dan.
Could you point me to some example of a script reading the metadata?
Is the EXIF is the same as metadata...?

Thanks,
Koby.
Dan Ebberts
Posts: 320
Joined: June 26th, 2004, 10:01 am
Location: Folsom, CA
Contact:

The JavaScript Tools Guide has a whole chapter on scripting access to metadata:

http://www.adobe.com/devnet/scripting/p ... de_cs4.pdf

There's also a bunch of stuff here:

http://www.adobe.com/devnet/xmp/

It looks like EXIF is one of the supported schemas.

Dan
kobyg
Posts: 128
Joined: December 7th, 2007, 10:11 am

Many thanks Dan!
I will check those links, and if I come up with a script that can help others I will post it here.

Thanks again,
Koby.
User avatar
lloydalvarez
Enhancement master
Posts: 460
Joined: June 17th, 2004, 9:27 am
Location: New York City, NY
Contact:

Hi Koby,

Both my Batch Search and Replace Paths http://aescripts.com/batch-search-n-replace-paths/ and my Photo Orientation Fixer http://aescripts.com/photoorientationfixer/ scripts work with metadata, the later works with EXIF data specifically. Hope you find them helpful and if you come up with a cool script that you'd like to host on aescripts.com let me know.

Lloyd
kobyg
Posts: 128
Joined: December 7th, 2007, 10:11 am

Thanks Lloyd!
An example is what I was looking for!
I'll certainly check out your scripts.
And I will let you know if I come with something nice and benefitial to others.

Thanks again!
Koby.
Post Reply