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

   JIRA: https://issues.apache.org/jira/browse/TIKA-4802
   
   `MP4Parser` reads the average audio bitrate from the sound track's `esds` 
(TIKA-4779) but does not expose the video track's bitrate. A new 
`TikaMp4VideoHandler` (mirroring `TikaMp4SoundHandler`) reads the average 
bitrate from the video sample entry's `btrt` BitRateBox and sets it as 
`video:bitrate`.
   
   Tested against a 1.8 KB ffmpeg-generated clip (`testMP4Video.mp4`, `btrt` 
avgBitrate 6536). The `esds` path (legacy MPEG-4 Part 2 video) is out of scope; 
modern H.264/HEVC carry the bitrate in `btrt`.
   
   Overlaps #2982 (TIKA-4800), which adds the same `Video.java` and 
`testMP4Video.mp4` fixture; whichever merges second has a trivial rebase.
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to