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

Junran commented on TIKA-2861:
------------------------------

Thank you so much! I have tested with tika-app-1.21-20190502.215314-47.jar for 
1.mp4 and getting the below:
<?xml version="1.0" encoding="UTF-8"?><html 
xmlns="http://www.w3.org/1999/xhtml";>
<head>
<meta name="date" content="2019-03-29T04:36:39Z"/>
<meta name="X-Parsed-By" content="org.apache.tika.parser.DefaultParser"/>
<meta name="X-Parsed-By" content="org.apache.tika.parser.mp4.MP4Parser"/>
<meta name="meta:creation-date" content="2019-03-29T04:36:39Z"/>
<meta name="geo:lat" content="-35.2840"/>
<meta name="Creation-Date" content="2019-03-29T04:36:39Z"/>
<meta name="tiff:ImageLength" content="1080"/>
<meta name="resourceName" content="1.mp4"/>
<meta name="dcterms:created" content="2019-03-29T04:36:39Z"/>
<meta name="dcterms:modified" content="2019-03-29T04:36:39Z"/>
<meta name="Last-Modified" content="2019-03-29T04:36:39Z"/>
<meta name="Last-Save-Date" content="2019-03-29T04:36:39Z"/>
<meta name="xmpDM:audioSampleRate" content="1000"/>
<meta name="meta:save-date" content="2019-03-29T04:36:39Z"/>
<meta name="modified" content="2019-03-29T04:36:39Z"/>
<meta name="geo:long" content="+149.1215"/>
<meta name="Content-Length" content="5721559"/>
<meta name="tiff:ImageWidth" content="1920"/>
<meta name="xmpDM:duration" content="2.64"/>
<meta name="Content-Type" content="video/mp4"/>
<title/>
</head>
<body/></html>

But when testing mov file the gps information is still not there. See attached 
mov file and the output below:
<?xml version="1.0" encoding="UTF-8"?><html 
xmlns="http://www.w3.org/1999/xhtml";>
<head>
<meta name="date" content="2019-05-01T00:42:11Z"/>
<meta name="X-Parsed-By" content="org.apache.tika.parser.DefaultParser"/>
<meta name="X-Parsed-By" content="org.apache.tika.parser.mp4.MP4Parser"/>
<meta name="meta:creation-date" content="2019-05-01T00:42:08Z"/>
<meta name="Creation-Date" content="2019-05-01T00:42:08Z"/>
<meta name="tiff:ImageLength" content="1080"/>
<meta name="resourceName" content="2.MOV"/>
<meta name="dcterms:created" content="2019-05-01T00:42:08Z"/>
<meta name="dcterms:modified" content="2019-05-01T00:42:11Z"/>
<meta name="Last-Modified" content="2019-05-01T00:42:11Z"/>
<meta name="Last-Save-Date" content="2019-05-01T00:42:11Z"/>
<meta name="xmpDM:audioSampleRate" content="600"/>
<meta name="meta:save-date" content="2019-05-01T00:42:11Z"/>
<meta name="modified" content="2019-05-01T00:42:11Z"/>
<meta name="Content-Length" content="5222636"/>
<meta name="tiff:ImageWidth" content="1920"/>
<meta name="xmpDM:duration" content="2.6"/>
<meta name="Content-Type" content="application/mp4"/>
<title/>
</head>
<body/></html> [^2.MOV] 

> 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
(v7.6.3#76005)

Reply via email to