2017-09-13 21:15:44 +02:00
|
|
|
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.
|
2014-11-04 16:29:44 +01:00
|
|
|
|
2020-06-24 06:48:57 +02:00
|
|
|
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:
|
2021-04-21 07:52:43 +02:00
|
|
|
jack, libuchardet, oss, rubberband, cudatoolkit, and nv-codec-headers
|
2018-02-10 18:04:36 +01:00
|
|
|
|
2020-06-24 06:48:57 +02:00
|
|
|
Please note that CUDA based hardware acceleration requires mpv to be
|
|
|
|
built with both the cudatoolkit and nv-codec-headers packages installed.
|
2014-11-04 16:29:44 +01:00
|
|
|
|
2020-10-12 00:13:59 +02:00
|
|
|
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.
|
2014-11-04 16:29:44 +01:00
|
|
|
|
2020-10-12 00:13:59 +02:00
|
|
|
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:
|
2014-11-04 16:29:44 +01:00
|
|
|
|
2020-10-12 00:13:59 +02:00
|
|
|
BUILD_OPTS="--enable-libsmbclient --enable-sdl2 --disable-javascript" \
|
|
|
|
sh mpv.SlackBuild
|
2014-11-04 16:29:44 +01:00
|
|
|
|
2020-06-24 06:48:57 +02:00
|
|
|
Runtime support for youtube videos requires installation of youtube-dl
|
|
|
|
(available from SBo) to be installed. Watch with something like:
|
2020-10-12 00:13:59 +02:00
|
|
|
mpv https://www.youtube.com/watch?v=mAFMJ1LnQu8
|