Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
DASH video corruption seemingly at random #193
I've been watching DASH videos, and this is the second time I've had a corrupted video like this one.
There's sometimes a full-screen color change, but otherwise only the top few rows change.
It looks like the video files are somehow misaligned? It might come from proxying dropping a bit of data, or from a bug in the DASH player. A refresh fixes it, and usually after a minute or so it fixes itself.
I couldn't find a way to reproduce this issue reliably, but here's the link anyways:
I've had this issue on 2 separate machines, on Waterfox 56.2.3 on Win10/AMD and a Chromium 69.0 on Win8.1/Nvidia.
Does it reliably happen ~x seconds into the video? It might be the case that Invidious is generating a bad manifest that results in an incorrect offset like what appears to be encountered. Does devtools show any errors?
Currently, Invidious uses videojs/videojs-contrib-dash, because videojs/http-streaming does not yet support features that Invidious uses in its manifests. I suspect the issue is in the player since it disappears after a refresh, and I think this issue will likely go away after switching to http-streaming.
Found a semi-reliable way to reproduce it, and it looks more like a player issue:
dash.mediaplayer.min.js throws this warning:
The audio and the corrupted video continued without interruption.
A potential fix would be to stop the video and wait for buffer ~1s before the end of the buffer?
Encountered it the very first time I tried to switch resolutions with the new source selector :/
Although it's starting to smell more like hardware issues, because Streamable's being corrupted on the AMD machine too. GPU/decode stress testing didn't report anything so far, but I'll keep testing.