Playback of encrypted media when using the Widevine CDM can result in a jittery or stuttery effect. Specifically it appears frames are being presented in an incorrect order. This can be seen when seeking in video, before the video 'catches up' after the seek there is a jitter in the frames presented. This seems to be worse in debug builds. I've noticed this particularly when debugging WebM, but am not certain it is a WebM specific issue -- I have also seen problems with mp4 h264 media. In the worst case scenarios, that I believe I've only seen with WebM, play back get permanently stuck in a 'jittery' state. This issue can be reproed using the Shaka player demo, with the Sintel Widevine media.
Created attachment 8769505 [details] MediaFormatReader NSPR_LOG output from Sintel Playback with Jitter
Created attachment 8769508 [details] Python script to parse MediaFormatReader logs and look for out of order samples
Attached a log of Sintel playback that contains jitter near the end of playback. Also attached a python script to parse the logs and the look for out of order samples. Right now hard coded to load 'log.txt'. Running the script on the log created above suggests that the samples are being fed into the decoder in the correct order, but the samples returning form the decoded for video are out of order at times.
3 years ago
Priority: -- → P1
status-firefox47: --- → ?
status-firefox48: --- → ?
status-firefox49: --- → ?
OS: Windows 10 → Windows
Hardware: x86_64 → All
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 1266938
Resolving as a dupe, will continue working on this in the lower bug number.
You need to log in before you can comment on or make changes to this bug.