Reputation: 3746
Not sure if this is a new problem with Chrome, but video that has been working for ages is suddenly showing as black and I get the below error when rendering.
The video size is 1920x1080
[.Offscreen-For-WebGL-08FD8CF0]GL ERROR :GL_INVALID_VALUE : glCopySubTextureCHROMIUM: source texture bad dimensions.
I'm using video as a ShaderMaterial on a sphere for VR video.
Is this something to do with a recent update or something I'm doing!?
Upvotes: 1
Views: 1645
Reputation: 3819
Thanks to @gman for tracking down the bug.
It looks like this is a (known) regression in Chromium, which is the engine that drives Google Chrome. It affects Version 57.0.x.x
(Version 57.0.2987.133
in my case, both Windows 7 and Ubuntu - others report the issue on Macs). It seems that the issue occurs when trying to play a video with "elongated pixels", and goes away when playing a video with "square pixels". Not a video processing expert here, but that's what I've derived from the thread. A work-around would be re-encoding/re-transcoding your videos, if you can.
Based on the Chrome stable release schedule, version 58 will be out 4/25/2017 (source), and based on the bug thread, it should hopefully be fixed by then.
Edit: This should be fixed in Chrome 58 and Chrome 59 (source).
Upvotes: 1