0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00
mpv/DOCS
wm4 9dba2a52db player: add a --dump-stats option
This collects statistics and other things. The option dumps raw data
into a file. A script to visualize this data is included too.

Litter some of the player code with calls that generate these
statistics.

In general, this will be helpful to debug timing dependent issues, such
as A/V sync problems. Normally, one could argue that this is the task of
a real profiler, but then we'd have a hard time to include extra
information like audio/video PTS differences. We could also just
hardcode all statistics collection and processing in the player code,
but then we'd end up with something like mplayer's status line, which
was cluttered and required a centralized approach (i.e. getting the data
to the status line; so it was all in mplayer.c). Some players can
visualize such statistics on OSD, but that sounds even more complicated.
So the approach added with this commit sounds sensible.

The stats-conv.py script is rather primitive at the moment and its
output is semi-ugly. It uses matplotlib, so it could probably be
extended to do a lot, so it's not a dead-end.
2014-04-17 21:47:00 +02:00
..
client_api_examples client api examples: set an option with MPV_FORMAT_FLAG 2014-02-24 23:02:50 +01:00
man/en player: add a --dump-stats option 2014-04-17 21:47:00 +02:00
coding-style.md DOCS/coding-style: add another requirement for commit messages 2014-03-15 18:44:32 +01:00
crosscompile-mingw.md DOCS: fix an external link 2014-03-09 15:02:28 +01:00
edl-mpv.rst edl: extend with chapter timestamps 2014-02-19 00:06:00 +01:00
encoding.rst remove redundant/outdated line from encodeing.rst:"what works" 2014-04-03 11:13:31 +02:00
tech-overview.txt DOCS/tech-overview: DOCS/OUTDATED-tech/ was deleted 2014-03-12 16:38:25 +01:00
waf-buildsystem.rst DOCS/waf-buildsystem: add link to the Waf book 2014-02-06 13:45:35 +01:00