DRM content audio cuts out randomly and barely works sometimes in Firefox
Categories
(Core :: Audio/Video: Playback, defect, P3)
Tracking
()
People
(Reporter: willwh79, Unassigned)
Details
Attachments
(1 file)
|
24.75 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0
Steps to reproduce:
- Open Firefox or Nightly Build
- Go to DRM Content ex. (https://sports24.club/tv/v?id=cnn)
- Press the play button
(works in chromium browsers but not in Firefox stable or stock nightly)
Actual results:
Video works fine, audio works for a little while, then cuts in and out, usually in long, random intervals and makes weird sounds when doing so. Oddly enough only happens on certain DRM content and not all (although all the same DRM content I tested in Firefox, I also tested in a Chromium based browser, Microsoft Edge, and it worked perfectly).
Expected results:
The audio shouldn't cut out at all.
(In reply to willwhitehouse1@gmail.com from comment #0)
Created attachment 9196208 [details]
Screenshot 2021-01-09 014212.pngUser Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0
Steps to reproduce:
- Open Firefox or Nightly Build
- Go to DRM Content ex. (https://sports24.club/tv/v?id=cnn)
- Press the play button
Actual results:
Video works fine, audio works for a little while, then cuts in and out, usually in long, random intervals and makes weird sounds when doing so. Oddly enough only happens on certain DRM content and not all (although all the same DRM content I tested in Firefox, I also tested in a Chromium based browser, Microsoft Edge, and it worked perfectly).
Expected results:
The audio shouldn't cut out at all.
I didn't mean to include the line (works in chromium browsers but not in Firefox stable or stock nightly), clicking play does work and video works, but simply the audio doesn't work properly as described.
Comment 3•5 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Comment 4•5 years ago
|
||
I'm able to reproduce that on my dell XP15 Windows 10, and the weird thing is that, both video and audio would be cut off while playing that on other platforms (MacOS/Ubuntu). Bryce, would you mind to take a look first to see if this is a DRM related issue?
Thank you.
I forgot to specify the screenshot at the top of the report; this is the error message I get when running console during the audio cutouts: "Cannot play media. No decoders for requested formats: .........."
Does this issue take place on all DRM streams? Does it take place if you try the media here https://shaka-player-demo.appspot.com/demo/#audiolang=en-US;textlang=en-US;uilang=en-US;asset=https://storage.googleapis.com/shaka-demo-assets/angel-one-widevine/dash.mpd;panel=ALL_CONTENT;panelData=drm:WIDEVINE;build=uncompiled -- you may need to click play on the player at the top of the page to start the video. You can also try other videos on the page.
I see issues with the page in comment 0, but not in other DRM content.
For devs:
I noticed audio issues where the audio will cut out, and may sometimes return later only to cut out again. The cut outs can be accompanied by loud and unpleasant clipping sounding distortions. It's not clear to me if the issue is DRM specific or if there's something wrong with the audio stream -- either the mux or the samples themselves. It's possible that our differences in platform decoders are what leads to the differences between platforms and Firefox and Chrome (we decrypt audio in the CDM, but then decode in a normal decoder).
edit: here's some examples of what I believe to be the audio from the busted element (the main video).
2021-01-20 18:18:14.460000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830699333 offset=0 length=458
2021-01-20 18:18:14.471000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830699333 offset=458 length=479
2021-01-20 18:18:14.481000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830699333 offset=937 length=87
2021-01-20 18:18:14.481000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830720666 offset=0 length=394
2021-01-20 18:18:14.490000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830720666 offset=394 length=479
2021-01-20 18:18:14.500000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830720666 offset=873 length=151
2021-01-20 18:18:14.500000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830742000 offset=0 length=330
2021-01-20 18:18:14.511000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830742000 offset=330 length=479
2021-01-20 18:18:14.520000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830742000 offset=809 length=215
2021-01-20 18:18:14.520000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830763333 offset=0 length=266
2021-01-20 18:18:14.530000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830763333 offset=266 length=479
2021-01-20 18:18:14.540000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830763333 offset=745 length=279
2021-01-20 18:18:14.540000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830784666 offset=0 length=202
2021-01-20 18:18:14.550000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830784666 offset=202 length=479
2021-01-20 18:18:14.560000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830784666 offset=681 length=343
2021-01-20 18:18:14.560000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830806000 offset=0 length=138
2021-01-20 18:18:14.571000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830806000 offset=138 length=479
2021-01-20 18:18:14.580000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830806000 offset=617 length=407
2021-01-20 18:18:14.580000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830827333 offset=0 length=74
2021-01-20 18:18:14.590000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830827333 offset=74 length=479
2021-01-20 18:18:14.601000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830827333 offset=553 length=471
2021-01-20 18:18:14.601000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830848666 offset=0 length=10
2021-01-20 18:18:14.610000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830848666 offset=10 length=479
2021-01-20 18:18:14.620000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830848666 offset=489 length=481
2021-01-20 18:18:14.631000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830848666 offset=970 length=54
2021-01-20 18:18:14.631000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830870000 offset=0 length=425
2021-01-20 18:18:14.640000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830870000 offset=425 length=481
2021-01-20 18:18:14.650000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830870000 offset=906 length=118
2021-01-20 18:18:14.650000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830891333 offset=0 length=361
2021-01-20 18:18:14.661000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830891333 offset=361 length=481
2021-01-20 18:18:14.670000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830891333 offset=842 length=182
2021-01-20 18:18:14.670000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830912666 offset=0 length=297
2021-01-20 18:18:14.680000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830912666 offset=297 length=481
2021-01-20 18:18:14.691000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830912666 offset=778 length=246
2021-01-20 18:18:14.691000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830934000 offset=0 length=233
2021-01-20 18:18:14.701000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830934000 offset=233 length=481
2021-01-20 18:18:14.710000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830934000 offset=714 length=310
2021-01-20 18:18:14.710000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830955333 offset=0 length=169
2021-01-20 18:18:14.720000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830955333 offset=169 length=481
2021-01-20 18:18:14.731000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830955333 offset=650 length=374
2021-01-20 18:18:14.731000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830976666 offset=0 length=105
2021-01-20 18:18:14.741000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830976666 offset=105 length=481
2021-01-20 18:18:14.750000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830976666 offset=586 length=438
2021-01-20 18:18:14.750000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830998000 offset=0 length=41
Here we see a lot of overlapping times which seems unusual. Note that since the page embeds a lot of videos, it's hard to be sure which sink belongs to which, but based on the timestamps + some debugged by pruning other videos, I think that the above are the correct logs. That said, all audio in the page seems to suffer from these sorts of overlapping timestamps.
(In reply to Bryce Seager van Dyk (:bryce) from comment #6)
Does this issue take place on all DRM streams? Does it take place if you try the media here https://shaka-player-demo.appspot.com/demo/#audiolang=en-US;textlang=en-US;uilang=en-US;asset=https://storage.googleapis.com/shaka-demo-assets/angel-one-widevine/dash.mpd;panel=ALL_CONTENT;panelData=drm:WIDEVINE;build=uncompiled -- you may need to click play on the player at the top of the page to start the video. You can also try other videos on the page.
I see issues with the page in comment 0, but not in other DRM content.
For devs:
I noticed audio issues where the audio will cut out, and may sometimes return later only to cut out again. The cut outs can be accompanied by loud and unpleasant clipping sounding distortions. It's not clear to me if the issue is DRM specific or if there's something wrong with the audio stream -- either the mux or the samples themselves. It's possible that our differences in platform decoders are what leads to the differences between platforms and Firefox and Chrome (we decrypt audio in the CDM, but then decode in a normal decoder).
edit: here's some examples of what I believe to be the audio from the busted element (the main video).
2021-01-20 18:18:14.460000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830699333 offset=0 length=458 2021-01-20 18:18:14.471000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830699333 offset=458 length=479 2021-01-20 18:18:14.481000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830699333 offset=937 length=87 2021-01-20 18:18:14.481000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830720666 offset=0 length=394 2021-01-20 18:18:14.490000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830720666 offset=394 length=479 2021-01-20 18:18:14.500000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830720666 offset=873 length=151 2021-01-20 18:18:14.500000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830742000 offset=0 length=330 2021-01-20 18:18:14.511000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830742000 offset=330 length=479 2021-01-20 18:18:14.520000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830742000 offset=809 length=215 2021-01-20 18:18:14.520000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830763333 offset=0 length=266 2021-01-20 18:18:14.530000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830763333 offset=266 length=479 2021-01-20 18:18:14.540000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830763333 offset=745 length=279 2021-01-20 18:18:14.540000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830784666 offset=0 length=202 2021-01-20 18:18:14.550000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830784666 offset=202 length=479 2021-01-20 18:18:14.560000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830784666 offset=681 length=343 2021-01-20 18:18:14.560000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830806000 offset=0 length=138 2021-01-20 18:18:14.571000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830806000 offset=138 length=479 2021-01-20 18:18:14.580000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830806000 offset=617 length=407 2021-01-20 18:18:14.580000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830827333 offset=0 length=74 2021-01-20 18:18:14.590000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830827333 offset=74 length=479 2021-01-20 18:18:14.601000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830827333 offset=553 length=471 2021-01-20 18:18:14.601000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830848666 offset=0 length=10 2021-01-20 18:18:14.610000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830848666 offset=10 length=479 2021-01-20 18:18:14.620000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830848666 offset=489 length=481 2021-01-20 18:18:14.631000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830848666 offset=970 length=54 2021-01-20 18:18:14.631000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830870000 offset=0 length=425 2021-01-20 18:18:14.640000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830870000 offset=425 length=481 2021-01-20 18:18:14.650000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830870000 offset=906 length=118 2021-01-20 18:18:14.650000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830891333 offset=0 length=361 2021-01-20 18:18:14.661000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830891333 offset=361 length=481 2021-01-20 18:18:14.670000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830891333 offset=842 length=182 2021-01-20 18:18:14.670000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830912666 offset=0 length=297 2021-01-20 18:18:14.680000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830912666 offset=297 length=481 2021-01-20 18:18:14.691000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830912666 offset=778 length=246 2021-01-20 18:18:14.691000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830934000 offset=0 length=233 2021-01-20 18:18:14.701000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830934000 offset=233 length=481 2021-01-20 18:18:14.710000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830934000 offset=714 length=310 2021-01-20 18:18:14.710000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830955333 offset=0 length=169 2021-01-20 18:18:14.720000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830955333 offset=169 length=481 2021-01-20 18:18:14.731000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830955333 offset=650 length=374 2021-01-20 18:18:14.731000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830976666 offset=0 length=105 2021-01-20 18:18:14.741000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830976666 offset=105 length=481 2021-01-20 18:18:14.750000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830976666 offset=586 length=438 2021-01-20 18:18:14.750000 UTC - [Child 54692: AudioIPC0]: V/MediaDecoder AudioSink=0000019ABA1C5000 playing audio at time=11830998000 offset=0 length=41Here we see a lot of overlapping times which seems unusual. Note that since the page embeds a lot of videos, it's hard to be sure which sink belongs to which, but based on the timestamps + some debugged by pruning other videos, I think that the above are the correct logs. That said, all audio in the page seems to suffer from these sorts of overlapping timestamps.
Yes you seem to be correct. I tried 3 of the videos including the one you linked on the url you provided and video and audio worked perfectly on all three except for the original of course.
Comment 8•5 years ago
•
|
||
I can see this issue reproduce (with https://sports24.club/tv/v?id=cnn) on Windows 10 with the last versions of the four channels so I am confirming it.
While performing a regression investigation I have observed that it also reproduces on Nightly v80.0a1 and v70.0a1, but Nightly v60.0a1 would not play the video at all, so it could be a regression, but certainly not a recent one.
Apparently, this video would barely play for 2 seconds on the latest versions of the 4 channels on Mac OS 11.1 or Ubuntu 20, so it remains unknown whether these builds are affected or not.
Description
•