Skip to content

tsl0922/mpv-debug-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mpv-debug-plugin

a debug tool for mpv, based on the C PLUGINS API.

screenshot

See also mpv-menu-plugin.

Features

  • Visual view of mpv's internal properties
  • Console with completion, history support
  • Colorful mpv logs view with filter support

Installation

Download the plugin from Releases.

  • Windows: mpv >= 0.37.0 is required, place debug.dll in your mpv scripts folder
  • Linux: mpv >= 0.24.0 is required, place debug.so in your mpv scripts folder

Check if the cplugins feature is compiled into mpv if the plugin is not loaded.

Configuration

NOTE: If you changed the dll name, script-message-to target should apply too.

Add a keybinding to show debug window (required):

input.conf

` script-message-to debug show

~~/script-opts/debug.conf

  • font-path=<ttf font path>: use a custom TTF font
  • font-size=<font size>: custom font size, default: 13
  • log-lines=<lines>: set the log buffer size, default: 5000

To change the log level to verbose on start, add msg-level=all=v to mpv.conf.

Credits

  • fmt: A modern formatting library
  • imgui: Bloat-free Graphical User interface for C++ with minimal dependencies
  • ImPlay: This debug tool was extracted from ImPlay

License

GPLv2.

About

A debug tool for mpv script developers

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Contributors 3

  •  
  •  
  •