./multimedia/mpv, Video player based on MPlayer and mplayer2

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 0.27.0, Package name: mpv-0.27.0, Maintainer: leot

mpv is a movie player based on MPlayer and mplayer2. It supports
a wide variety of video file formats, audio and video codecs, and
subtitle types.

Required to run:
[sysutils/desktop-file-utils] [graphics/MesaLib] [graphics/hicolor-icon-theme] [graphics/jpeg] [multimedia/libdvdnav] [multimedia/libdvdread] [x11/libXScrnSaver] [x11/libXv] [x11/liboldXrandr] [audio/pulseaudio] [multimedia/libvdpau] [multimedia/libva] [multimedia/libass] [lang/lua52] [multimedia/ffmpeg3]

Required to build:
[textproc/py-docutils] [pkgtools/x11-links] [x11/scrnsaverproto] [x11/glproto] [x11/renderproto] [x11/xproto] [x11/xf86vidmodeproto] [x11/recordproto] [x11/xf86driproto] [x11/damageproto] [x11/inputproto] [x11/videoproto] [x11/xextproto] [x11/randrproto] [x11/dri2proto] [x11/fixesproto4] [lang/python27] [devel/waf] [pkgtools/cwrappers]

Package options: ass, lua, pulseaudio, vaapi, vdpau

Master sites:

SHA1: d4bddb88cf7a112a295a130a091181acbe25605b
RMD160: d2edbdfdc6fdf3a0c210536ac3966e99113c83ad
Filesize: 2887.516 KB

Version history: (Expand)

CVS history: (Expand)

   2017-11-26 14:57:09 by Leonardo Taccari | Files touched by this commit (1) | Package updated
Log message:
mpv: Pass `--bindir' to waf configure phase to fix installation with waf-2.0.2

With waf-2.0.2 update the mpv binary was tried to install apparently in:


while with previous waf versions it was correctly installed in


Pass `--bindir' via WAF_CONFIGURE_ARGS to fix that problem.
   2017-09-13 12:35:58 by Leonardo Taccari | Files touched by this commit (3) | Package updated
Log message:
mpv: Update multimedia/mpv to 0.27.0

pkgsrc changes:
- Delete 2nd hunk of patches/patch-audio_out_ao__oss.c, it was fixed uptsream
  and it is no more needed for 0.27.0.

