VideoReader support for 10-bit h.264 MP4 files

3 views (last 30 days)
When reading a 10-bit h.264 in mp4 container from the GH5 with VideoReader (2016b) I seem to get a good-looking file, but it is only displaying 8 bits and BitsPerPixel=24 - is there a different approach that can be used for reading these files and preserve the full bit depth?

Accepted Answer

Mudambi Srivatsa
Mudambi Srivatsa on 9 Jan 2017
videoReader does not support reading 10-bit H.264 MP4 files. Hence, the data is rescaled to 8-bit. There is no workaround currently available for this issue.
  1 Comment
Jonas Gustavsson
Jonas Gustavsson on 9 Jan 2017
Thanks for answering - hoping Mathworks can fix this in the future since I imagine higher bitdepth footage is the future!

Sign in to comment.

More Answers (1)

Will Reeves
Will Reeves on 30 Jul 2019
It's the middle of 2019... I personally don't think that VideoReader not supporting 10bit content is an "Acceptable answer". Do you?

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!