2012-08-07 22:24:29 +02:00
|
|
|
CHANGES FROM OTHER VERSIONS OF MPLAYER
|
|
|
|
======================================
|
|
|
|
|
2014-04-25 00:02:01 +02:00
|
|
|
**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.
|
|
|
|
|
|
|
|
.. note::
|
|
|
|
These lists are incomplete.
|
2012-08-07 22:24:29 +02:00
|
|
|
|
2014-05-14 20:35:33 +02:00
|
|
|
General Changes for MPlayer to mpv
|
|
|
|
----------------------------------
|
2012-08-07 22:24:29 +02:00
|
|
|
|
2014-05-14 20:35:33 +02:00
|
|
|
* Switch to GPLv2+. (Technically speaking, MPlayer as a whole seems to be
|
2014-05-15 14:49:19 +02:00
|
|
|
GPLv2-only, while mplayer2 is GPLv3+ - see ``Copyright`` file for details.)
|
|
|
|
* Removal of the internal GUI, MEncoder, OSD menu, video kernel drivers for
|
|
|
|
Linux 2.4 (including VIDIX)
|
2014-05-14 20:35:33 +02:00
|
|
|
* Large internal cleanups
|
|
|
|
* Removal of support for dead platforms
|
2014-09-01 04:25:57 +02:00
|
|
|
* New build system
|
|
|
|
* No embedded copy of FFmpeg and other libraries
|
2013-07-08 18:02:14 +02:00
|
|
|
* Better pause handling (do not unpause on a command)
|
2012-08-07 22:24:29 +02:00
|
|
|
* Better MKV support (such as ordered chapters)
|
|
|
|
* vo_vdpau improvements
|
|
|
|
* Precise seeking support
|
2014-09-01 04:25:57 +02:00
|
|
|
* Native OpenGL backend for OS X
|
|
|
|
* General OS X improvements
|
2012-08-07 22:24:29 +02:00
|
|
|
* Improvements in audio/video sync handling
|
|
|
|
* Cleaned up terminal output
|
|
|
|
* Gapless audio support (``--gapless-audio``)
|
|
|
|
* Improved responsiveness on user input
|
|
|
|
* Support for modifier keys (alt, shift, ctrl) in input.conf
|
|
|
|
* OSS4 volume control
|
|
|
|
* More correct color reproduction (color matrix generation)
|
|
|
|
* Use libass for subtitle rendering by default (better quality)
|
2014-09-01 04:25:57 +02:00
|
|
|
* Generally preferring FFmpeg/Libav over internal demuxers and decoders
|
2012-08-07 22:24:29 +02:00
|
|
|
* Improvements when playing multiple files (``--fixed-vo``)
|
2013-08-18 21:32:16 +02:00
|
|
|
* Screenshot improvements (instant screenshots without 1-frame delay, allow
|
|
|
|
taking screenshots even with hardware decoding)
|
2012-08-07 22:24:29 +02:00
|
|
|
* Improved support for PulseAudio
|
2014-09-01 04:25:57 +02:00
|
|
|
* Generally improved MS Windows support (dealing with Unicode file names,
|
2012-10-24 01:06:00 +02:00
|
|
|
improved ``--vo=direct3d``, improved window handling)
|
2014-09-01 04:25:57 +02:00
|
|
|
* Better OSD rendering (using libass). This has full Unicode support, and
|
2012-08-07 22:24:29 +02:00
|
|
|
languages like Arabic should be better supported.
|
|
|
|
* Cleaned up terminal output (nicer status line, less useless noise)
|
|
|
|
* Support for playing URLs of popular streaming sites directly
|
2012-10-11 02:04:08 +02:00
|
|
|
(e.g. ``mpv https://www.youtube.com/watch?v=...``)
|
2012-10-24 01:06:00 +02:00
|
|
|
* Improved OpenGL output (``--vo=opengl-hq``)
|
2012-10-11 02:04:08 +02:00
|
|
|
* Make ``--softvol`` default (**mpv** is not a mixer control panel)
|
2012-08-07 22:24:29 +02:00
|
|
|
* Improved support for .cue files
|
2014-09-01 04:25:57 +02:00
|
|
|
* Screenshot improvements (can save screenshots as JPEG or PNG, configurable
|
|
|
|
file names, support for taking screenshots with or without subtitles - the
|
2013-01-30 01:17:33 +01:00
|
|
|
``screenshot`` video filter is not needed anymore, and should not be put
|
|
|
|
into the mpv config file)
|
2012-08-07 22:24:29 +02:00
|
|
|
* Removal of teletext support
|
2014-09-01 04:25:57 +02:00
|
|
|
* Removal of most built-in demuxers, using libavformat instead
|
|
|
|
* Removal of built-in network support, using libavformat instead (also,
|
2013-08-18 21:32:16 +02:00
|
|
|
support https via libavformat)
|
2012-10-24 01:06:00 +02:00
|
|
|
* Replace image VOs (``--vo=jpeg`` etc.) with ``--vo=image``
|
2012-08-07 22:24:29 +02:00
|
|
|
* Do not lose settings when playing a new file in the same player instance
|
2012-11-15 14:25:20 +01:00
|
|
|
* New location for config files, new name for the binary.
|
2012-08-07 22:24:29 +02:00
|
|
|
* Slave mode compatibility broken (see below)
|
2014-09-01 04:25:57 +02:00
|
|
|
* Encoding functionality (replacement for MEncoder, see ``DOCS/encoding.rst``)
|
2012-11-15 14:25:20 +01:00
|
|
|
* Remove ``--vo=gif89a``, ``--vo=md5sum``, ``--vo=yuv4mpeg``, as encoding can
|
|
|
|
handle these use cases. For yuv4mpeg, for example, use:
|
2013-06-12 17:23:47 +02:00
|
|
|
``mpv input.mkv -o output.y4m --no-audio --oautofps --oneverdrop``.
|
2012-10-24 01:06:00 +02:00
|
|
|
* Image subtitles (DVDs etc.) are rendered in color and use more correct
|
2012-11-25 23:32:35 +01:00
|
|
|
positioning (color can be disabled with ``--sub-gray``)
|
2013-08-05 20:40:17 +02:00
|
|
|
* Wayland support
|
2013-08-07 22:26:56 +02:00
|
|
|
* Support for precise scrolling which scales the parameter of commands. If the
|
|
|
|
input doesn't support precise scrolling the scale factor stays 1.
|
2014-09-01 04:25:57 +02:00
|
|
|
* OS X: Cocoa event loop is independent from MPlayer's event loop, so user
|
2013-08-13 23:17:28 +02:00
|
|
|
actions like accessing menus and live resizing do not block the playback.
|
2014-09-01 04:25:57 +02:00
|
|
|
* OS X: Apple Remote support.
|
|
|
|
* OS X: Media Keys support.
|
2013-08-18 21:32:16 +02:00
|
|
|
* Windows: Added WASAPI audio output.
|
|
|
|
* New OSD bar with chapter marks and not positioned in the middle of the video
|
|
|
|
(though this can be customized with the ``--osd-bar-align-y`` option).
|
|
|
|
* Allow customizing whether a key binding for seeking shows the video time, the
|
|
|
|
OSD bar, or nothing (see section `Input Command Prefixes`_).
|
|
|
|
* Display list of chapters and audio/subtitle tracks on OSD (see section
|
|
|
|
`Properties`_).
|
|
|
|
* ``--keep-open`` option to stop the player from closing the window and
|
|
|
|
exiting after playback ends.
|
|
|
|
* Re-enable screensaver while the player is paused.
|
|
|
|
* Matroska edition switching at runtime.
|
|
|
|
* 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.
|
|
|
|
* Improved downmixing and output of surround audio. Instead of using hardcoded
|
|
|
|
pan filters to do remixing, use libavresample. Channel maps are used to
|
|
|
|
identify the channel layout, so e.g. ``3.0`` and ``2.1`` audio can be
|
|
|
|
distinguished.
|
|
|
|
* Allow resuming playback at a later point with ``Shift+q``, also see
|
|
|
|
``quit_watch_later`` input command.
|
|
|
|
* Support mapping multiple commands to one key.
|
|
|
|
* 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.)
|
|
|
|
* Native VAAPI support
|
2014-09-01 04:25:57 +02:00
|
|
|
* OS X: VDA support using libavcodec hwaccel API instead of FFmpeg's decoder. Up
|
2013-08-14 15:47:18 +02:00
|
|
|
to 2-2.5x reduction in CPU usage.
|
2013-12-02 19:24:18 +01:00
|
|
|
* Make hardware decoding in general work with the ``opengl`` video output.
|
2014-05-14 20:35:33 +02:00
|
|
|
* Lua scripting (see `LUA SCRIPTING`_)
|
|
|
|
* A client API, that allows embedding **mpv** into applications
|
|
|
|
(see ``libmpv/client.h`` in the sources)
|
2013-08-18 21:32:16 +02:00
|
|
|
* General bug fixes and removal of long-standing issues
|
|
|
|
* General code cleanups (including refactoring or rewrites of many parts)
|
2012-08-07 22:24:29 +02:00
|
|
|
* Many more changes
|
|
|
|
|
2013-07-07 20:37:47 +02:00
|
|
|
Detailed Listing of User-visible Changes
|
2012-08-07 22:24:29 +02:00
|
|
|
----------------------------------------
|
|
|
|
|
|
|
|
This listing is about changed command line switches, slave commands, and similar
|
|
|
|
things. Completely removed features are not listed.
|
|
|
|
|
2013-07-07 20:37:47 +02:00
|
|
|
Command Line Switches
|
2012-08-07 22:24:29 +02:00
|
|
|
~~~~~~~~~~~~~~~~~~~~~
|
2013-07-07 20:37:47 +02:00
|
|
|
|
2012-08-07 22:24:29 +02:00
|
|
|
* There is a new command line syntax, which is generally preferred over the old
|
|
|
|
syntax. ``-optname optvalue`` becomes ``--optname=optvalue``.
|
|
|
|
|
2014-05-14 20:35:33 +02:00
|
|
|
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.
|
2012-10-24 01:06:00 +02:00
|
|
|
* In general, negating switches like ``-noopt`` now have to be written as
|
2014-05-14 20:35:33 +02:00
|
|
|
``-no-opt`` or ``--no-opt``.
|
2012-08-07 22:24:29 +02:00
|
|
|
* Per-file options are not the default anymore. You can explicitly specify
|
2013-07-08 18:02:14 +02:00
|
|
|
file-local options. See ``Usage`` section.
|
2014-04-25 00:02:01 +02:00
|
|
|
* 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**.
|
2012-09-17 08:38:19 +02:00
|
|
|
* Table of renamed/replaced switches:
|
2012-08-07 22:24:29 +02:00
|
|
|
|
2013-07-08 18:02:14 +02:00
|
|
|
=========================== ========================================
|
|
|
|
Old New
|
|
|
|
=========================== ========================================
|
|
|
|
``-no<opt>`` ``--no-<opt>`` (add a dash)
|
2014-04-25 00:02:01 +02:00
|
|
|
``-a52drc level`` ``--ad-lavc-ac3drc=level``
|
|
|
|
``-ac spdifac3`` ``--ad=spdif:ac3`` (see ``--ad=help``)
|
|
|
|
``-af volnorm`` ``--af=drc`` (renamed)
|
|
|
|
``-afm hwac3`` ``--ad=spdif:ac3,spdif:dts``
|
|
|
|
``-ao alsa:device=hw=0.3`` ``--ao=alsa:device=[hw:0,3]``
|
2014-04-24 18:10:20 +02:00
|
|
|
``-aspect`` ``--video-aspect``
|
2014-04-25 00:02:01 +02:00
|
|
|
``-ass-bottom-margin`` ``--vf=sub=bottom:top``
|
2014-04-24 17:42:54 +02:00
|
|
|
``-ass`` ``--sub-ass``
|
2014-05-19 23:27:09 +02:00
|
|
|
``-audiofile-cache`` (removed; the main cache settings are used)
|
2014-04-24 17:56:26 +02:00
|
|
|
``-audiofile`` ``--audio-file``
|
2014-04-25 00:02:01 +02:00
|
|
|
``-benchmark`` ``--untimed`` (no stats)
|
|
|
|
``-capture`` ``--stream-capture=<filename>``
|
2014-04-24 17:56:26 +02:00
|
|
|
``-channels`` ``--audio-channels`` (changed semantics)
|
2014-04-25 00:02:01 +02:00
|
|
|
``-cursor-autohide-delay`` ``--cursor-autohide``
|
2013-07-08 18:02:14 +02:00
|
|
|
``-delay`` ``--audio-delay``
|
2014-04-25 00:02:01 +02:00
|
|
|
``-dumpstream`` ``--stream-dump=<filename>``
|
2014-04-24 18:19:56 +02:00
|
|
|
``-dvdangle`` ``--dvd-angle``
|
2014-04-25 00:02:01 +02:00
|
|
|
``-endpos`` ``--length``
|
|
|
|
``-font`` ``--osd-font``
|
2013-07-08 18:02:14 +02:00
|
|
|
``-forcedsubsonly`` ``--sub-forced-only``
|
2014-06-13 02:05:37 +02:00
|
|
|
``-forceidx`` ``--index``
|
2014-04-24 17:56:26 +02:00
|
|
|
``-format`` ``--audio-format``
|
2014-04-24 18:36:40 +02:00
|
|
|
``-fsmode-dontuse`` (removed)
|
2014-05-16 00:47:13 +02:00
|
|
|
``-fstype`` ``--x11-netwm`` (changed semantics)
|
2014-04-25 00:02:01 +02:00
|
|
|
``-hardframedrop`` ``--framedrop=hard``
|
2014-04-24 18:44:46 +02:00
|
|
|
``-identify`` (removed; use TOOLS/mpv_identify.sh)
|
2014-06-13 02:05:37 +02:00
|
|
|
``-idx`` ``--index``
|
2014-04-25 00:02:01 +02:00
|
|
|
``-lavdopts ...`` ``--vd-lavc-...``
|
|
|
|
``-lavfdopts`` ``--demuxer-lavf-...``
|
2014-04-24 17:27:27 +02:00
|
|
|
``-lircconf`` ``--input-lirc-conf``
|
2014-04-25 00:02:01 +02:00
|
|
|
``-loop 0`` ``--loop=inf``
|
|
|
|
``-mixer-channel`` AO suboptions (``alsa``, ``oss``)
|
|
|
|
``-mixer`` AO suboptions (``alsa``, ``oss``)
|
2014-04-24 17:27:27 +02:00
|
|
|
``-mouse-movements`` ``--input-cursor``
|
2014-04-24 18:16:47 +02:00
|
|
|
``-msgcolor`` ``--msg-color``
|
|
|
|
``-msglevel`` ``--msg-level`` (changed semantics)
|
|
|
|
``-msgmodule`` ``--msg-module``
|
2014-04-24 18:10:20 +02:00
|
|
|
``-name`` ``--x11-name``
|
2014-04-24 17:27:27 +02:00
|
|
|
``-noar`` ``--no-input-appleremote``
|
2014-04-24 17:42:54 +02:00
|
|
|
``-noautosub`` ``--no-sub-auto``
|
2014-04-24 17:27:27 +02:00
|
|
|
``-noconsolecontrols`` ``--no-input-terminal``
|
|
|
|
``-nojoystick`` ``--no-input-joystick``
|
2014-04-25 00:02:01 +02:00
|
|
|
``-nosound`` ``--no-audio``
|
|
|
|
``-osdlevel`` ``--osd-level``
|
|
|
|
``-panscanrange`` ``--video-zoom``, ``--video-pan-x/y``
|
2014-04-24 18:16:47 +02:00
|
|
|
``-playing-msg`` ``--term-playing-msg``
|
2014-04-25 00:02:01 +02:00
|
|
|
``-pp ...`` ``'--vf=pp=[...]'``
|
|
|
|
``-pphelp`` ``--vf=pp:help``
|
|
|
|
``-rawaudio ...`` ``--demuxer-rawaudio-...``
|
|
|
|
``-rawvideo ...`` ``--demuxer-rawvideo-...``
|
|
|
|
``-spugauss`` ``--sub-gauss``
|
2014-04-24 17:56:26 +02:00
|
|
|
``-srate`` ``--audio-samplerate``
|
2013-07-08 18:02:14 +02:00
|
|
|
``-ss`` ``--start``
|
2014-06-10 22:41:14 +02:00
|
|
|
``-ssf <sub>`` ``--sws-...``
|
2014-04-25 00:02:01 +02:00
|
|
|
``-stop-xscreensaver`` ``--stop-screensaver``
|
2014-05-04 10:31:24 +02:00
|
|
|
``-sub-fuzziness`` ``--sub-auto``
|
2014-04-24 17:42:54 +02:00
|
|
|
``-sub`` ``--sub-file``
|
|
|
|
``-subcp`` ``--sub-codepage``
|
2014-04-25 00:02:01 +02:00
|
|
|
``-subdelay`` ``--sub-delay``
|
2014-05-23 21:03:11 +02:00
|
|
|
``-subfile`` ``--sub-file``
|
2013-07-08 18:02:14 +02:00
|
|
|
``-subfont-*`` ``--sub-text-*``, ``--osd-*``
|
|
|
|
``-subfont-text-scale`` ``--sub-scale``
|
2014-04-25 00:02:01 +02:00
|
|
|
``-subfont`` ``--sub-text-font``
|
2014-04-24 17:42:54 +02:00
|
|
|
``-subfps`` ``--sub-fps``
|
2014-04-25 00:02:01 +02:00
|
|
|
``-subpos`` ``--sub-pos``
|
2014-06-10 22:41:14 +02:00
|
|
|
``-sws`` ``--sws-scaler``
|
2014-04-24 18:19:56 +02:00
|
|
|
``-tvscan`` ``--tv-scan``
|
2014-04-25 00:02:01 +02:00
|
|
|
``-use-filename-title`` ``--title='${filename}'``
|
2013-07-08 18:02:14 +02:00
|
|
|
``-vc ffh264vdpau`` (etc.) ``--hwdec=vdpau``
|
2014-05-23 21:03:11 +02:00
|
|
|
``-vobsub`` ``--sub-file`` (pass the .idx file)
|
2013-07-08 18:02:14 +02:00
|
|
|
``-x W``, ``-y H`` ``--geometry=WxH`` + ``--no-keepaspect``
|
2014-04-25 00:02:01 +02:00
|
|
|
``-xineramascreen`` ``--screen`` (different values)
|
2013-07-08 18:02:14 +02:00
|
|
|
``-xy W`` ``--autofit=W``
|
2013-10-15 23:41:52 +02:00
|
|
|
``-zoom`` Inverse available as ``--video-unscaled``
|
2013-12-23 20:09:50 +01:00
|
|
|
``dvdnav://`` ``dvdnav://menu``
|
2014-03-17 18:32:16 +01:00
|
|
|
``dvd://1`` ``dvd://0`` (0-based offset)
|
2013-07-08 18:02:14 +02:00
|
|
|
=========================== ========================================
|
|
|
|
|
|
|
|
.. note::
|
|
|
|
|
|
|
|
``-opt val`` becomes ``--opt=val``.
|
2013-02-03 16:40:02 +01:00
|
|
|
|
2013-12-04 00:06:45 +01:00
|
|
|
.. 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.
|
|
|
|
|
2013-07-07 20:37:47 +02:00
|
|
|
input.conf and Slave Commands
|
2012-08-07 22:24:29 +02:00
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
2012-09-27 03:20:12 +02:00
|
|
|
* 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
|
2013-09-10 15:09:24 +02:00
|
|
|
commands, a warning will be printed when starting the player. The warnings
|
|
|
|
also show the replacement commands.
|
2012-09-27 03:20:12 +02:00
|
|
|
|
|
|
|
Properties containing ``_`` to separate words use ``-`` instead.
|
|
|
|
|
|
|
|
+--------------------------------+----------------------------------------+
|
|
|
|
| Old | New |
|
|
|
|
+================================+========================================+
|
2013-07-08 18:02:14 +02:00
|
|
|
| ``pt_step 1 [0|1]`` | ``playlist_next [weak|force]`` |
|
|
|
|
| | (translation layer cannot deal with |
|
2012-09-27 03:20:12 +02:00
|
|
|
| | whitespace) |
|
|
|
|
+--------------------------------+----------------------------------------+
|
2013-07-08 18:02:14 +02:00
|
|
|
| ``pt_step -1 [0|1]`` | ``playlist_prev [weak|force] (same)`` |
|
2012-09-27 03:20:12 +02:00
|
|
|
+--------------------------------+----------------------------------------+
|
2014-04-24 18:10:20 +02:00
|
|
|
| ``switch_ratio [<ratio>]`` | ``set video-aspect <ratio>`` |
|
2013-07-08 18:02:14 +02:00
|
|
|
| | |
|
2014-04-24 18:10:20 +02:00
|
|
|
| | ``set video-aspect 0`` (reset aspect) |
|
2012-09-27 03:20:12 +02:00
|
|
|
+--------------------------------+----------------------------------------+
|
2013-07-08 18:02:14 +02:00
|
|
|
| ``step_property_osd <prop>`` | ``cycle <prop> <step>`` (wraps), |
|
|
|
|
| ``<step> <dir>`` | ``add <prop> <step>`` (clamps). |
|
|
|
|
| | ``<dir>`` parameter unsupported. Use |
|
|
|
|
| | a negative ``<step>`` instead. |
|
2012-09-27 03:20:12 +02:00
|
|
|
+--------------------------------+----------------------------------------+
|
2013-07-08 18:02:14 +02:00
|
|
|
| ``step_property <prop>`` | Prefix ``cycle`` or ``add`` with |
|
|
|
|
| ``<step> <dir>`` | ``no-osd``: ``no-osd cycle <prop>`` |
|
|
|
|
| | ``<step>`` |
|
2012-09-27 03:20:12 +02:00
|
|
|
+--------------------------------+----------------------------------------+
|
2013-07-08 18:02:14 +02:00
|
|
|
| ``osd_show_property_text`` | ``show_text <text>`` |
|
|
|
|
| ``<text>`` | The property expansion format string |
|
2012-09-27 03:20:12 +02:00
|
|
|
| | syntax slightly changed. |
|
|
|
|
+--------------------------------+----------------------------------------+
|
2013-07-08 18:02:14 +02:00
|
|
|
| ``osd_show_text`` | Now does the same as |
|
|
|
|
| | ``osd_show_property_text``. Use the |
|
|
|
|
| | ``raw`` prefix to disable property |
|
|
|
|
| | expansion. |
|
2013-05-15 02:17:47 +02:00
|
|
|
+--------------------------------+----------------------------------------+
|
2013-07-08 18:02:14 +02:00
|
|
|
| ``show_tracks`` | ``show_text ${track-list}`` |
|
2013-05-15 02:17:47 +02:00
|
|
|
+--------------------------------+----------------------------------------+
|
2013-07-08 18:02:14 +02:00
|
|
|
| ``show_chapters`` | ``show_text ${chapter-list}`` |
|
2012-09-27 03:20:12 +02:00
|
|
|
+--------------------------------+----------------------------------------+
|
2013-09-10 15:09:24 +02:00
|
|
|
| ``af_switch``, ``af_add``, ... | ``af set|add|...`` |
|
2013-07-22 14:43:58 +02:00
|
|
|
+--------------------------------+----------------------------------------+
|
command: redo ancient TV/DVB/PVR commands
Convert all these commands to properties. (Except tv_last_channel, not
sure what to do with this.) Also, internally, don't access stream
details directly, but dispatch commands with stream ctrls.
Many of the new properties are a bit strange, because they're write-
only. Also remove some OSD output these commands produced, because I
couldn't be bothered to port these.
In general, this makes everything much cleaner, and will also make it
easier to e.g. move the demuxer to its own thread.
Don't bother updating input.conf, but changes.rst documents how old
commands map to the new ones.
Mostly untested, due to lack of hardware.
2014-06-09 23:38:28 +02:00
|
|
|
| ``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.
|
2012-08-07 22:24:29 +02:00
|
|
|
|
2014-05-14 20:35:33 +02:00
|
|
|
Slave mode
|
|
|
|
~~~~~~~~~~
|
2012-08-07 22:24:29 +02:00
|
|
|
|
2014-08-01 22:57:56 +02:00
|
|
|
* Slave mode was removed. A proper slave mode application needed tons of code
|
|
|
|
and hacks to get
|
2012-08-07 22:24:29 +02:00
|
|
|
it right. The main problem is that slave mode is a bad and incomplete
|
|
|
|
interface, and to get around that, applications parsed output messages
|
2013-07-08 18:02:14 +02:00
|
|
|
intended for users. It is hard to know which messages exactly are parsed by
|
2012-10-24 01:06:00 +02:00
|
|
|
slave mode applications. This makes it virtually impossible to improve
|
2012-08-07 22:24:29 +02:00
|
|
|
terminal output intended for users without possibly breaking something.
|
|
|
|
|
2014-08-01 22:57:56 +02:00
|
|
|
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.
|
2012-08-07 22:24:29 +02:00
|
|
|
|
2014-08-01 22:57:56 +02:00
|
|
|
``--identify`` was replaced by the ``TOOLS/mpv_identify.sh`` wrapper script.
|
|
|
|
|
2014-08-02 02:17:02 +02:00
|
|
|
* 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``.
|
|
|
|
|
2014-08-24 20:34:04 +02:00
|
|
|
(The option was readded in 0.5.1 and sets exactly these options.)
|
|
|
|
|
2014-08-01 22:57:56 +02:00
|
|
|
* A JSON RPC protocol giving access to the client API is planned, but nothing
|
|
|
|
has emerged yet.
|
2014-05-14 20:35:33 +02:00
|
|
|
|
|
|
|
* **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.
|
|
|
|
|
2013-07-07 20:37:47 +02:00
|
|
|
Policy for Removed Features
|
2012-08-07 22:24:29 +02:00
|
|
|
---------------------------
|
|
|
|
|
2014-05-14 20:35:33 +02:00
|
|
|
**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.
|
2012-08-07 22:24:29 +02:00
|
|
|
|
2014-05-14 20:35:33 +02:00
|
|
|
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.
|
2012-08-07 22:24:29 +02:00
|
|
|
|
2013-07-07 20:37:47 +02:00
|
|
|
Why this Fork?
|
2012-08-07 22:24:29 +02:00
|
|
|
--------------
|
|
|
|
|
2014-05-14 20:35:33 +02:00
|
|
|
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.)
|
|
|
|
|
2014-05-15 14:49:19 +02:00
|
|
|
MPlayer is focused on not breaking anything, but is stuck with a horrible
|
2014-05-14 20:35:33 +02:00
|
|
|
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.
|