Skip to content

nplb: Make AV1 HDR optional for non-HDR devices in MinimumSupport - #13347

Merged
andrewsavage1 merged 6 commits into
youtube:mainfrom
hferreiro:nplb-media-can-play
Oct 19, 2026
Merged

andrewsavage1 merged 6 commits into
youtube:mainfrom
hferreiro:nplb-media-can-play

Conversation

@hferreiro

@hferreiro hferreiro commented Oct 14, 2026 •

Copy link
Copy Markdown
Collaborator

According to YouTube 2026 hardware certification
requirements
,
AV1 10-bit video bitstreams are only required for HDR video. If the display is
SDR and the device has no HDR to SDR tone mapping, YouTube falls back to the
equivalent VP9 SDR bitstream.

#9479 made VP9 Profile 2 optional for
non-HDR devices for the same reason. This change does the same for AV1 HDR: it
is no longer mandatory for 4K devices, but its support must be consistent, both
between FHD and 4K and with VP9 Profile 2, so 4K devices that support HDR still
need AV1 HDR.

MinimumSupport stays filtered on AndroidTV and AOSP: their CI device pools
include devices without AV1 support at all.

Bug: 532068409

According to [YouTube 2026 hardware certification
requirements](https://developers.google.com/youtube/devices/living-room/requirements/2026/hardware-certification#media-decoding-video-decoders-reqs),
AV1 10-bit video bitstreams are only required for HDR video. If the display
is SDR and the device has no HDR to SDR tone mapping, YouTube falls back to
the equivalent VP9 SDR bitstream.

youtube#9479 made VP9 Profile 2 optional for non-HDR devices for the same reason.
This change does the same for AV1 HDR.

Bug: 532068409
@github-actions

github-actions Bot commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor
Context State Description
CI / All Pass ✅ PASS All checks passed
CI / android ✅ PASS Passed
CI / evergreen ✅ PASS Passed
CI / linux ✅ PASS Passed
CI / tvos ✅ PASS Passed
@github-actions

Copy link
Copy Markdown
Contributor

🤖 Gemini Suggested Commit Message


starboard: Make AV1 HDR optional for SDR devices

Update the SbMediaCanPlayMimeAndKeySystem.MinimumSupport NPLB test
to remove AV1 10-bit (HDR) bitstreams from the mandatory requirement
list. This aligns with YouTube 2026 hardware certification
requirements, which state that AV1 10-bit is only required for
HDR-capable devices.

The test now allows AV1 HDR to be unsupported on non-HDR hardware,
matching the treatment of VP9 Profile 2. Corresponding entries in
failing test filters have been removed.

Bug: 532068409

💡 Pro Tips for a Better Commit Message:

  1. Influence the Result: Want to change the output? You can write custom prompts or instructions directly in the Pull Request description. The model uses that text to generate the message.
  2. Re-run the Generator: Post a comment with: /generate-commit-message

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request removes the SbMediaCanPlayMimeAndKeySystem.MinimumSupport test from several platform filters and updates the test implementation to exclude AV1-related MIME type test cases on tvOS, which does not support AV1 decoding. Feedback on the test changes points out a potential issue where using EXPECT_EQ to compare FHD and 4K AV1 HDR support could result in false positives if both are unsupported on an HDR-capable device. It is recommended to gate these assertions on whether HDR is supported, and to correct the indentation of the newly added comments.

@hferreiro hferreiro added the runtest Trigger presubmit workflows label Oct 16, 2026
@github-actions github-actions Bot removed the runtest Trigger presubmit workflows label Oct 16, 2026
@andrewsavage1

Copy link
Copy Markdown
Contributor

@osagie98 I assume you're the right person to look at this?

@andrewsavage1
andrewsavage1 enabled auto-merge (squash) October 19, 2026 21:40
@andrewsavage1
andrewsavage1 merged commit 9c843d7 into youtube:main Oct 19, 2026
881 of 888 checks passed
briantting pushed a commit that referenced this pull request Oct 20, 2026
…s in MinimumSupport

Refer to original PR: #13347

According to [YouTube 2026 hardware certification

requirements](https://developers.google.com/youtube/devices/living-room/requirements/2026/hardware-certification#media-decoding-video-decoders-reqs),
AV1 10-bit video bitstreams are only required for HDR video. If the
display is
SDR and the device has no HDR to SDR tone mapping, YouTube falls back to
the
equivalent VP9 SDR bitstream.

#9479 made VP9 Profile 2 optional
for
non-HDR devices for the same reason. This change does the same for AV1
HDR: it
is no longer mandatory for 4K devices, but its support must be
consistent, both
between FHD and 4K and with VP9 Profile 2, so 4K devices that support
HDR still
need AV1 HDR.

MinimumSupport stays filtered on AndroidTV and AOSP: their CI device
pools
include devices without AV1 support at all.

Bug: 532068409

(cherry picked from commit 9c843d7)
briantting pushed a commit that referenced this pull request Oct 20, 2026
…s in MinimumSupport

Refer to original PR: #13347

According to [YouTube 2026 hardware certification

requirements](https://developers.google.com/youtube/devices/living-room/requirements/2026/hardware-certification#media-decoding-video-decoders-reqs),
AV1 10-bit video bitstreams are only required for HDR video. If the
display is
SDR and the device has no HDR to SDR tone mapping, YouTube falls back to
the
equivalent VP9 SDR bitstream.

#9479 made VP9 Profile 2 optional
for
non-HDR devices for the same reason. This change does the same for AV1
HDR: it
is no longer mandatory for 4K devices, but its support must be
consistent, both
between FHD and 4K and with VP9 Profile 2, so 4K devices that support
HDR still
need AV1 HDR.

MinimumSupport stays filtered on AndroidTV and AOSP: their CI device
pools
include devices without AV1 support at all.

Bug: 532068409

(cherry picked from commit 9c843d7)
@hferreiro
hferreiro deleted the nplb-media-can-play branch October 20, 2026 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants