-
Notifications
You must be signed in to change notification settings - Fork 120
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
FPS instrument for video frame rate with Exoplayer #942
Comments
That sounds like it could be an interesting idea, is your proposal to create a customized version of exoplayer that would automatically log the displayed video frame rate via the APIs and use that to report the performance? |
Be honest, I don't know well for Android APIs. But if there have common Android APIs but not Exoplayer specific APIs, it's good to write one common video fps instrument, otherwise it's also good to rollback to use Exoplayer specific APIs for only Exoplayer case. Just input more information for the profiling result at my side: If I use gfxinfo method for fps instrument for Exoplayer, I can see it has very less fps value:
If use SurfaceFlinger method for fps instrument for Exoplayer, I can get more reasonable result for FPS metric:
You could see using Surface Flinger to track the frames of view will output more reasonable result. Eventually I think we should have a reliable method to output frame rate for video case. |
Hi there,
If use 'fps' instrument for profiling video frame rate with Exoplayer, I can see the fps is a very small value, please see below result.
So for WA fps instrument, it's mainly used for GPU (or UI) performance profiling but not for video frame rate profiling, right? Could we support video frame rate profiling for Exoplayer? I can see the link [1] have some discussion which Android provides APIs for video rendering related info.
Thanks for your suggestion.
[1] google/ExoPlayer#4088
The text was updated successfully, but these errors were encountered: