question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Black flash during bitrate switch from 30fps to 60fps

See original GitHub issue

Issue description

Black flash happens on switching from lower bitrate on 30fps to higher bitrate on 60fps.

Reproduction steps

  1. Start playback with good bandwidth and a playlist with 30fps as lowest bitrate and 60fps highest streams.
  2. Wait for few seconds to switch to highest bitrate. Result: Black screen during the transition during bitrate switch

Link to test content - Widevine-DRM-DASH-Live mpd file -> https://gist.github.com/juechemparathy/c891e565e89e6f12c4a98ac6e17188a4 Stream url -> emailed to dev.exoplayer@gmail.com Let me know if you guys need more info.Thanks.

A full bug report captured from the device

From EventLogger

2019-08-29 17:54:45.535 8958-8958/com.yahoo.mobile.client.android.example.yvideosdkdemo D/EventLogger: decoderInputFormatChanged [11.10, 4.10, window=0, video, id=C, mimeType=video/avc, bitrate=1069178, codecs=avc1.4d001e, res=640x360, fps=30.0]

2019-08-29 17:54:53.910 8958-8958/com.yahoo.mobile.client.android.example.yvideosdkdemo D/EventLogger: decoderInputFormatChanged [19.47, 11.71, window=0, video, id=G, mimeType=video/avc, bitrate=5949747, codecs=avc1.640020, res=1280x720, fps=60.0]`

------- Black screen appears after above log -------

Version of ExoPlayer being used

2.9.5

Device(s) and version(s) of Android being used

S8

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
mikulbhattcommented, Sep 5, 2019

Hi @marcbaechinger please use following config

{  
   "name":"Live - Uplynk DASH Encrypted with UnEncrypted Ads",
   "uri":"https://content-vmg.uplynk.com/event/071815f671914422991c2b17dfc91dd6.mpd?tc=1&exp=1567547393&rn=2331&ct=e&cid=071815f671914422991c2b17dfc91dd6&iph=b8b50fcc399d90a482ab2fffe366ebf42bf98a7abf58076d4481fe0a03dcce6b&ad.dnt=true&ad.m.appBundle=com.yahoo.mobile.client.android.example.yvideosdkdemo&ad.m.device=android-app&ad.m.session=H4KCKQM8&ad.r=vsdk-demo-app&ad.rssid=dfef6af5-46c6-3ad2-a93b-57f3a1ff27de&ad.width=962&cdn=ec&expand=nfl&nielsen=true&resolutions=0-720&secure=true&sig=a5e49b9d2a64959e7e8f4cb33b76d022b766e41d59d43ac4ce8a69f40a5bce2e",
   "drm_scheme":"widevine",
   "drm_multi_session":true,
   "drm_license_url":"https://content.uplynk.com/wv",
   "drm_key_request_properties":{  
      "X-DASH-SEND-ALL-KEYS":"1"
   },
   "extension":"mpd"
}
0reactions
juechemparathycommented, Sep 17, 2019

Hi @marcbaechinger please use following config

{  
   "name":"Live - Uplynk DASH Encrypted with UnEncrypted Ads",
   "uri":"https://content-vmg.uplynk.com/event/071815f671914422991c2b17dfc91dd6.mpd?tc=1&exp=1567547393&rn=2331&ct=e&cid=071815f671914422991c2b17dfc91dd6&iph=b8b50fcc399d90a482ab2fffe366ebf42bf98a7abf58076d4481fe0a03dcce6b&ad.dnt=true&ad.m.appBundle=com.yahoo.mobile.client.android.example.yvideosdkdemo&ad.m.device=android-app&ad.m.session=H4KCKQM8&ad.r=vsdk-demo-app&ad.rssid=dfef6af5-46c6-3ad2-a93b-57f3a1ff27de&ad.width=962&cdn=ec&expand=nfl&nielsen=true&resolutions=0-720&secure=true&sig=a5e49b9d2a64959e7e8f4cb33b76d022b766e41d59d43ac4ce8a69f40a5bce2e",
   "drm_scheme":"widevine",
   "drm_multi_session":true,
   "drm_license_url":"https://content.uplynk.com/wv",
   "drm_key_request_properties":{  
      "X-DASH-SEND-ALL-KEYS":"1"
   },
   "extension":"mpd"
}

@marcbaechinger - Seems the issue is being addressed with 2.10.4 with the decoder updates. The above test stream will be taken down by end of this week(09/21/2019 ). Thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

60fps lower bitrate VS 30fps higher bitrate : r/Twitch - Reddit
Title says it all. Wich is the better way to go? What do you guys prefer?
Read more >
When it comes to video encoding, does 60fps require double ...
No. At 60 fps there is far stronger correlation between neighboring frames than at 30 fps, so the incremental bit rate is definitely...
Read more >
Bit rate reduction when converting 60fps footage into 30fps?
The camera is recording the original video at 50mbps bit rate, my question is this. If both clips have the same number of...
Read more >
Video Frame Rate, Bitrate, & Resolution MADE SIMPLE
Bonus: I don't think I take a breath in this entire video. ... 4K, 1080, 4K vs 1080, 24fps, 30fps, 60fps, 120fps, 4k...
Read more >
Change the camera's video recording settings on iPhone
On iPhone XS, iPhone XR, and later, tap the quick toggles in the top-right corner to switch between HD or 4K recording and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found