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

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

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).
   




> Expose the MP4 frame rate, audio channel count and audio sample size
> --------------------------------------------------------------------
>
>                 Key: TIKA-4800
>                 URL: https://issues.apache.org/jira/browse/TIKA-4800
>             Project: Tika
>          Issue Type: New Feature
>            Reporter: Dominik Schmidt
>            Priority: Major
>
> metadata-extractor's Mp4VideoDirectory and Mp4SoundDirectory already populate 
> TAG_FRAME_RATE, TAG_NUMBER_OF_CHANNELS and TAG_AUDIO_SAMPLE_SIZE, but 
> MP4Parser only maps a subset of them. Surface these three: the frame rate, 
> the raw audio channel count (today only the Mono/Stereo 
> xmpDM:audioChannelType is emitted, which cannot represent more than two 
> channels), and the audio sample size (bits per sample).



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

Reply via email to