2015-02-05 21:12:11 +00:00
|
|
|
CHANGES FROM OTHER VERSIONS OF MPLAYER
|
|
|
|
======================================
|
|
|
|
|
|
|
|
**mpv** is based on mplayer2, which in turn is based on the original MPlayer
|
|
|
|
(also called mplayer, mplayer-svn, mplayer1). Many changes have been made, a
|
|
|
|
large part of which is incompatible or completely changes how the player
|
|
|
|
behaves. Although there are still many similarities to its ancestors, **mpv**
|
|
|
|
should generally be treated as a completely different program.
|
|
|
|
|
2016-09-02 07:48:35 +00:00
|
|
|
.. admonition:: Warning
|
2017-02-10 14:27:45 +00:00
|
|
|
|
|
|
|
This document is **not updated** anymore, and is **incomplete** and
|
|
|
|
**outdated**. If you look for old option replacements, always check with
|
|
|
|
the current mpv manpage, as the options could have changed meanwhile.
|
2015-02-05 21:12:11 +00:00
|
|
|
|
|
|
|
General Changes from MPlayer to mpv
|
|
|
|
-----------------------------------
|
|
|
|
|
|
|
|
This listing is about changes introduced by mplayer2 and mpv relatively to
|
|
|
|
MPlayer.
|
|
|
|
|
|
|
|
Player
|
|
|
|
~~~~~~
|
|
|
|
|
|
|
|
* New name for the binary (``mpv``). New location for config files (either
|
|
|
|
``~/.config/mpv/mpv.conf``, or if you want, ``~/.mpv/config``).
|
|
|
|
* Encoding functionality (replacement for MEncoder, see the `ENCODING`_ section).
|
|
|
|
* Support for Lua scripting (see the `LUA SCRIPTING`_ section).
|
|
|
|
* Better pause handling (e.g. do not unpause on a command).
|
|
|
|
* Precise seeking support.
|
|
|
|
* Improvements in audio/video sync handling.
|
|
|
|
* Do not lose settings when playing a new file in the same player instance.
|
|
|
|
* Slave mode compatibility broken (see below).
|
|
|
|
* Re-enable screensaver while the player is paused.
|
|
|
|
* Allow resuming playback at a later point with ``Shift+q``, also see the
|
2016-07-14 18:04:59 +00:00
|
|
|
``quit-watch-later`` input command.
|
2015-02-05 21:12:11 +00:00
|
|
|
* ``--keep-open`` option to stop the player from closing the window and
|
|
|
|
exiting after playback ends.
|
|
|
|
* A client API, that allows embedding **mpv** into applications
|
|
|
|
(see ``libmpv/client.h`` in the sources).
|
|
|
|
|
|
|
|
Input
|
|
|
|
~~~~~
|
|
|
|
|
|
|
|
* Improved default keybindings. MPlayer bindings are also available (see
|
|
|
|
``etc/mplayer-input.conf`` in the source tree).
|
|
|
|
* Improved responsiveness on user input.
|
|
|
|
* Support for modifier keys (alt, shift, ctrl) in input.conf.
|
|
|
|
* Allow customizing whether a key binding for seeking shows the video time, the
|
|
|
|
OSD bar, or nothing (see the `Input Command Prefixes`_ section).
|
|
|
|
* Support mapping multiple commands to one key.
|
2015-03-24 14:53:36 +00:00
|
|
|
* Classic LIRC support was removed. Install remotes as input devices instead.
|
|
|
|
This way they will send X11 key events to the mpv window, which can be bound
|
|
|
|
using the normal ``input.conf``.
|
2015-05-07 19:03:06 +00:00
|
|
|
Also see: http://github.com/mpv-player/mpv/wiki/IR-remotes
|
2015-04-23 20:29:29 +00:00
|
|
|
* Joystick support was removed. It was considered useless and was the cause
|
|
|
|
of some problems (e.g. a laptop's accelerator being recognized as joystick).
|
2015-05-21 06:43:55 +00:00
|
|
|
* Support for relative seeking by percentage.
|
2015-02-05 21:12:11 +00:00
|
|
|
|
|
|
|
Audio
|
|
|
|
~~~~~
|
|
|
|
|
|
|
|
* Support for gapless audio (see the ``--gapless-audio`` option).
|
|
|
|
* Support for OSS4 volume control.
|
|
|
|
* Improved support for PulseAudio.
|
|
|
|
* Make ``--softvol`` default (**mpv** is not a mixer control panel).
|
|
|
|
* By default, do pitch correction if playback speed is increased.
|
|
|
|
* Improved downmixing and output of surround audio:
|
|
|
|
|
|
|
|
- Instead of using hardcoded pan filters to do remixing, libavresample is used
|
|
|
|
- Channel maps are used to identify the channel layout, so e.g. ``3.0`` and
|
|
|
|
``2.1`` audio can be distinguished.
|
|
|
|
|
|
|
|
Video
|
|
|
|
~~~~~
|
|
|
|
|
|
|
|
* Wayland support.
|
|
|
|
* Native support for VAAPI and VDA. Improved VDPAU video output.
|
vo_opengl: refactor into vo_gpu
This is done in several steps:
1. refactor MPGLContext -> struct ra_ctx
2. move GL-specific stuff in vo_opengl into opengl/context.c
3. generalize context creation to support other APIs, and add --gpu-api
4. rename all of the --opengl- options that are no longer opengl-specific
5. move all of the stuff from opengl/* that isn't GL-specific into gpu/
(note: opengl/gl_utils.h became opengl/utils.h)
6. rename vo_opengl to vo_gpu
7. to handle window screenshots, the short-term approach was to just add
it to ra_swchain_fns. Long term (and for vulkan) this has to be moved to
ra itself (and vo_gpu altered to compensate), but this was a stop-gap
measure to prevent this commit from getting too big
8. move ra->fns->flush to ra_gl_ctx instead
9. some other minor changes that I've probably already forgotten
Note: This is one half of a major refactor, the other half of which is
provided by rossy's following commit. This commit enables support for
all linux platforms, while his version enables support for all non-linux
platforms.
Note 2: vo_opengl_cb.c also re-uses ra_gl_ctx so it benefits from the
--opengl- options like --opengl-early-flush, --opengl-finish etc. Should
be a strict superset of the old functionality.
Disclaimer: Since I have no way of compiling mpv on all platforms, some
of these ports were done blindly. Specifically, the blind ports included
context_mali_fbdev.c and context_rpi.c. Since they're both based on
egl_helpers, the port should have gone smoothly without any major
changes required. But if somebody complains about a compile error on
those platforms (assuming anybody actually uses them), you know where to
complain.
2017-09-14 06:04:55 +00:00
|
|
|
* Improved GPU-accelerated video output (see the ``gpu-hq`` preset).
|
|
|
|
* Make hardware decoding work with the ``gpu`` video output.
|
2015-02-05 21:12:11 +00:00
|
|
|
* Support for libavfilter (for video->video and audio->audio). This allows
|
|
|
|
using most of FFmpeg's filters, which improve greatly on the old MPlayer
|
|
|
|
filters in features, performance, and correctness.
|
|
|
|
* More correct color reproduction (color matrix generation), including support
|
2016-05-16 17:29:15 +00:00
|
|
|
for BT.2020 (Ultra HD). linear XYZ (Digital Cinema) and SMPTE ST2084 (HDR)
|
|
|
|
inputs.
|
2015-02-05 21:12:11 +00:00
|
|
|
* Support for color managed displays, via ICC profiles.
|
vo_opengl: refactor into vo_gpu
This is done in several steps:
1. refactor MPGLContext -> struct ra_ctx
2. move GL-specific stuff in vo_opengl into opengl/context.c
3. generalize context creation to support other APIs, and add --gpu-api
4. rename all of the --opengl- options that are no longer opengl-specific
5. move all of the stuff from opengl/* that isn't GL-specific into gpu/
(note: opengl/gl_utils.h became opengl/utils.h)
6. rename vo_opengl to vo_gpu
7. to handle window screenshots, the short-term approach was to just add
it to ra_swchain_fns. Long term (and for vulkan) this has to be moved to
ra itself (and vo_gpu altered to compensate), but this was a stop-gap
measure to prevent this commit from getting too big
8. move ra->fns->flush to ra_gl_ctx instead
9. some other minor changes that I've probably already forgotten
Note: This is one half of a major refactor, the other half of which is
provided by rossy's following commit. This commit enables support for
all linux platforms, while his version enables support for all non-linux
platforms.
Note 2: vo_opengl_cb.c also re-uses ra_gl_ctx so it benefits from the
--opengl- options like --opengl-early-flush, --opengl-finish etc. Should
be a strict superset of the old functionality.
Disclaimer: Since I have no way of compiling mpv on all platforms, some
of these ports were done blindly. Specifically, the blind ports included
context_mali_fbdev.c and context_rpi.c. Since they're both based on
egl_helpers, the port should have gone smoothly without any major
changes required. But if somebody complains about a compile error on
those platforms (assuming anybody actually uses them), you know where to
complain.
2017-09-14 06:04:55 +00:00
|
|
|
* High-quality image resamplers (see the ``--scale`` suboption).
|
2015-02-05 21:12:11 +00:00
|
|
|
* Support for scaling in (sigmoidized) linear light.
|
|
|
|
* Better subtitle rendering using libass by default.
|
|
|
|
* Improvements when playing multiple files (``-fixed-vo`` is default, do not
|
|
|
|
reset settings by default when playing a new file).
|
|
|
|
* Replace image video outputs (``--vo=jpeg`` etc.) with ``--vo=image``.
|
|
|
|
* Removal of ``--vo=gif89a``, ``--vo=md5sum``, ``--vo=yuv4mpeg``, as encoding
|
|
|
|
can handle these use cases. For yuv4mpeg, for example, use::
|
|
|
|
|
|
|
|
mpv input.mkv -o output.y4m --no-audio --oautofps --oneverdrop
|
|
|
|
|
|
|
|
* Image subtitles (DVDs etc.) are rendered in color and use more correct
|
|
|
|
positioning (color for image subs can be disabled with ``--sub-gray``).
|
2015-06-26 20:24:09 +00:00
|
|
|
* Support for the X11 video output is removed, since it was considered
|
|
|
|
deprecated. SDL video output can still be used as a fallback.
|
2015-02-05 21:12:11 +00:00
|
|
|
|
|
|
|
OSD and terminal
|
|
|
|
~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
* Cleaned up terminal output: nicer status line, less useless noise.
|
|
|
|
* Improved OSD rendering using libass, with full Unicode support.
|
|
|
|
* New OSD bar with chapter marks. Not positioned in the middle of the video
|
|
|
|
(this can be customized with the ``--osd-bar-align-y`` option).
|
|
|
|
* Display list of chapters and audio/subtitle tracks on OSD (see the
|
|
|
|
`Properties`_ section).
|
|
|
|
|
|
|
|
Screenshots
|
|
|
|
~~~~~~~~~~~
|
|
|
|
|
|
|
|
* Instant screenshots without 1-frame delay.
|
|
|
|
* Support for taking screenshots even with hardware decoding.
|
|
|
|
* Support for saving screenshots as JPEG or PNG.
|
|
|
|
* Support for configurable file names.
|
|
|
|
* Support for taking screenshots with or without subtitles.
|
|
|
|
|
|
|
|
Note that the ``screenshot`` video filter is not needed anymore, and should not
|
|
|
|
be put into the mpv config file.
|
|
|
|
|
|
|
|
Miscellaneous
|
|
|
|
~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
* Better MKV support (e.g. ordered chapters, 3D metadata).
|
|
|
|
* Matroska edition switching at runtime.
|
|
|
|
* Support for playing URLs of popular streaming sites directly.
|
|
|
|
(e.g. ``mpv https://www.youtube.com/watch?v=...``).
|
|
|
|
Requires a recent version of ``youtube-dl`` to be installed. Can be
|
|
|
|
disabled with ``ytdl=no`` in the mpv config file.
|
|
|
|
* Support for precise scrolling which scales the parameter of commands. If the
|
|
|
|
input doesn't support precise scrolling the scale factor stays 1.
|
|
|
|
* Allow changing/adjusting video filters at runtime. (This is also used to make
|
|
|
|
the ``D`` key insert vf_yadif if deinterlacing is not supported otherwise).
|
|
|
|
* Improved support for .cue files.
|
|
|
|
|
|
|
|
Mac OS X
|
|
|
|
~~~~~~~~
|
|
|
|
|
|
|
|
* Native OpenGL backend.
|
|
|
|
* Cocoa event loop is independent from MPlayer's event loop, so user
|
|
|
|
actions like accessing menus and live resizing do not block the playback.
|
|
|
|
* Media Keys support.
|
|
|
|
* VDA support using libavcodec hwaccel API instead of FFmpeg's decoder with up
|
|
|
|
to 2-2.5x reduction in CPU usage.
|
|
|
|
|
|
|
|
Windows
|
|
|
|
~~~~~~~
|
|
|
|
|
|
|
|
* Improved support for Unicode file names.
|
|
|
|
* Improved window handling.
|
|
|
|
* Do not block playback when moving the window.
|
|
|
|
* Improved Direct3D video output.
|
|
|
|
* Added WASAPI audio output.
|
|
|
|
|
|
|
|
Internal changes
|
|
|
|
~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
* Switch to GPLv2+ (see ``Copyright`` file for details).
|
|
|
|
* Removal of lots of cruft:
|
|
|
|
|
|
|
|
- Internal GUI (replaced by the OSC, see the `ON SCREEN CONTROLLER`_ section).
|
|
|
|
- MEncoder (replaced by native encoding, see the `ENCODING`_ section).
|
|
|
|
- OSD menu.
|
|
|
|
- Kernel video drivers for Linux 2.4 (including VIDIX).
|
|
|
|
- Teletext support.
|
|
|
|
- Support for dead platforms.
|
|
|
|
- Most built-in demuxers have been replaced by their libavformat counterparts.
|
|
|
|
- Built-in network support has been replaced by libavformat's (which also
|
|
|
|
supports https URLs).
|
|
|
|
- Embedded copies of libraries (such as FFmpeg).
|
|
|
|
|
|
|
|
* General code cleanups (including refactoring or rewrites of many parts).
|
|
|
|
* New build system.
|
|
|
|
* Many bug fixes and removal of long-standing issues.
|
|
|
|
* Generally preferring FFmpeg/Libav over internal demuxers, decoders, and
|
|
|
|
filters.
|
|
|
|
|
|
|
|
Detailed Listing of User-visible Changes
|
|
|
|
----------------------------------------
|
|
|
|
|
|
|
|
This listing is about changed command line switches, slave commands, and similar
|
|
|
|
things. Completely removed features are not listed.
|
|
|
|
|
|
|
|
Command Line Switches
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
* There is a new command line syntax, which is generally preferred over the old
|
|
|
|
syntax. ``-optname optvalue`` becomes ``--optname=optvalue``.
|
|
|
|
|
|
|
|
The old syntax will not be removed. However, the new syntax is mentioned in
|
|
|
|
all documentation and so on, and unlike the old syntax is not ambiguous,
|
|
|
|
so it is a good thing to know about this change.
|
|
|
|
* In general, negating switches like ``-noopt`` now have to be written as
|
|
|
|
``-no-opt`` or ``--no-opt``.
|
|
|
|
* Per-file options are not the default anymore. You can explicitly specify
|
|
|
|
file-local options. See ``Usage`` section.
|
|
|
|
* Many options have been renamed, removed or changed semantics. Some options
|
|
|
|
that are required for a good playback experience with MPlayer are now
|
|
|
|
superfluous or even worse than the defaults, so make sure to read the manual
|
|
|
|
before trying to use your existing configuration with **mpv**.
|
|
|
|
* Table of renamed/replaced switches:
|
|
|
|
|
|
|
|
=========================== ========================================
|
|
|
|
Old New
|
|
|
|
=========================== ========================================
|
|
|
|
``-no<opt>`` ``--no-<opt>`` (add a dash)
|
|
|
|
``-a52drc level`` ``--ad-lavc-ac3drc=level``
|
|
|
|
``-ac spdifac3`` ``--ad=spdif:ac3`` (see ``--ad=help``)
|
2017-03-17 15:49:28 +00:00
|
|
|
``-af volnorm`` (removed; use acompressor ffmpeg filter instead)
|
2015-02-05 21:12:11 +00:00
|
|
|
``-afm hwac3`` ``--ad=spdif:ac3,spdif:dts``
|
|
|
|
``-ao alsa:device=hw=0.3`` ``--ao=alsa:device=[hw:0,3]``
|
|
|
|
``-aspect`` ``--video-aspect``
|
|
|
|
``-ass-bottom-margin`` ``--vf=sub=bottom:top``
|
|
|
|
``-ass`` ``--sub-ass``
|
|
|
|
``-audiofile-cache`` (removed; the main cache settings are used)
|
|
|
|
``-audiofile`` ``--audio-file``
|
|
|
|
``-benchmark`` ``--untimed`` (no stats)
|
|
|
|
``-capture`` ``--stream-capture=<filename>``
|
|
|
|
``-channels`` ``--audio-channels`` (changed semantics)
|
|
|
|
``-cursor-autohide-delay`` ``--cursor-autohide``
|
|
|
|
``-delay`` ``--audio-delay``
|
|
|
|
``-dumpstream`` ``--stream-dump=<filename>``
|
|
|
|
``-dvdangle`` ``--dvd-angle``
|
|
|
|
``-endpos`` ``--length``
|
|
|
|
``-fixed-vo`` (removed; always the default)
|
|
|
|
``-font`` ``--osd-font``
|
|
|
|
``-forcedsubsonly`` ``--sub-forced-only``
|
|
|
|
``-forceidx`` ``--index``
|
|
|
|
``-format`` ``--audio-format``
|
|
|
|
``-fsmode-dontuse`` (removed)
|
|
|
|
``-fstype`` ``--x11-netwm`` (changed semantics)
|
|
|
|
``-hardframedrop`` ``--framedrop=hard``
|
|
|
|
``-identify`` (removed; use TOOLS/mpv_identify.sh)
|
|
|
|
``-idx`` ``--index``
|
|
|
|
``-lavdopts ...`` ``--vd-lavc-...``
|
|
|
|
``-lavfdopts`` ``--demuxer-lavf-...``
|
|
|
|
``-loop 0`` ``--loop=inf``
|
|
|
|
``-mixer-channel`` AO suboptions (``alsa``, ``oss``)
|
|
|
|
``-mixer`` AO suboptions (``alsa``, ``oss``)
|
|
|
|
``-mouse-movements`` ``--input-cursor``
|
|
|
|
``-msgcolor`` ``--msg-color``
|
|
|
|
``-msglevel`` ``--msg-level`` (changed semantics)
|
|
|
|
``-msgmodule`` ``--msg-module``
|
|
|
|
``-name`` ``--x11-name``
|
2019-11-16 15:54:07 +00:00
|
|
|
``-noar`` ``(removed; replaced by MediaPlayer framework)``
|
2015-02-05 21:12:11 +00:00
|
|
|
``-noautosub`` ``--no-sub-auto``
|
|
|
|
``-noconsolecontrols`` ``--no-input-terminal``
|
|
|
|
``-nosound`` ``--no-audio``
|
|
|
|
``-osdlevel`` ``--osd-level``
|
|
|
|
``-panscanrange`` ``--video-zoom``, ``--video-pan-x/y``
|
|
|
|
``-playing-msg`` ``--term-playing-msg``
|
|
|
|
``-pp ...`` ``'--vf=lavfi=[pp=...]'``
|
|
|
|
``-pphelp`` (See FFmpeg libavfilter documentation.)
|
|
|
|
``-rawaudio ...`` ``--demuxer-rawaudio-...``
|
|
|
|
``-rawvideo ...`` ``--demuxer-rawvideo-...``
|
|
|
|
``-spugauss`` ``--sub-gauss``
|
|
|
|
``-srate`` ``--audio-samplerate``
|
|
|
|
``-ss`` ``--start``
|
|
|
|
``-ssf <sub>`` ``--sws-...``
|
|
|
|
``-stop-xscreensaver`` ``--stop-screensaver``
|
|
|
|
``-sub-fuzziness`` ``--sub-auto``
|
2016-10-02 15:08:14 +00:00
|
|
|
``-sub-text-*`` ``--sub-*``
|
2015-02-05 21:12:11 +00:00
|
|
|
``-sub`` ``--sub-file``
|
|
|
|
``-subcp`` ``--sub-codepage``
|
|
|
|
``-subdelay`` ``--sub-delay``
|
|
|
|
``-subfile`` ``--sub-file``
|
2016-10-02 15:08:14 +00:00
|
|
|
``-subfont-*`` ``--sub-*``, ``--osd-*``
|
2015-02-05 21:12:11 +00:00
|
|
|
``-subfont-text-scale`` ``--sub-scale``
|
2016-10-02 15:08:14 +00:00
|
|
|
``-subfont`` ``--sub-font``
|
2015-02-05 21:12:11 +00:00
|
|
|
``-subfps`` ``--sub-fps``
|
|
|
|
``-subpos`` ``--sub-pos``
|
|
|
|
``-sws`` ``--sws-scaler``
|
|
|
|
``-tvscan`` ``--tv-scan``
|
|
|
|
``-use-filename-title`` ``--title='${filename}'``
|
|
|
|
``-vc ffh264vdpau`` (etc.) ``--hwdec=vdpau``
|
|
|
|
``-vobsub`` ``--sub-file`` (pass the .idx file)
|
|
|
|
``-x W``, ``-y H`` ``--geometry=WxH`` + ``--no-keepaspect``
|
|
|
|
``-xineramascreen`` ``--screen`` (different values)
|
|
|
|
``-xy W`` ``--autofit=W``
|
|
|
|
``-zoom`` Inverse available as ``--video-unscaled``
|
2015-06-26 21:37:23 +00:00
|
|
|
``dvdnav://`` Removed.
|
2015-02-05 21:12:11 +00:00
|
|
|
``dvd://1`` ``dvd://0`` (0-based offset)
|
|
|
|
=========================== ========================================
|
|
|
|
|
|
|
|
.. note::
|
|
|
|
|
|
|
|
``-opt val`` becomes ``--opt=val``.
|
|
|
|
|
|
|
|
.. note::
|
|
|
|
|
|
|
|
Quite some video filters, video outputs, audio filters, audio outputs, had
|
|
|
|
changes in their option parsing. These aren't mentioned in the table above.
|
|
|
|
|
|
|
|
Also, some video and audio filters have been removed, and you have to use
|
|
|
|
libavfilter (using ``--vf=lavfi=[...]`` or ``--af=lavfi=[...]``) to get
|
|
|
|
them back.
|
|
|
|
|
|
|
|
input.conf and Slave Commands
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
* Table of renamed input commands:
|
|
|
|
|
|
|
|
This lists only commands that are not always gracefully handled by the
|
|
|
|
internal legacy translation layer. If an input.conf contains any legacy
|
|
|
|
commands, a warning will be printed when starting the player. The warnings
|
|
|
|
also show the replacement commands.
|
|
|
|
|
|
|
|
Properties containing ``_`` to separate words use ``-`` instead.
|
|
|
|
|
|
|
|
+--------------------------------+----------------------------------------+
|
|
|
|
| Old | New |
|
|
|
|
+================================+========================================+
|
2016-07-14 18:04:59 +00:00
|
|
|
| ``pt_step 1 [0|1]`` | ``playlist-next [weak|force]`` |
|
2015-02-05 21:12:11 +00:00
|
|
|
| | (translation layer cannot deal with |
|
|
|
|
| | whitespace) |
|
|
|
|
+--------------------------------+----------------------------------------+
|
2016-07-14 18:04:59 +00:00
|
|
|
| ``pt_step -1 [0|1]`` | ``playlist-prev [weak|force] (same)`` |
|
2015-02-05 21:12:11 +00:00
|
|
|
+--------------------------------+----------------------------------------+
|
|
|
|
| ``switch_ratio [<ratio>]`` | ``set video-aspect <ratio>`` |
|
|
|
|
| | |
|
|
|
|
| | ``set video-aspect 0`` (reset aspect) |
|
|
|
|
+--------------------------------+----------------------------------------+
|
|
|
|
| ``step_property_osd <prop>`` | ``cycle <prop> <step>`` (wraps), |
|
|
|
|
| ``<step> <dir>`` | ``add <prop> <step>`` (clamps). |
|
|
|
|
| | ``<dir>`` parameter unsupported. Use |
|
|
|
|
| | a negative ``<step>`` instead. |
|
|
|
|
+--------------------------------+----------------------------------------+
|
|
|
|
| ``step_property <prop>`` | Prefix ``cycle`` or ``add`` with |
|
|
|
|
| ``<step> <dir>`` | ``no-osd``: ``no-osd cycle <prop>`` |
|
|
|
|
| | ``<step>`` |
|
|
|
|
+--------------------------------+----------------------------------------+
|
2016-07-14 18:04:59 +00:00
|
|
|
| ``osd_show_property_text`` | ``show-text <text>`` |
|
2015-02-05 21:12:11 +00:00
|
|
|
| ``<text>`` | The property expansion format string |
|
|
|
|
| | syntax slightly changed. |
|
|
|
|
+--------------------------------+----------------------------------------+
|
|
|
|
| ``osd_show_text`` | Now does the same as |
|
|
|
|
| | ``osd_show_property_text``. Use the |
|
|
|
|
| | ``raw`` prefix to disable property |
|
|
|
|
| | expansion. |
|
|
|
|
+--------------------------------+----------------------------------------+
|
2016-07-14 18:04:59 +00:00
|
|
|
| ``show_tracks`` | ``show-text ${track-list}`` |
|
2015-02-05 21:12:11 +00:00
|
|
|
+--------------------------------+----------------------------------------+
|
2016-07-14 18:04:59 +00:00
|
|
|
| ``show_chapters`` | ``show-text ${chapter-list}`` |
|
2015-02-05 21:12:11 +00:00
|
|
|
+--------------------------------+----------------------------------------+
|
|
|
|
| ``af_switch``, ``af_add``, ... | ``af set|add|...`` |
|
|
|
|
+--------------------------------+----------------------------------------+
|
|
|
|
| ``tv_start_scan`` | ``set tv-scan yes`` |
|
|
|
|
+--------------------------------+----------------------------------------+
|
|
|
|
| ``tv_set_channel <val>`` | ``set tv-channel <val>`` |
|
|
|
|
+--------------------------------+----------------------------------------+
|
|
|
|
| ``tv_step_channel`` | ``cycle tv-channel`` |
|
|
|
|
+--------------------------------+----------------------------------------+
|
|
|
|
| ``dvb_set_channel <v1> <v2>`` | ``set dvb-channel <v1>-<v2>`` |
|
|
|
|
+--------------------------------+----------------------------------------+
|
|
|
|
| ``dvb_step_channel`` | ``cycle dvb-channel`` |
|
|
|
|
+--------------------------------+----------------------------------------+
|
|
|
|
| ``tv_set_freq <val>`` | ``set tv-freq <val>`` |
|
|
|
|
+--------------------------------+----------------------------------------+
|
|
|
|
| ``tv_step_freq`` | ``cycle tv-freq`` |
|
|
|
|
+--------------------------------+----------------------------------------+
|
|
|
|
| ``tv_set_norm <norm>`` | ``set tv-norm <norm>`` |
|
|
|
|
+--------------------------------+----------------------------------------+
|
|
|
|
| ``tv_step_norm`` | ``cycle tv-norm`` |
|
|
|
|
+--------------------------------+----------------------------------------+
|
|
|
|
|
|
|
|
.. note::
|
|
|
|
|
|
|
|
Due to lack of hardware and users using the TV/DVB/PVR features, and
|
|
|
|
due to the need to cleanup the related command code, it's possible
|
|
|
|
that the new commands are buggy or behave worse. This can be improved
|
|
|
|
if testers are available. Otherwise, some of the TV code will be
|
|
|
|
removed at some point.
|
|
|
|
|
|
|
|
Slave mode
|
|
|
|
~~~~~~~~~~
|
|
|
|
|
|
|
|
* Slave mode was removed. A proper slave mode application needed tons of code
|
|
|
|
and hacks to get
|
|
|
|
it right. The main problem is that slave mode is a bad and incomplete
|
|
|
|
interface, and to get around that, applications parsed output messages
|
|
|
|
intended for users. It is hard to know which messages exactly are parsed by
|
|
|
|
slave mode applications. This makes it virtually impossible to improve
|
|
|
|
terminal output intended for users without possibly breaking something.
|
|
|
|
|
|
|
|
This is absolutely insane, and since initial improvements to **mpv** quickly
|
|
|
|
made slave mode incompatible to most applications, it was removed as useless
|
|
|
|
cruft. The client API (see below) is provided instead.
|
|
|
|
|
|
|
|
``--identify`` was replaced by the ``TOOLS/mpv_identify.sh`` wrapper script.
|
|
|
|
|
|
|
|
* For some time (until including release 0.4.x), mpv supported a
|
|
|
|
``--slave-broken`` option. The following options are equivalent:
|
|
|
|
|
|
|
|
::
|
|
|
|
|
|
|
|
--input-file=/dev/stdin --input-terminal=no
|
|
|
|
|
|
|
|
|
|
|
|
Assuming the system supports ``/dev/stdin``.
|
|
|
|
|
2015-06-17 20:23:08 +00:00
|
|
|
(The option was added back in 0.5.1 and sets exactly these options. It was
|
2015-05-27 16:01:26 +00:00
|
|
|
removed in 0.10.x again.)
|
2015-02-05 21:12:11 +00:00
|
|
|
|
|
|
|
* A JSON RPC protocol giving access to the client API is also supported. See
|
|
|
|
`JSON IPC`_ for more information.
|
|
|
|
|
|
|
|
* **mpv** also provides a client API, which can be used to embed the player
|
|
|
|
by loading it as shared library. (See ``libmpv/client.h`` in the sources.)
|
|
|
|
It might also be possible to implement a custom slave mode-like protocol
|
|
|
|
using Lua scripting.
|
|
|
|
|
|
|
|
Policy for Removed Features
|
|
|
|
---------------------------
|
|
|
|
|
|
|
|
**mpv** is in active development. If something is in the way of more important
|
|
|
|
development (such as fixing bugs or implementing new features), we sometimes
|
|
|
|
remove features. Usually this happens only with old features that either seem
|
|
|
|
to be useless, or are not used by anyone. Often these are obscure, or
|
|
|
|
"inherited", or were marked experimental, but never received any particular
|
|
|
|
praise by any users.
|
|
|
|
|
|
|
|
Sometimes, features are replaced by something new. The new code will be either
|
|
|
|
simpler or more powerful, but doesn't necessarily provide everything the old
|
|
|
|
feature did.
|
|
|
|
|
|
|
|
We can not exclude that we accidentally remove features that are actually
|
|
|
|
popular. Generally, we do not know how much a specific functionality is used.
|
|
|
|
If you miss a feature and think it should be re-added, please open an issue
|
|
|
|
on the mpv bug tracker. Hopefully, a solution can be found. Often, it turns
|
|
|
|
out that re-adding something is not much of a problem, or that there are
|
|
|
|
better alternatives.
|
|
|
|
|
|
|
|
Why this Fork?
|
|
|
|
--------------
|
|
|
|
|
|
|
|
mplayer2 is practically dead, and mpv started out as a branch containing
|
|
|
|
new/experimental development. (Some of it was merged right *after* the fork
|
|
|
|
was made public, seemingly as an acknowledgment that development, or at
|
|
|
|
least merging, should have been more active.)
|
|
|
|
|
|
|
|
MPlayer is focused on not breaking anything, but is stuck with a horrible
|
|
|
|
codebase resistant to cleanup. (Unless you do what mpv did - merciless and
|
|
|
|
consequent pruning of bad, old code.) Cleanup and keeping broken things
|
|
|
|
conflict, so the kind of development mpv strives for can't be done within
|
|
|
|
MPlayer due to clashing development policies.
|
|
|
|
|
|
|
|
Additionally, mplayer2 already had lots of changes over MPlayer, which would
|
|
|
|
have needed to be backported to the MPlayer codebase. This would not only
|
|
|
|
have been hard (several years of diverging development), but also would have
|
|
|
|
been impossible due to the aforementioned MPlayer development policy.
|