switch 60fps video between foreground and background tab cause high number of dropped frame |
||||||
Issue descriptionin playing 60fps video, switching background and foreground drop lots of frames e.g https://www.youtube.com/watch?v=SFeA13_15-M(mp4) https://www.youtube.com/watch?v=MbiOazijZVQ(vp9)
,
Jan 20 2017
What does "drops lots of frames" mean? Is it visual perception, chrome://media-internals counters or what? How exactly to reproduce?
,
Jan 20 2017
,
Jan 20 2017
it repro all the time. on my tested device, Mac dropped most frame (about 20 frames after switch to background 10s then switch back to foreground) The playback quality is still good enough, no obvious glittering.
,
Jan 20 2017
20 frames is 1/3 a second on a 60fps clip, so not bad for recovery time actually I think.
,
Jan 20 2017
Is this with disable background video enabled?
,
Jan 20 2017
It NOT repro when disable background video optimization. it dropped much more frames on vp9 (around 6% of total decoded frames) and around 20 frames on mp4 video. But I have to say the general video playback smoothness is not obviously affected. There is no glittering or stutter observed. I agree this bug is not blocking bug.
,
Jan 20 2017
Yining, could you please clarify how do you check the number of dropped frames? I'm fairly new to working with the video QA so literally have no clue. Are you looking at chrome://media-internals for the player? Are you using chrome logs or any other tools? Dale, dropping frames while recovering the decoder is probably expected, right? So unless it visually affects the user experience, it's ok. Sounds like we should watch the number of dropped frames during our experiments to note regressions (is there a histogram already?).
,
Jan 20 2017
Yeah I'd expect some number of dropped frames here. Audio has been playing but video has been stopped, so some number will be dropped even after video playback resumes (since it'll start slightly behind wherever audio ends up at).
,
Jan 20 2017
Anton, on Android, the only way to check dropped frame is using DevToolBar, on desktop device, it is easy to right click YouTube video, Stats for nerds I agree c#9.
,
Jan 23 2017
-dahlke@ because I believe johnpallett@ is PM'ing this feature. The dropped frames seem to be expected. Though, yiningc@, would you mind clarifying what do you mean by 6% of total decoded frames are dropped?
,
Jan 23 2017
answer mlamouri@ question in c#11, when play vp9 60fps video, when switch back and forward in between background and foreground tabs, the dropped frame is about 6% of total decoded frame. see attached screenshot. But as said before, the playback is not stutter or glitter though there are some dropped frame.
,
Aug 9 2017
optimize video in background is enabled on M62. This bug still repro but the dropped frames reduced a lot on VP9 60fps video. Still has a high dropped frame when switch background video to foreground, roughly the dropped frame is 20frame/second * seconds video stay in background Dale, can you justify this dropped rate is acceptable?
,
Aug 10 2017
I believe it is but I'll let Dale confirm.
,
Aug 22 2017
Since we have a 10s timeout now this is much better and avoid long chains of dropped frames; any remaining ones are expected. |
||||||
►
Sign in to add a comment |
||||||
Comment 1 by yini...@chromium.org
, Jan 19 2017