Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 19570  / 1 Year ago, fri, march 10, 2023, 4:54:35

Is there a command (either a command line option, or a navigation command) to display the number of frames per second of the playing movie?



I am testing to see if my computer is slow (ie running at less than 30 fps) or if the video was sampled poorly.



Note: I did try to 'google it', but googling for 'mplayer' and 'fps' returns how to set the desired number of frames per second.


More From » mplayer

 Answers
5

Sounds as if you are interested in benchmarking, try the -benchmark option.



From the ubuntu man page




-benchmark

Prints some statistics on CPU usage and dropped frames at the
end of playback. Use in combination with -nosound and -vo null
for benchmarking only the video codec.
NOTE: With this option MPlayer will also ignore frame duration
when playing only video (you can think of that as infinite fps).




mplayer -benchmark -nosound -vo null your_file

[#41405] Friday, March 10, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
defendle

Total Points: 219
Total Questions: 131
Total Answers: 112

Location: Finland
Member since Sat, Nov 6, 2021
3 Years ago
defendle questions
Mon, May 10, 21, 03:46, 3 Years ago
Mon, Dec 5, 22, 07:16, 1 Year ago
;