You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "dschmidt (via GitHub)" <gi...@apache.org> on 2026/07/30 13:33:24 UTC

[PR] TIKA-4800: Expose the MP4 frame rate, audio channels and sample size [tika]

dschmidt opened a new pull request, #2982:
URL: https://github.com/apache/tika/pull/2982

   JIRA: https://issues.apache.org/jira/browse/TIKA-4800
   
   metadata-extractor's `Mp4VideoDirectory` and `Mp4SoundDirectory` already populate the frame rate, channel count and audio sample size, but `MP4Parser` only mapped a subset. This forwards the three: `video:frame-rate` (a new `Video` property, since `XMPDM.VIDEO_FRAME_RATE` is a closed-choice text field), `audio:channels` (the raw count; `XMPDM.AUDIO_CHANNEL_TYPE` only distinguishes Mono/Stereo) and `audio:bits-per-sample`.
   
   One property per commit. Tests assert channels/bits against the existing `testMP4.m4a` (2 channels, 16 bits) and the frame rate against a new 1.8 KB ffmpeg-generated clip (`testMP4Video.mp4`, 10 fps).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@tika.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] TIKA-4800: Expose the MP4 frame rate, audio channels and sample size [tika]

Posted by "dschmidt (via GitHub)" <gi...@apache.org>.
dschmidt commented on PR #2982:
URL: https://github.com/apache/tika/pull/2982#issuecomment-5198371228

   Yes again 🤓 
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@tika.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] TIKA-4800: Expose the MP4 frame rate, audio channels and sample size [tika]

Posted by "tballison (via GitHub)" <gi...@apache.org>.
tballison commented on PR #2982:
URL: https://github.com/apache/tika/pull/2982#issuecomment-5195182481

   @dschmidt able to resolve conflicts? Thank you!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@tika.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] TIKA-4800: Expose the MP4 frame rate, audio channels and sample size [tika]

Posted by "tballison (via GitHub)" <gi...@apache.org>.
tballison merged PR #2982:
URL: https://github.com/apache/tika/pull/2982


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@tika.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org