jaseg / python-mpv

Python interface to the awesome mpv media player
https://git.jaseg.de/python-mpv.git
Other
554 stars 69 forks source link

How to install or use #9

Closed wingedonezero closed 8 years ago

wingedonezero commented 8 years ago

How do i try this out? im on ubuntu.

jaseg commented 8 years ago

Make sure libmpv is installed (might be part of a package called mpv or mpv-dev or libmpv), then clone this repo, then launch a python shell in the freshly cloned repo, then type

import mpv
m = mpv.MPV()
m.play('/path/to/video.mkv')