Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Mpegplayer's "Display FPS" feature
« previous next »
  • Print
Pages: [1]

Author Topic: Mpegplayer's "Display FPS" feature  (Read 1129 times)

Offline Vortex

  • Member
  • *
  • Posts: 155
Mpegplayer's "Display FPS" feature
« on: August 13, 2007, 08:05:53 AM »
Hi everyone,

I noticed something which made me think that maybe there is something wrong with the FPS calculation for the "Display FPS" feature in mpegplayer.

Basically the FPS counter changes more often at the beginning of a file, while it remains more stable towards the end. It also doesn't react quickly to framerate changes (like during scenes with a lot of movement compared to still frames).

This made me think that maybe the current implementation of the FPS counter simply divides the total amount of displayed frames by the current position in the file in seconds.
Thereby, the FPS counter shows the average FPS for the whole playback instead of the average FPS for the last second. (I just noticed that it kind of tells you that on the wiki page, but I didn't understand what it meant when I first read it).

I don't mind if this is the way the developers intended it to be, but I think that an FPS counter should display the "current" FPS (i.e. an average of the last second) and not the total average FPS.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Mpegplayer's "Display FPS" feature
« Reply #1 on: August 13, 2007, 09:34:39 AM »
The FPS counter is designed for a specific purpose, which is to benchmark the average playback speed. It's obvious that more complex bits are going to cause skipped frames and you can watch the skipped frames counter to know when it's happening.

So the FPS counter gives us a good idea overall how well the plugin is performing by giving a total average FPS. This is intentional.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Mpegplayer's "Display FPS" feature
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.063 seconds with 15 queries.