1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-24 15:52:25 +00:00
mpv/TOOLS
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
..
lib/Parse Parse::Matroska::Reader: get rid of bigrat 2014-02-15 19:43:22 -03:00
osxbundle/mpv.app/Contents osxbundle: use mpv's version.sh instead of osxbundle's 2013-12-09 21:45:09 +01:00
vf_dlopen ildetect: add ILDETECT_FORCE_RUN (if interlacing could not be decided, assume yadif). 2013-12-18 10:56:33 +01:00
autocrop.lua TOOLS: vf-metadata: lua cropdetect example script 2014-04-13 18:03:01 +02:00
file2string.pl
gen-x11-icon.sh
matroska.pl demux_mkv: fix compiler warnings 2013-11-04 23:49:22 +01:00
mpv_identify.sh tools: add --no-cache --no-config to mpv_identify.sh 2013-11-03 20:48:49 +01:00
osxbundle.py osxbundle: use mpv's version.sh instead of osxbundle's 2013-12-09 21:45:09 +01:00
stats-conv.py player: add a --dump-stats option 2014-04-17 21:47:00 +02:00
umpv umpv: silence mpv terminal output 2014-02-05 19:04:35 +01:00
uncrustify.cfg
youtube-dl_mpv.sh TOOLS: add script for using mpv with youtube-dl 2014-04-09 20:41:51 +02:00