Video renders at 30FPS after animations end with new Media Controls |
|||||
Issue descriptionChrome Version : 64.0.3274.0 OS Version: 10150.0.0 What steps will reproduce the problem? 1. Enable New Media Controls flag 2. Go to https://storage.googleapis.com/fbeaufort-test/sample-video.webm 3. Open DevTools / Performance panel 4. Start profiling and reload page with Ctrl+Shift+E 5. Wait for profile What is the expected result? All frames should be about 60FPS as there's only a video playing What happens instead of that? After animations end, frames are at 30FPS. I've attached profile you can load in DevTools to understand what is happening.
,
Dec 12 2017
I can reproduce on 65.0.3293.0
,
Dec 19 2017
,
Jan 5 2018
,
Feb 7 2018
I seem to be able to reproduce with the legacy controls as well. Are we sure this is connected to the new controls?
,
Feb 9 2018
You're right Tommy, it is not connected to new controls. I can also reproduce with legacy controls. I think* I've found what is happening... https://storage.googleapis.com/fbeaufort-test/sample-video.webm is a 24fps video. I wonder if DevTools simply use that when there's nothing else needed to be updated at 60fps. With another video file (this one at 60 fps), I can observe that the Perf timeline indicates 60fps consistently before and after video animations. Is that intended?
,
Feb 9 2018
Out of curiosity, what happens if you turn on the "Enable the use of SurfaceLayer objects for videos" flag?
,
Feb 9 2018
Interesting, there are no more FPS available in DevTools. See screenshot attached. Is that intended?
,
Feb 12 2018
That's what I was hoping to hear actually :) The new backend should no longer require repainting the entire page at the video framerate. It might make sense to open a bug on the devtools if you think the video actual fps should be visible there somehow but this seems to be WAI. |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by mlamouri@chromium.org
, Nov 29 2017