Quicktime meta atom not parsing correctly

Locked
iclemartin
User
Posts:2
Joined:Thu Oct 29, 2015 6:35 pm
Are you a spambot?:no
Quicktime meta atom not parsing correctly

Post by iclemartin » Thu Oct 29, 2015 7:20 pm

which version of getID3() you're using: 1.9.10-201510111213
which version of PHP you're using: 5.5.11
specific error messages (if any): None

Supposedly back in 1.9.0 support for the com.apple.quicktime.location.ISO6709 atom was added and should appear in [quicktime][comments][gps_latitude]. Ref viewtopic.php?f=18&t=1157&p=3607&hilit=location#p3607

I have a .MOV file taken with an iPhone6 and using the demo.basic.php altered to read this .MOV file and output print_r($ThisFileInfo['quicktime']) there isn't any comment array element. If I use exiftool-10.04 I can see that the latitude/longitude information is in the file.

By adding a bit of debug output to module.audio-video.quicktime.php it appears that when a 'meta' atom is found QuicktimeParseContainerAtom isn't doing the right thing as it eventually calls QuicktimeParseAtom with some crazy parameters.

QuicktimeParseAtom: 'meta', 437, 3359638
QuicktimeParseContainerAtom( ) @ 3359646
QuicktimeParseAtom: ' ', 1751411826, 3359646

Looking a little deeper the first parameter to QuicktimeParseContainerAtom in this call ($atom_data) is 'hdlr mdta...' rather than something like ' dref...' in other calls.

Here is the sample file: http://allens-home.com/wp-content/uploa ... G_1310.mov

James Heinrich
getID3() v1 developer
Posts:1477
Joined:Fri May 04, 2001 4:00 pm
Are you a spambot?:no
Location:Northern Ontario, Canada
Contact:

Re: Quicktime meta atom not parsing correctly

Post by James Heinrich » Thu Oct 29, 2015 7:36 pm

Thank you for a very complete bug report.

As you noted, the data is stored in the 437-byte meta atom at the end of the file, which is currently not parsed, or not parsed correctly. I'll try and look into that and figure out why.

James Heinrich
getID3() v1 developer
Posts:1477
Joined:Fri May 04, 2001 4:00 pm
Are you a spambot?:no
Location:Northern Ontario, Canada
Contact:

Re: Quicktime meta atom not parsing correctly

Post by James Heinrich » Sat Nov 21, 2015 7:40 pm


iclemartin
User
Posts:2
Joined:Thu Oct 29, 2015 6:35 pm
Are you a spambot?:no

Re: Quicktime meta atom not parsing correctly

Post by iclemartin » Tue Nov 24, 2015 11:43 pm

Looks good. Thanks!

Locked