MSE on Android with unified media pipeline drops frames on config changes |
||
Issue descriptionThis behavior was a conscious choice to trade dropped frames for smoothness. This bug tracks future improvement to that. See the attached videos comparing config changes before and after the unified media pipeline. One thing we can do is to keep the SurfaceTexture back buffer populated. That should give us one extra frame at config changes.
,
Apr 24 2017
liberato/watk, its been ages since I looked avda. Is this still true today? Any new strategy to recommend?
,
Apr 24 2017
Dale implemented the suggestion to populate the backbuffer, and that's about as good as we can do without creating two MediaCodecs at transitions (which would probably be complicated and increase crashes). The fundamental problem is that that we may need to create a new MediaCodec which takes ~100+ ms. And we can only render one more frame after we release the old MediaCodec (from ST backbuffer). So we have 60+ms where we can't render anything. |
||
►
Sign in to add a comment |
||
Comment 1 by sheriffbot@chromium.org
, Apr 24 2017Status: Untriaged (was: Available)