- Windows: handle media keys
- libmpv: options: add a thread-safe way to notify option updates
- vd_lavc/vo_opengl: support embedded ICC profiles
- vo: rendering API abstraction for future non-GL video outputs
- vo_opengl: add a gamut warning feature to highlight out-of-gamut colors \ 
- vo_opengl: add direct rendering support (--vd-lavc-dr)
- vo_opengl: implement (faster) compute shader based EWA kernel
- vo_opengl: implement HLG OOTF inverse
- vo_opengl: support HDR peak detection (--hdr-compute-peak)
- vo_opengl: support float input pixel formats
- vo_opengl: support loading custom user textures (#4586)
- vo_opengl: support user compute shaders

- Remove video equalizer handling from vo_direct3d, vo_sdl, vo_vaapi, and vo_xv \ 
(GPL, not worth the effort to support legacy VOs)

Options and Commands
- macOS: add --no-native-fs option to disable the native macOS fullscreen (#4014)
- player: add --track-auto-selection option

- input: use mnemonic names for mouse buttons, same as Qt: \ 
- options: change --loop semantics
- player: make --lavfi-complex changeable at runtime
- vf_eq: remove this filter (GPL; uses libavfilter’s eq filter now, with \ 
changed semantics)
- video: change --deinterlace behavior
- vo_opengl: generalize HDR tone mapping to gamut mapping, --hdr-tone-mapping \ 
→ --tone-mapping

- --field-dominance (GPL-only author, no chance of relicensing)
- input: drop deprecated "osd" command
- options: drop --video-aspect-method=hybrid (GPL-only)

Fixes and Minor Enhancements
- TOOLS/autocrop.lua: fix cropdetect black limit for 10-bit videos
- TOOLS/lua/autodeint: update to lavfi-bridge
- TOOLS/lua/status-line: improve and update
- af_lavrresample: don't call swr_set_compensation() unless necessary (#4716)
- ao_oss: fix period_size calculation (#4642)
- ao_rsound: allow setting the host
- audio: fix spdif mode
- filter_kernels: correct spline64 kernel
- macOS: fix media keys input when other Apps steal the priority (#4834)
- macOS: fix the support of multiple renderers (GPU switch) (#2371)
- macOS: remove the standard "Show Tab Bar" menu item
- options: fix --include (#4673)
- player: fix --end with large values (#4650)
- player: fix confusion in audio resync code (#4688)
- player: make refresh seeks slightly more robust (#4757)
- player: readd smi subtitle extension (#4626)
- vd_lavc: change auto-probe order to prefer cuda over vdpau-copy
- vd_lavc: fix device leak with copy-mode hwaccels (#4735)
- vd_lavc: fix hwdec compatibility with yuvj420p formats
- vd_lavc: fix mid-stream hwdec fallback
- vf_vapoursynth: fix inverted sign and restore 10 bit support (#4720)
- video: increase --monitorpixelaspect range
- vo_opengl: adjust the rules for linearization (#4631)
- vo_opengl: scale deband-grain to the signal range
- vo_opengl: tone map on the maximum signal component
- x11: fix that window could be resized when using embedding (#4784)
- ytdl_hook: resolve relative paths when joining segment urls (#4827)
- ytdl_hook: support fragments with relative paths, fixes segmented DASH
   2017-09-08 04:38:46 by Ryo ONODERA | Files touched by this commit (132)
Log message:
Recursive revbump from audio/pulseaudio-11.0
   2017-09-03 10:53:18 by Thomas Klausner | Files touched by this commit (165)
Log message:
Follow some redirects.
   2017-07-22 19:28:38 by Leonardo Taccari | Files touched by this commit (3) | Package updated
Log message:
Update multimedia/mpv to 0.26.0

pkgsrc changes:
 - Adjust SUBST `audio' class after recent ao_oss changes
 - Backport a patch to fix issue #4642 (`ao_oss: fix a dumb calculation').

Release 0.26.0
VA-API/VDPAU hardware decoding now requires FFmpeg > 3.2.
DVB support is disabled by default since it does not work with some older kernels.
Built-in V4L TV support is disabled by default. av://v4l2 can be used instead.
Support for C plugins is now enabled by default (#4491).

Many more parts of the player are now licensed under LGPL, see Copyright file.
Thanks to all contributors who have agreed to relicensing of their changes!
See #2033 for details.

- Universal Windows Plaform (UWP) support (libmpv only)
- csputils: implement sony s-gamut
- js: add javascript scripting support using MuJS
  See DOCS/man/javascript.rst for more details
- vo_opengl: add new HDR tone mapping algorithm (mobius, now default)
- vo_opengl: hwdec_cuda: Support separate decode and display devices
- vo_opengl: implement sony s-log1 and s-log2 trc
- vo_opengl: implement support for OOTFs and non-display referred content

- vf_dlopen: remove this filter

Options and Commands
- vo_opengl: add --tone-mapping-desaturate
- vo_opengl: support tone-mapping-param for `clip`
- ytdl_hook: add option to exclude URLs from being parsed

- allow setting profile option with libmpv
- audio: move replaygain control to top-level options
- external_files: parse ~ in --{sub,audio}-paths
- options: change --sub-fix-timing default to no (#4484)
- options: expose string list actions for --sub-file option
- options: slight cleanup of --sub-ass-style-override
  * signfs → scale
  * --sub-ass-style-override → --sub-ass-override
- renamed the HDR TRCs `st2084` and `std-b67` to `pq` and `hlg` respectively
- replace vf_format's `peak` suboption by `sig-peak`, which is relative to the \ 
reference white level instead of in cd/m^2
- the following options change to append-by-default (and possibly separator):
  * --script
- video: change --video-aspect-method default value to `container`

- m_option: deprecate multiple items for -add etc.
- player: deprecate "osd" command
- --audio-file-paths => --audio-file-path
- --sub-paths => --sub-file-path
- --opengl-shaders => --opengl-shader
- --sub-paths => --sub-file-paths
- the following options are deprecated for setting via API:
  * "script" (use "scripts")
  * "sub-file" (use "sub-files")
  * "audio-file" (use "audio-files")
  * "external-file" (use "external-files")
  (the compatibility hacks for this will be removed after this release)

- chmap: remove misleading "downmix" channel layout name (#4545)
- demux_lavf: remove --demuxer-lavf-cryptokey option (#4579)
- input.conf: drop TV/DVB bindings
- options: remove remaining deprecated audio device selection options
  * --alsa-device
  * --oss-device
  * --coreaudio-exclusive
  * --pulse-sink
  * --rsound-host/--rsound-port
  * --ao-sndio-device
  * --ao-wasapi-exclusive
  * --ao-wasapi-device
- remove option --target-brightness
- remove property "video-params/nom-peak"

Fixes and Minor Enhancements
- TOOLS/lua/autoload.lua: actually sort files case insensitive (#4398)
- TOOLS/lua/autoload.lua: ignores all files starting with "."
- ao_openal: kill off device listing (#4311)
- ao_pulse: reorder format choice to prefer float and S32 over S16 as fallback format
- ao_wasapi: try correct initial format (#4582)
- command: add missing change notification for playlist-shuffle (#4573)
- demux_disc: fix bluray subtitle language retrieval (#4611)
- demux_mkv: fix alpha with vp9 + libvpx
- demux_mkv: support FFmpeg A_MS/ACM extensions
- ipc-unix: don’t truncate the message on EAGAIN (#4452)
- ipc: raise json nesting limit (#4394)
- macOS: fix mpv-wrapper.sh when used with csh or tcsh shell
- macOS: properly unhide Dock when quitting during System fs animation
- mpv_identify: replace deprecated fps property (#4550)
- options/path: fallback to USERPROFILE if HOME isn't set
- player: close audio device on no audio track
- player: fix potential segfault when playing dvd:// with DVD disabled (#4393)
- player: prevent seek position to jump around adjacent keyframes, e.g. when \ 
dragging the OSC bar on short videos (#4183)
- vo_opengl: bump up SHADER_MAX_HOOKS and MAX_TEXTURE_HOOKS to 64
- vo_opengl: correct off-by-one in scale=oversample
- vo_opengl: do not use vaapi-over-GLX (#4555)
- vo_opengl: fall back to ordered dither instead of blowing up (#4519)
- vo_opengl: tone map in linear XYZ instead of RGB
- x11: add 128x128 sized icon support
- ytdl_hook: add a header to support geo-bypass
- ytdl_hook: don't override start time set by saved state
- ytdl_hook: don't override user-set start time
- ytdl_hook: treat single-entry playlists as a single video
   2017-07-16 14:06:25 by Leonardo Taccari | Files touched by this commit (4) | Package updated
Log message:
Add stereo/mono fallback logic for `oss' audio output.

Previously playing files with more audio channels available than the ones
provided by audio device resulted in muted audio. A possible workaround to that
was forcing the `--audio-channels=2' or similar.

Thanks to <mrg> for kindly provided a reliable test (file|case) for that!

While here also get rid of a trailing whitespace in options.mk (spotted by

   2017-04-24 17:18:01 by Maya Rashish | Files touched by this commit (2) | Package updated
Log message:
mpv: update to 0.25.0

This release drops support for OS X 10.7 and earlier.
Support for some optical media functionality (DVD/CD) is now disabled by default.

More parts of the player are now licensed under LGPL. In particular:

    OSD symbol font
    ass_mp, sd_ass
    demux_mkv (with minor exceptions), ebml, matroska.h

Thanks to all contributors who have agreed to relicensing of their changes!
See #2033 for details.

Starting with this release, releases will be tagged on the master branch.
The release/current branch is thus abandoned.

    TOOLS: add acompressor.lua script for runtime acompressor ffmpeg filter control
    dvb: add support for DVB-T2
    lavfi: support hwdec filters for --lavfi-complex
    macOS: initial Touch Bar support
    osc: add volume button (mouse wheel to change volume)
    sub: add SDH subtitle filter
    vo_opengl: add experimental vdpauglx backend
    vo_opengl: implement videotoolbox hwdec on iOS


    image_writer: remove useless formats (PPM, PGM, TGA)
    af_drc: remove (use --af=acompressor instead; higher quality)

Options and Commands

    --sub-filter-sdh, --sub-filter-sdh-harder
    add automatic libavfilter bridges to option parsing
    command: add better runtime filter toggling method
    command: add demux-start-time property
    command: add property notifications for hwdec properties (#4289)
    input: add "async" flag
    osc: add user_opts.boxmaxchars for box layout title limit
    player: add --keep-open-pause=no option
    va_vavpp: reversal-bug=no
    vo_opengl: --opengl-es=force2
    vo_opengl: add --opengl-shader-cache-dir option for caching shaders on disk \ 
(mostly for ANGLE)
    vo_opengl: angle: add --angle-flip to set the ANGLE present model


    command: update sub-fps etc. options on runtime changes
    vo_opengl: prefer X11 backends over Wayland backends
    options: change --audio-file-auto default to not to load any files


    audio: deprecate most non-lavfi audio filters
    (channels, equalizer, pan, volume)
    video: deprecate almost all non-lavfi video filters
    (buffer, crop, dlopen, dsize, eq, expand, flip, gradfun, mirror, noformat,
    pullup, rotate, scale, stereo3d, sub, yadif)
    options: deprecate --loop semantics (planned alias to --loop-file)

Fixes and Minor Enhancements

    Windows: demux_cue: fix UTF-8 paths
    Windows: fix mismatched free/talloc_free (#4315)
    Windows: fix undefined behaviour when toggling fullscreen
    ao_alsa: close lost audio devices (#4189)
    ao_alsa: filter fewer devices
    ao_alsa: fix an error check (#4188)
    ao_jack: update latency on buffer_size/graph change
    ao_wasapi: do not pass nonsense to drivers with double precision formats
    ass_mp: reallocate cached subtitle image data on format changes (#4325)
    build: decouple dvdnav check from dvdread (#4290)
    build: encode_lavc: fix build failure after libavcodec major bump
    build: fix build with HAVE_GL==0
    build: replace android-gl check with a standard GLES3 check
    build: update bundled waf to 1.9.8
    build: vd_lavc: fix potential build failure with vaapi
    demux_lavf: disable half-working mp4 edit list support in libavcodec
    demux_lavf: skip avformat_find_stream_info() for some formats (hls, mp4, mkv \ 
by default)
    etc/encoding_profiles.conf: update and remove deprecated stuff
    etc/mpv.conf: remove deprecated options
    external_files: actually try to autoload from fallback paths
    external_files: enable autoloading with URLs (#3264)
    image_writer: make it work with libavcodec's jpg encoder
    macOS: add --ontop-level option for modifying ontop window level (#2376, #3974)
    macOS: add key mappings for previous and next Media Keys (#4204)
    macOS: add option to force dedicated GPU (#3242)
    macOS: fix autofit options on HiDPI resolutions without HiDPI scaling (#4194)
    macOS: fix black edges on live resize
    macOS: fix cursor hiding in the Dock area and top of the screen
    macOS: fix event propagation of menu bar item key shortcuts
    macOS: fix first responder when borderless window is used
    macOS: fix key input in certain circumstances
    macOS: fix retrieval of non-fullscreen window size, also while animating (#4323)
    macOS: fix scroll wheel input with Shift modifier (#3506)
    macOS: improve bundle environment variable handling (#2061)
    macOS: make window draggable on init
    macOS: only move window into screen bounds when changing screens (#4178)
    macOS: only report mouse movements when window is not being dragged (might \ 
have triggered OSC and other scripts)
    macOS: properly restore shell state when quitting from the Dock's context menu
    macOS: refactor mouse events and cursor visibility (#1817, #3856, #4147)
    macOS: set background of the title bar from black to white
    osc: bottom/topbar: add fullscreen button
    osc: bottom/topbar: don't clip title vertically
    osc: bottom/topbar: increase timecodes width a bit (#3952)
    osc: fix PlayResX undefined warning when aspect is 0
    osc: fix window dragging with showwindowed=no (#1819)
    osc: make title configurable and use property expansion on it (#4221)
    osc: refactor osc message scaling (#4081, #4083, #4102)
    player: don't block playback stop when seeking
    player: enable "buffering" pausing for DASH streams too
    player: fix core-idle and eof-reached update notifcations
    player: make screenshot commands honor the async flag (#4250)
    player: reduce blocking on VO when switching pause (#4152)
    sd_ass: disable --sub-fix-timing if sub style override is fully disabled
    stream/stream_dvdnav: don't ignore setting title (#4283)
    stream_dvd: fix subs/audio detection on DVDs containing multi-PGC titles
    vf_vavpp: add advanced deint bug compatibility for Intel vaapi drivers
    vf_vavpp: fix first-field mode
    vo_opengl: fix crash with temporal dithering in dumb mode
    vo_opengl: hwdec_d3d11egl: make it work with some ANGLE DLL versions
    vo_x11: reduce flickering on playlist navigation
    wayland: correctly map mouse buttons

This listing is not complete. Check DOCS/client-api-changes.rst for a history
of changes to the client API, and DOCS/interface-changes.rst for a history
of changes to other user-visible interfaces.

A complete changelog can be seen by running git log v0.24.0..v0.25.0
in the git repository or by visiting either
v0.24.0...v0.25.0 or
https://git.srsfckn.biz/mpv/log/?qt=ran … 0..v0.25.0
   2017-03-13 11:26:24 by Leonardo Taccari | Files touched by this commit (1)
Log message:
Document that sdl2 option provides both audio and video outputs (similarly to
other comment in the options). While here get rid of extra `###' lines.

No functional changes.