mapesdhs wrote:
Any suggestions as to what kind of repeatable test I could run? Does mplayer have options for benchmarking? Or displaying
an average framerate after the movie has been played?
Yes, it has the -benchmark switch to do so. I usually added -quiet to reduce the amount of printfs during playback while benchmarking.
1. To benchmark real world playback performance do:
Code:
mplayer -vo sgi -ao sgi -framedrop -quiet -benchmark yourfile
This will play the file as usual and print a summary at the end, telling you how much CPU time was spend for decoding and displaying and how many frames had to be dropped to keep a-v sync.
2. To benchmark display performance:
Code:
mplayer -vo sgi -nosound -quiet -benchmark yourfile
By disabling audio playback it doesn't need to care about a-v sync, so it will just decode and display the video as fast as possible without dropping any frames.
3. Finally, to benchmark pure decoding performance:
Code:
mplayer -vo null -nosound -quiet -benchmark yourfile
This will just decode audio and video as fast as possible without displaying anything. As a pure CPU benchmark this is probably the most interesting one.
Make sure to use a test file that is demanding enough for the machine. In
this old thread we used
this 1024x468 XviD, which should still be more than enough for an O2
