MATLAB: VideoReader support for 10-bit h.264 MP4 files

MATLABvideoreader 10-bit/channel mp4 h.264

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?

Best Answer

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.