Dominik Schmidt created TIKA-4803:
-------------------------------------
Summary: Expose the raw MP4 audio/video codec fourCC
Key: TIKA-4803
URL: https://issues.apache.org/jira/browse/TIKA-4803
Project: Tika
Issue Type: New Feature
Reporter: Dominik Schmidt
MP4Parser exposes the video codec only as the human-readable compressor name
(xmpDM:videoCompressor, from Mp4VideoDirectory.TAG_COMPRESSOR_NAME, which is
often descriptive or empty) and does not expose the audio codec fourCC at all.
The actual 4-character sample-entry format code (avc1, hvc1, mp4a, ...) is more
precise and stable for consumers.
I've sent a PR to metadata-extractor to retain that raw code
(https://github.com/drewnoakes/metadata-extractor/pull/743) via the new
TAG_COMPRESSION_TYPE_RAW / TAG_AUDIO_FORMAT_RAW tags).
We should map it to Tika metadata for both the video and audio tracks.
Blocked by: a metadata-extractor release containing that fix, plus the
corresponding version bump in Tika.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)