[
https://issues.apache.org/jira/browse/TIKA-3408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17349149#comment-17349149
]
Nick Burch commented on TIKA-3408:
----------------------------------
Ah, I wonder if that's a bug in the version of the mp4 library used in 1.26?
The output I shared came from a recent build.
Trying with the latest code in the 1.x branch, the full metadata I get is
{{Content-Length: 24971183}}
{{Content-Type: video/mp4}}
{{Creation-Date: 2014-02-26T04:54:58Z}}
{{Last-Modified: 2014-02-26T04:54:58Z}}
{{Last-Save-Date: 2014-02-26T04:54:58Z}}
{{X-Parsed-By: org.apache.tika.parser.DefaultParser}}
{{X-Parsed-By: org.apache.tika.parser.mp4.MP4Parser}}
{{date: 2014-02-26T04:54:58Z}}
{{dcterms:created: 2014-02-26T04:54:58Z}}
{{dcterms:modified: 2014-02-26T04:54:58Z}}
{{meta:creation-date: 2014-02-26T04:54:58Z}}
{{meta:save-date: 2014-02-26T04:54:58Z}}
{{modified: 2014-02-26T04:54:58Z}}
{{resourceName: Video No 1 Denny and Tanner.mp4}}
{{tiff:ImageLength: 720}}
{{tiff:ImageWidth: 1280}}
{{xmpDM:audioSampleRate: 600}}
{{xmpDM:duration: 75.54}}
And a build from main for 2.x I get
{{Content-Length: 24971183}}
{{Content-Type: video/mp4}}
{{X-TIKA:Parsed-By: org.apache.tika.parser.DefaultParser}}
{{X-TIKA:Parsed-By: org.apache.tika.parser.mp4.MP4Parser}}
{{dcterms:created: 2014-02-26T04:54:58Z}}
{{dcterms:modified: 2014-02-26T04:54:58Z}}
{{resourceName: Video No 1 Denny and Tanner.mp4}}
{{tiff:ImageLength: 720}}
{{tiff:ImageWidth: 1280}}
{{xmpDM:audioSampleRate: 600}}
{{xmpDM:duration: 75.54}}
Can you try a newer version of Tika? (Snapshot build, or wait a few days for
2.0beta1 assuming the release vote passes)
> Apache Tika 1.26 Metadata for MP4 and MP3.
> ------------------------------------------
>
> Key: TIKA-3408
> URL: https://issues.apache.org/jira/browse/TIKA-3408
> Project: Tika
> Issue Type: Bug
> Components: core, parser
> Affects Versions: 1.26
> Reporter: Danny McKinney
> Priority: Minor
>
> Currently parser is returning incorrect date information form mp3 files and
> mpeg4 files. Our sample is returning date fields with epoch date values which
> start at 1904. Also the mp3 file is not returning date value although one is
> part of the header information. I have attached sample program and data files.
>
> Files (Upload Did not Work):
> [https://drive.google.com/file/d/1qQmRcqABkwfrR1uuO_m3scXl2dKzxtv4/view?usp=sharing]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)