[ 
https://issues.apache.org/jira/browse/TIKA-2861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18094725#comment-18094725
 ] 

ASF GitHub Bot commented on TIKA-2861:
--------------------------------------

dschmidt commented on PR #2935:
URL: https://github.com/apache/tika/pull/2935#issuecomment-4920552888

   I've tested this end-to-end with a real Apple Live Photo pair (iPhone 15 
Pro, iOS 18.5) from the publicly available osxphotos test fixtures, using a 
tika-server docker image built from this branch and `PUT /rmeta`:
   
   * 
[C3090F66-942C-41D3-BEC7-4F2B4876A109.heic](https://github.com/RhetTbull/osxphotos/blob/main/tests/Test-Live-15.7.2.photoslibrary/originals/C/C3090F66-942C-41D3-BEC7-4F2B4876A109.heic)
 now yields `img:Content Identifier = CD28D161-D5EC-4CDE-8B60-DACCC1363B6B`
   * 
[C3090F66-942C-41D3-BEC7-4F2B4876A109_3.mov](https://github.com/RhetTbull/osxphotos/blob/main/tests/Test-Live-15.7.2.photoslibrary/originals/C/C3090F66-942C-41D3-BEC7-4F2B4876A109_3.mov)
 now yields `com.apple.quicktime.content.identifier = 
CD28D161-D5EC-4CDE-8B60-DACCC1363B6B` plus 
`com.apple.quicktime.location.ISO6709 = +36.0970-081.7844+1330.402/` mapped to 
`geo:lat`/`geo:long`/`geo:alt`
   
   The content identifier matches between the two files, so Live Photo 
pic/video pairing based on Tika output works now. Before this PR the identifier 
was missing entirely on the .mov side. The extracted GPS coordinates also agree 
between the image and the video, as expected for a real pair.
   
   I also verified the sample from the JIRA issue (an iPad Pro .MOV): its 
location `-35.2844+149.1214+573.764/` is extracted and mapped to the geo 
properties, including the altitude.
   




> MP4Parser not getting gps metadata
> ----------------------------------
>
>                 Key: TIKA-2861
>                 URL: https://issues.apache.org/jira/browse/TIKA-2861
>             Project: Tika
>          Issue Type: Bug
>          Components: metadata
>            Reporter: Junran
>            Priority: Major
>         Attachments: 1.mp4, 2.MOV
>
>
> Hello, MP4Parser is not getting video GPS metadata which is extracted for 
> images such as jpeg. I have checked both MP4 and MOV files, the files I 
> checked all have GPS Exif data embedded in the same fields as image. Any 
> idea? Thanks!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to