slackbuilds_ponce/multimedia/mpv
Heinz Wiesinger 63daf9f79a All: Support $PRINT_PACKAGE_NAME env var
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
2021-07-17 21:55:09 +02:00
..
doinst.sh
libplacebo-api.patch multimedia/mpv: Apply upstream patch for the newer libplacebo api. 2021-06-23 01:14:04 +07:00
mpv.info multimedia/mpv: Adjust REQUIRES for 15.0 2021-05-02 17:21:04 +07:00
mpv.SlackBuild All: Support $PRINT_PACKAGE_NAME env var 2021-07-17 21:55:09 +02:00
README
slack-desc

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.

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, oss, rubberband, cudatoolkit, and nv-codec-headers

Please note that CUDA based hardware acceleration requires mpv to be
built with both the cudatoolkit and nv-codec-headers packages installed.

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.

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:

BUILD_OPTS="--enable-libsmbclient --enable-sdl2 --disable-javascript" \
  sh mpv.SlackBuild

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