Add telemetry for when we encounter unplayable HEVC videos
Categories
(Core :: Audio/Video: Playback, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox128 | --- | fixed |
People
(Reporter: jrmuizel, Assigned: alwu)
References
Details
Attachments
(4 files)
e.g. visiting https://mylogi.co.jp/wp-content/uploads/2024/04/edaa17a4fd56aac58e6cc039a0a8217e.mp4 on macOS.
I'd like to better understand how often not having HEVC is a web compat problem, so only want to the probe to be triggered when the video is unplayable. If we fallback to another codec it should not trigger.
| Reporter | ||
Updated•2 years ago
|
| Reporter | ||
Updated•2 years ago
|
Updated•2 years ago
|
Comment 1•2 years ago
|
||
We already have this. You can look at requests for support the isTypeSupported telemetry here -
https://sql.telemetry.mozilla.org/queries/94146/source#232707
and you can look at actual consumption on Windows in Nightly for a measure of the amount of hevc content we handle -
https://sql.telemetry.mozilla.org/queries/95278/source#235493
| Reporter | ||
Comment 2•2 years ago
|
||
That telemetry doesn't do what I want. Upon a fresh launch on macOS and going to https://vimeo.com/channels/bestofstaffpicks/900211313 I see:
MSE_SOURCE_BUFFER_TYPE
27 samples, average = 2.1, sum = 56
0 |############## 9 33%
3 |######################### 16 59%
4 |### 2 7%
5 | 0 0%
The video was playable.
| Assignee | ||
Comment 3•2 years ago
|
||
What Jeff wanted is to know how many HEVC video failed to play due to HEVC is unsupported in order to know the web compatibilities. Our current probe can tell how many HEVC videos get played or being asked in MSE, but couldn't tell the amount of that kind of error.
Comment 4•2 years ago
•
|
||
(In reply to Alastor Wu [:alwu] from comment #3)
What Jeff wanted is to know how many HEVC video failed to play due to HEVC is unsupported in order to know the web compatibilities. Our current probe can tell how many HEVC videos get played or being asked in MSE, but couldn't tell the amount of that kind of error.
Would that show up in payload.processes.content.keyed_scalars.media_decode_error_per_mime_type?
https://sql.telemetry.mozilla.org/queries/93875/source#232165
| Assignee | ||
Comment 5•2 years ago
|
||
(In reply to Jim Mathies [:jimm] from comment #4)
Would that show up in payload.processes.content.keyed_scalars.media_decode_error_per_mime_type?
https://sql.telemetry.mozilla.org/queries/93875/source#232165
No, it won't. That scalar is for any error happening during decoding. For unsupported video type, we won't even start decoding.
| Assignee | ||
Comment 6•2 years ago
|
||
| Assignee | ||
Comment 7•2 years ago
|
||
Depends on D210375
| Assignee | ||
Comment 8•2 years ago
|
||
Depends on D210376
| Assignee | ||
Comment 9•2 years ago
|
||
Updated•2 years ago
|
Comment 10•2 years ago
|
||
Comment on attachment 9401777 [details]
data-review-request
There's a new data review process in town (for new/expanded data collections landing via Phabricator): https://wiki.mozilla.org/Data_Collection#Firefox_Desktop.2C_Firefox_and_Focus_for_Android.2C_Gecko_.28from_May_7.2C_2024.29
(( Basically, just do what Herald told you on your patchset ))
Comment 11•2 years ago
|
||
Comment 12•2 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/83a20bc70352
https://hg.mozilla.org/mozilla-central/rev/1c9749c706d7
https://hg.mozilla.org/mozilla-central/rev/e2cbe5351e93
Comment 13•2 years ago
|
||
Description
•