Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Black screen flickering when promoting video quality track #1174

Closed
1 task done
changxiangzhong opened this issue Mar 11, 2024 · 7 comments
Closed
1 task done

Black screen flickering when promoting video quality track #1174

changxiangzhong opened this issue Mar 11, 2024 · 7 comments

Comments

@changxiangzhong
Copy link
Contributor

Version

Media3 1.3.0

More version details

No response

Devices that reproduce the issue

Philips OLED TV 706. Device name and firmware version specified as following

[ro.boot.device_name]: [65OLED706/12]
[ro.build.product]: [PH1M_EA_9970A]
[ro.vendor.build.fingerprint]: [Philips/PH1M_EA_9970A/PH1M_EA_9970A:11/RTT2.211108.001/2717:user/release-keys]

Devices that do not reproduce the issue

Broadcom 72180 boxes

Reproducible in the demo app?

Yes

Reproduction steps

Steps

  • Kill the previous exoplayer demo
  • Apply the following patch/channel
  • Start the channel
  • Pay attention to VIDEO BITRATE PROMOTING, and you'll see the black screen flickering. A sample video has been uploaded to here.

Use the following patch on media.exolist.json

  {
    "name": "Telia",
    "samples": [
      {
        "name": "NRK1 HD - Telia Solna",
        "uri": "https://director.streaming.telia.com/tvm-packager-prod/group11/6530d589890ef35940120dc3/manifest.mpd?adap=default",
        "drm_scheme": "widevine",
        "drm_license_uri": "https://lic.drmtoday.com/license-proxy-widevine/cenc/?specConform=true",
        "drm_key_request_properties": {
          "x-dt-custom-data": "TO-BE-SENT-THROUGH-SECRET-CHANNEL"
        }
      },

Expected result

Smooth video bit-rate transition to high

Actual result

A black screen flickering during video bit-rate promoting

Media

  {
    "name": "Telia",
    "samples": [
      {
        "name": "NRK1 HD - Telia Solna",
        "uri": "https://director.streaming.telia.com/tvm-packager-prod/group11/6530d589890ef35940120dc3/manifest.mpd?adap=default",
        "drm_scheme": "widevine",
        "drm_license_uri": "https://lic.drmtoday.com/license-proxy-widevine/cenc/?specConform=true",
        "drm_key_request_properties": {
          "x-dt-custom-data": "TO-BE-SENT-THROUGH-SECRET-CHANNEL"
        }
      },

Bug Report

@tonihei
Copy link
Collaborator

tonihei commented Mar 11, 2024

Just based on the symptoms, this sounds like the same problem as the one in #1158. Could you check if the problem reproduces with Media3 1.0.2 or 1.1.0, or if you are able to build from source check if the problem started occurring with 8a73d8d?

@changxiangzhong
Copy link
Contributor Author

changxiangzhong commented Mar 11, 2024

@tonihei, the issue is reproducible in release 1.1.0 and exoplayer 2.18.5. so not the same as #1158

@tonihei
Copy link
Collaborator

tonihei commented Mar 11, 2024

Have you also tried 1.0.2? #1158 started happening between 1.0.2 and 1.1.0.

@changxiangzhong
Copy link
Contributor Author

Just tried 1.0.2, still reproducible

@tonihei
Copy link
Collaborator

tonihei commented Mar 11, 2024

Thanks for checking, so it's indeed not the same issue. Given your media is DRM protected, it might be you are running in the same problem that was originally reported in google/ExoPlayer#8196. This was a platform limitation on some devices up to API 30/31 that caused a black frame to be shown on some DRM-protected transitions. If this is the case, then there is unfortunately not much we can do from within our library. If you think it's something else or was introduced by some version of ExoPlayer, please let us know. I also checked your bugreport, but couldn't see anything suspicious either.

@changxiangzhong
Copy link
Contributor Author

changxiangzhong commented Mar 12, 2024

Thanks for the clarification - I confirm it's REPRODUCIBLE based upon google/ExoPlayer#8196 issue - A black screen flickering happens whenever I change the video track manually.

This this issue has been reproduced on the following SoCs? Any other known affected platforms?

  • Snapdragon 865
  • MediaTek 9970

@tonihei
Copy link
Collaborator

tonihei commented Mar 13, 2024

Thanks for confirming! I'll mark it as duplicate then.

This this issue has been reproduced on the following SoCs? Any other known affected platforms?

I'm afraid we don't have any data on this as there is also no known workaround we could apply to avoid the issue on the affected devices.

@tonihei tonihei closed this as completed Mar 13, 2024
@androidx androidx locked and limited conversation to collaborators May 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants