diff options
Diffstat (limited to 'multimedia/mpv/README')
-rw-r--r-- | multimedia/mpv/README | 48 |
1 files changed, 18 insertions, 30 deletions
diff --git a/multimedia/mpv/README b/multimedia/mpv/README index 3ae161a662cb5..b8bc77a0f1fa8 100644 --- a/multimedia/mpv/README +++ b/multimedia/mpv/README @@ -1,40 +1,28 @@ -mpv -=== - mpv is a movie player based on MPlayer and mplayer2. It shares some features with the former projects while introducing many more. It supports a wide variety of video file formats, audio and video codecs, and subtitle types. -optional: docutils, jack, libbluray, libdvdnav, - libfdk-aac, libuchardet, OpenAL, lua, mujs, oss, rubberband, - SDL2, wayland, youtube-dl - -If docutils is not installed, the man pages will not be built/installed. -This is the reason I have included docutils in both the `required` and -`optional` lists. If you don't consider the man pages required, then the -docutils package is optional, too. Building the man pages is -recommended. - -If lua is not installed, much functionality will be lost. This is the -reason I have included lua in both the `required` and `optional` lists. -If you don't consider the functionality lua gives required, then the -lua package is optional, too. Building with lua support is recommended. +This SlackBuild provides support for most useful optional features. +Some other optional features may be enabled by having the relevant +packages installed; they will be autodetected at build time. +These include: + jack, libuchardet, OpenAL, oss, rubberband, SDL2, wayland, + cudatoolkit & nv-codec-headers -Dependencies are autodetected. Some optional dependencies are disabled -by default and may be enabled (see BUILD_OPTS). Optional dependencies -that are enabled by default may be disabled (see BUILD_OPTS). +Please note that CUDA based hardware acceleration requires mpv to be +built with both the cudatoolkit and nv-codec-headers packages installed. -BUILD_OPTS: -To override the default for build options, set the shell variable -BUILD_OPTS prior to or at build time. For example, to enable cdda and -openal, which are disabled by default, and to build with four jobs in -parallel, you could use the following: +Most dependencies are autodetected. Some optional dependencies are disabled +by default and may be enabled via the BUILD_OPTS environment variable. Optional +dependencies that are enabled by default may be disabled in the same way. -~# BUILD_OPTS="--enable-cdda --enable-openal --jobs 4" sh mpv.SlackBuild +For example, to enable support for Samba and SDL2 (both disabled by default) +as well as to disable javascript support (normally autodetected), +you could run: -The following list is meant as a note to myself of build options or -optional dependencies currently unavailable via full Slackware -installation and from SBo: +BUILD_OPTS="--enable-libsmbclient --enable-sdl2 --disable-javascript" sh mpv.SlackBuild -vapoursynth, rsound +Runtime support for youtube videos requires installation of youtube-dl +(available from SBo) to be installed. Watch with something like: + mpv https://www.youtube.com/watch?v=mAFMJ1LnQu8 |