[−][src]Crate libmpv
This crate provides abstractions for libmpv of the mpv media player.
Libmpv requires LC_NUMERIC
to be C
, which should be the default value.
Most of the documentation is paraphrased or even copied from the mpv manual, if any questions arise it will probably answer them in much more depth than this documentation.
Examples
See the 'examples' directory in the crate root.
Modules
events | Event handling |
mpv_end_file_reason | |
mpv_error | |
mpv_format | |
mpv_log_level | |
protocol | Custom protocols ( |
render | Custom rendering |
Structs
Mpv | The central mpv context. |
MpvNode | |
MpvNodeArrayIter | |
MpvNodeMapIter | |
MpvStr | Wrapper around an |
Enums
Error | |
FileState | How a |
Format | Subset of |
MpvNodeValue |
Constants
MPV_CLIENT_API_MAJOR | |
MPV_CLIENT_API_MINOR | |
MPV_CLIENT_API_VERSION |
Traits
GetData | This trait describes which types are allowed to be passed to getter mpv APIs. |
SetData | This trait describes which types are allowed to be passed to setter mpv APIs. |
Type Definitions
EndFileReason | The reason a file stopped. |
LogLevel | Log verbosity level. |
MpvError | An libmpv_sys mpv error. |
MpvFormat | A format mpv can use. |
Result |