Decode 10 bit Video to Texture?

I am using google chrome on windows 10 to decode a 10 color bit depth video encoded with x264. It is played through an html5 video element and sent to THREE.js video texture as the source.

Will the video element compress the 10 bit video down to 8 bit for playback, therefore feeding only 8 bit data to the texture? Or does webgl extract all 10 bits? My results indicate 8 bit, but any feedback on this topic would be very helpful.

Yes since it’s only possible to use 8 bits per color channel. A workaround is the usage of floating point textures. More information in this thread: