https://bugs.kde.org/show_bug.cgi?id=500327

--- Comment #2 from John <ilikef...@waterisgone.com> ---
(In reply to george fb from comment #1)
> Haruna is not mpv. It's unreasonable to expect every mpv feature to work in
> Haruna.
> 
> For displaying the stats you can create a custom command `script-binding
> stats/display-stats`.

I agree with that that Haruna is not MPV and it's unreasonable to expect that
every feature of it would work in Haruna too.
But at the same time Haruna also doesn't have yet a way to tell if if hardware
acceleration is working or not.
Or if you hardware can keep up with the video you're trying to play.
We have no idea if there are dropped frames or not.

Something that even  Youtube (in a web browser) can tell if if you right-click
on a video and then choose "Stats for nerds".
At least there is how I check if hardware decoding is working or not in Firefox
and if the hardware keeps up with the decoding necessity.

Kodi has them if you press the 'o' (from orange, not zero).
And VLC if you click on Menu bar: Tools -> Codec Information -> Switch to the
Statistics tab
Where you can see for both Audio and video a "Lost:" field and its value and
for Input / Read, "Discarded" and "Dropped" fields which I assume it's for the
container.

MPC-HC (the best video player for Windows in my opinion) had / has statistics
under the progress bar (if you enabled them):
https://superuser.com/q/131926
And also these, overlayed over the video (if you enabled them by pressing
CTRL+J):
https://superuser.com/q/1656385

So I don't think this is a MPV-only feature, but a pretty common feature in the
most advanced and powerful video players and weirdly also in Youtube's HTML5
video player that works in every web browser.
And one of the most needed by power users when they need to check if their
hardware works correctly for the video files they are trying to play.

In my opinion we are lucky that Haruna is based on a video player that already
has such a thing at it doesn't need to be implemented from scratch.
That's why I even started searching if MPV has such a feature in the first
place and if it does, how, what's the shorcut for it.
After I found them, I searched to see if libmpv that Haruna says it uses has it
too, which got me to that bug report on Github.

As for that command, I tried it and it works!
But there are multiple problems with it:
1. I'll have to remember it exactly as it is to create it again next time,
which I might not and if I do it will take me some time, considering that I
manage (installs / reinstalls / upgrades) multiple computers for me, my family
and my friends.
2. It doesn't stay on as it time outs after a few seconds and disappears, which
is not what I want and not something that is happening in MPC-HC or VLC.
3. If I continue to press the shortcut I assigned then the OSD message like
"Show statistics" that I've put will also continuously be displayed, which is
annoying.

Honestly at this point I would rather install mpv and open files from terminal
with it and then press the SHIFT+i to be able to read the stats without having
con continuously press the shortcut or have any OSD over them.

Anyway, thanks a lot for the otherwise a good video player!

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to