Skip to content
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

How to calculate the video frame rate #4699

Open
testeur-990 opened this issue Feb 19, 2025 · 1 comment
Open

How to calculate the video frame rate #4699

testeur-990 opened this issue Feb 19, 2025 · 1 comment

Comments

@testeur-990
Copy link

Hello ,
We are using the getVideoPlaybackQuality() API of the video element to calculate FPS in our application. However, we’ve noticed that the data returned by this API is unreliable on some Smart TVs.

Is there an alternative method or approach within Dash.js to reliably calculate FPS?

Thank you for your help.

@dsilhavy
Copy link
Collaborator

The only way that pops to my mind is using the information from the MPD. But this just gives you the encoded framerate not the rate at which the client is decoding the frames.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants