2015-05-22 17:00:13 +00:00
|
|
|
Introduction
|
|
|
|
============
|
|
|
|
|
2016-01-23 10:41:28 +00:00
|
|
|
mpv provides access to its internals via the following means:
|
2015-05-22 17:00:13 +00:00
|
|
|
|
|
|
|
- options
|
|
|
|
- commands
|
|
|
|
- properties
|
|
|
|
- events
|
2019-10-05 00:11:55 +00:00
|
|
|
- hooks
|
|
|
|
|
|
|
|
The sum of these mechanisms is sometimes called command interface.
|
2015-05-22 17:00:13 +00:00
|
|
|
|
|
|
|
All of these are important for interfacing both with end users and API users
|
|
|
|
(which include Lua scripts, libmpv, and the JSON IPC). As such, they constitute
|
|
|
|
a large part of the user interface and APIs.
|
|
|
|
|
2019-10-05 00:11:55 +00:00
|
|
|
Also see compatibility.rst.
|
|
|
|
|
2020-02-08 13:44:53 +00:00
|
|
|
This document lists changes to them. New changes are added to the top. Usually,
|
|
|
|
only incompatible or important changes are mentioned. New options/commands/etc.
|
|
|
|
are not always listed.
|
2015-05-22 17:00:13 +00:00
|
|
|
|
|
|
|
Interface changes
|
|
|
|
=================
|
|
|
|
|
|
|
|
::
|
|
|
|
|
scripting: load scripts from directories
The intention is to provide a slightly nicer way to distribute scripts.
For example, you could put multiple source files into the directory, and
then import them from the actual script file (this is still
unimplemented).
At first I wanted to require a config file (because you need to know at
least which scripting backend it should use). This wouldn't have been
too hard (could have reused/abused the mpv config file parsing
mechanism, and I already had working code that was just 2 function
calls). But probably better to do this without new config files, because
it might become a pain in the distant future.
So this just probes for "main.lua", "main.js", etc., until an existing
file is found.
Another important change is that this skips all directory entries whose
name starts with ".". This automatically excludes the "." and ".."
special directories, and is probably useful to exclude random crap that
might be lying around in the directory (such as editor temporary files,
or OSX, in its usual hrmful, annoying, and idiotic modus operandi,
sharting all over any directories opened by "Finder").
Although the changelog mentions the docs, they're added only in a later
commit.
2020-02-01 17:09:40 +00:00
|
|
|
--- mpv 0.33.0 ---
|
|
|
|
- directories in ~/.mpv/scripts/ (or equivalent) now have special semantics
|
|
|
|
(see mpv Lua scripting docs)
|
|
|
|
- names starting with "." in ~/.mpv/scripts/ (or equivalent) are now ignored
|
2020-02-07 15:35:48 +00:00
|
|
|
- js modules: ~~/scripts/modules.js/ is no longer used, global paths can be
|
|
|
|
set with custom init (see docs), dir-scripts first look at <dir>/modules/
|
2020-02-08 13:43:01 +00:00
|
|
|
- the OSX bundle now logs to "~/Library/Logs/mpv.log" by default
|
2020-03-05 20:53:51 +00:00
|
|
|
- deprecate the --cache-secs option (once removed, the cache cannot be
|
|
|
|
limited by time anymore)
|
2020-03-06 18:23:14 +00:00
|
|
|
- remove deprecated legacy hook API ("hook-add", "hook-ack"). Use either the
|
|
|
|
libmpv API (mpv_hook_add(), mpv_hook_continue()), or the Lua scripting
|
|
|
|
wrappers (mp.add_hook()).
|
2020-01-26 20:31:54 +00:00
|
|
|
--- mpv 0.32.0 ---
|
2020-01-07 22:08:45 +00:00
|
|
|
- change behavior when using legacy option syntax with options that start
|
|
|
|
with two dashes (``--`` instead of a ``-``). Now, using the recommended
|
|
|
|
syntax is required for options starting with ``--``, which means an option
|
|
|
|
value must be strictly passed after a ``=``, instead of as separate
|
|
|
|
argument. For example, ``--log-file f.txt`` was previously accepted and
|
|
|
|
behaved like ``--log-file=f.txt``, but now causes an error. Use of legacy
|
|
|
|
syntax that is still supported now prints a deprecation warning.
|
2019-10-30 18:02:08 +00:00
|
|
|
--- mpv 0.31.0 ---
|
player: Optionally validate st_mtime when restoring playback state
I often watch sporting events. On many occasions I get files with the
same filename for each session. For example, for F1 I might have the
following directory structure:
F1/
FP1.mkv
FP2.mkv
FP3.mkv
Qualification.mkv
Race.mkv
Since usually one simply watches one race after the other, I usually
just rsync the new event's files over the old ones, so, for example,
Race.mkv will be replaced from the file for the last event with the file
from the new event.
One problem with this is that I like to use --resume-playback for other
kinds of media, so I have it on by default. That works great for, say, a
movie, but doesn't work so well with this scheme, because you can
trivially forget to pass --no-resume-playback on the command line and
end up 2 hours in, watching spoilers as the race results scroll down the
screen :-)
This patch adds a new option, --resume-playback-check-mtime, which
validates that the file's mtime hasn't changed since the watch_later
configuration was saved. It does this by setting the watch_later
configuration to have the same mtime as the file after it is saved.
Switching back and forth between checking mtime and not checking mtime
works fine, as we only choose whether to compare based on it, but we
update the watch_later configuration mtime regardless of its value.
2019-11-09 18:24:16 +00:00
|
|
|
- add `--resume-playback-check-mtime` to check consistent mtime when
|
|
|
|
restoring playback state.
|
2018-05-06 00:01:58 +00:00
|
|
|
- add `--d3d11-output-csp` to enable explicit selection of a D3D11
|
|
|
|
swap chain color space.
|
2019-11-03 22:32:59 +00:00
|
|
|
- the --sws- options and similar now affect vo_image and screenshot
|
|
|
|
conversion (does not matter as much for vo_gpu, which does most of this
|
|
|
|
with shaders)
|
|
|
|
- add a builtin "sw-fast" profile, which restores performance settings
|
|
|
|
for software video conversion. These were switched to higher quality since
|
|
|
|
mpv 0.30.0 (related to the previous changelog entry). This affects video
|
|
|
|
outputs like vo_x11 and vo_drm, and screenshots, but not much else.
|
2019-11-16 14:28:18 +00:00
|
|
|
- deprecate --input-file (there are no plans to remove this short-term,
|
|
|
|
but it will probably eventually go away)
|
2019-11-17 01:11:28 +00:00
|
|
|
- deprecate --video-sync=display-adrop (might be removed if it's in the way;
|
|
|
|
undeprecated or readded if it's not too much of a problem)
|
2019-11-19 22:09:59 +00:00
|
|
|
- deprecate all input section commands (these will be changed/removed, as
|
|
|
|
soon as mpv internals do not require them anymore)
|
2019-11-24 21:39:47 +00:00
|
|
|
- remove deprecated --playlist-pos alias (use --playlist-start)
|
2019-11-24 23:47:53 +00:00
|
|
|
- deprecate --display-fps, introduce --override-display-fps. The display-fps
|
|
|
|
property now is unavailable if no VO exists (or the VO did not return a
|
|
|
|
display FPS), instead of returning the option value in this case. The
|
|
|
|
property will keep existing, but writing to it is deprecated.
|
2019-11-25 00:16:03 +00:00
|
|
|
- the vf/af properties now do not reject the set value anymore, even if
|
|
|
|
filter chain initialization fails. Instead, the vf/af options are always
|
|
|
|
set to the user's value, even if it does not reflect the "runtime" vf/af
|
|
|
|
chain.
|
2019-11-25 18:49:09 +00:00
|
|
|
- the vid/aid/sid/secondary-sid properties (and their aliases: "audio",
|
|
|
|
"video", "sub") will now allow setting any track ID; before this change,
|
|
|
|
only IDs of actually existing tracks could be set (the restriction was
|
|
|
|
active the MPV_EVENT_FILE_LOADED/"file-loaded" event was sent). Setting
|
2019-11-27 19:47:43 +00:00
|
|
|
an ID for which no track exists is equivalent to disabling it. Note that
|
|
|
|
setting the properties to non-existing tracks may report it as selected
|
|
|
|
track for a small time window, until it's forced back to "no". The exact
|
|
|
|
details how this is handled may change in the future.
|
2019-11-16 15:54:07 +00:00
|
|
|
- remove old Apple Remote support, including --input-appleremote
|
|
|
|
- add MediaPlayer support and remove the old Media Key event tap on macOS.
|
|
|
|
this possibly also re-adds the Apple Remote support
|
2019-12-16 00:47:06 +00:00
|
|
|
- the "edition" property now strictly returns the value of the option,
|
|
|
|
instead of the runtime value. The new "current-edition" property needs to
|
|
|
|
be queried to read the runtime-chosen edition. This is a breaking change
|
|
|
|
for any users which expected "edition" to return the runtime-chosen
|
|
|
|
edition at default settings (--edition=auto).
|
2019-12-16 01:32:17 +00:00
|
|
|
- the "window-scale" property now strictly returns the value of the option,
|
|
|
|
instead of the actual size of the window. The new "current-window-scale"
|
|
|
|
property needs to be queried to read the value as indicated by the current
|
|
|
|
window size. This is a breaking change.
|
options: increase consistency between list options and document them
Whenever I deal with this, I have to look at the code to make sense of
this. And beyond that, there are some strange inconsistencies. (I think
this code is cursed. It always was, and maybe always will be.)
Although the manpage claimed that using multiple items for -add etc. is
deprecated, string list options didn't warn against it. So add the
warning, and add something in the changelog (even though nobody will
ever read this).
The manpage mentioned --vf-append, but this didn't even exist. So add
it, I guess. We encourage using -append for the other option types, so
for consistency, it should work on filter options. (And I already
tricked me into believing it existed when I mentioned it in the
manpage.)
Make the "operations" table separate for all option types, and mention
the option type on every single of the top-level list options.
2019-12-18 04:11:57 +00:00
|
|
|
- explicitly deprecate passing more than 1 item to "-add" suffix in key/value
|
|
|
|
options (for example --script-opts-add). This was actually always
|
|
|
|
deprecated, like with other list options, but the option parser did not
|
|
|
|
print a warning in this particular case.
|
2019-12-18 05:57:24 +00:00
|
|
|
- deprecate -del for list options (use -remove instead, which is by content
|
|
|
|
instead of by integer index)
|
2019-12-22 00:19:53 +00:00
|
|
|
- if `--fs` is used but `--fs-screen` is not set, mpv will now use `--screen`
|
|
|
|
instead.
|
2019-12-24 08:24:56 +00:00
|
|
|
- change the default of --hwdec to "no" on RPI. The default used to be "mmal"
|
|
|
|
specifically if 'Raspberry Pi support' was enabled at configure time
|
|
|
|
(equivalent to --enable-rpi). Use --hwdec=mmal to get the old behavior.
|
2019-10-30 18:02:08 +00:00
|
|
|
--- mpv 0.30.0 ---
|
2019-10-11 21:35:22 +00:00
|
|
|
- add `--d3d11-output-format` to enable explicit selection of a D3D11
|
|
|
|
swap chain format.
|
2019-10-01 23:05:25 +00:00
|
|
|
- rewrite DVB channel switching to use an integer value
|
|
|
|
`--dvbin-channel-switch-offset` for switching instead of the old
|
|
|
|
stream controls which are now gone. Cycling this property up or down will
|
|
|
|
change the offset to the channel which was initially tuned to.
|
|
|
|
Example for `input.conf`: `H cycle dvbin-channel-switch-offset up`,
|
|
|
|
`K cycle dvbin-channel-switch-offset down`.
|
|
|
|
- adapt `stream_dvb` to support writing to `dvbin-prog` at runtime
|
|
|
|
and also to consistently use dvbin-configuration over URI parameters
|
|
|
|
when provided
|
2019-04-19 22:26:39 +00:00
|
|
|
- add `--d3d11-adapter` to enable explicit selection of a D3D11 rendering
|
|
|
|
adapter by name.
|
2018-12-01 11:01:17 +00:00
|
|
|
- rename `--drm-osd-plane-id` to `--drm-draw-plane`, `--drm-video-plane-id` to
|
|
|
|
`--drm-drmprime-video-plane` and `--drm-osd-size` to `--drm-draw-surface-size`
|
|
|
|
to better reflect what the options actually control, that the values they
|
|
|
|
accept aren't actually internal DRM ID's (like with similar options in
|
|
|
|
ffmpeg's KMS support), and that the video plane is only used when the drmprime
|
|
|
|
overlay hwdec interop is active, with the video being drawn to the draw plane
|
|
|
|
otherwise.
|
|
|
|
- in addition to the above, the `--drm-draw-plane` and `--drm-drmprime-video-plane`
|
2018-06-02 10:54:05 +00:00
|
|
|
options now accept either an integer index, or the values primary or overlay.
|
2018-12-01 11:01:17 +00:00
|
|
|
`--drm-draw-plane` now defaults to primary and `--drm-drmprime-video-plane`
|
2018-06-02 10:54:05 +00:00
|
|
|
defaults to overlay. This should be similar to previous behavior on most drivers
|
|
|
|
due to how planes are usually sorted.
|
2018-07-25 14:36:57 +00:00
|
|
|
- rename --opensles-frames-per-buffer to --opensles-frames-per-enqueue to
|
|
|
|
better reflect its purpose. In the past it overrides the buffer size the AO
|
|
|
|
requests (but not the default/value of the generic --audio-buffer option).
|
|
|
|
Now it only guarantees that the soft buffer size will not be smaller than
|
|
|
|
itself while setting the size per Enqueue.
|
|
|
|
- add --opensles-buffer-size-in-ms, allowing user to tune the soft buffer size.
|
|
|
|
It overrides the --audio-buffer option unless it's set to 0 (with the default
|
|
|
|
being 250).
|
2018-10-17 09:23:16 +00:00
|
|
|
- remove `--linear-scaling`, replaced by `--linear-upscaling` and
|
|
|
|
`--linear-downscaling`. This means that `--sigmoid-upscaling` no longer
|
|
|
|
implies linear light downscaling as well, which was confusing.
|
|
|
|
- the built-in `gpu-hq` profile now includes` --linear-downscaling`.
|
2018-11-24 03:25:30 +00:00
|
|
|
- support for `--spirv-compiler=nvidia` has been removed, leaving `shaderc`
|
|
|
|
as the only option. The `--spirv-compiler` option itself has been marked
|
|
|
|
as deprecated, and may be removed in the future.
|
2018-12-27 17:34:19 +00:00
|
|
|
- split up `--tone-mapping-desaturate`` into strength + exponent, instead of
|
|
|
|
only using a single value (which previously just controlled the exponent).
|
|
|
|
The strength now linearly blends between the linear and nonlinear tone
|
|
|
|
mapped versions of a color.
|
2019-01-01 06:30:00 +00:00
|
|
|
- add --hdr-peak-decay-rate and --hdr-scene-threshold-low/high
|
2019-01-02 02:03:38 +00:00
|
|
|
- add --tone-mapping-max-boost
|
2018-12-05 18:02:03 +00:00
|
|
|
- ipc: require that "request_id" fields are integers. Other types are still
|
|
|
|
accepted for compatibility, but this will stop in the future. Also, if no
|
|
|
|
request_id is provided, 0 will be assumed.
|
|
|
|
- mpv_command_node() and mp.command_native() now support named arguments
|
|
|
|
(see manpage). If you want to use them, use a new version of the manpage
|
|
|
|
as reference, which lists the definitive names.
|
|
|
|
- edition and disc title switching will now fully reload playback (may have
|
|
|
|
consequences for scripts, client API, or when using file-local options)
|
2018-12-06 18:14:14 +00:00
|
|
|
- with the removal of the stream cache, the following properties and options were
|
|
|
|
dropped: `cache`, `cache-size`, `cache-free`, `cache-used`, `--cache-default`,
|
|
|
|
`--cache-initial`, `--cache-seek-min`, `--cache-backbuffer`, `--cache-file`,
|
|
|
|
`--cache-file-size`
|
2019-10-08 16:38:23 +00:00
|
|
|
- the --cache option does not take a number value anymore
|
2019-10-05 00:08:19 +00:00
|
|
|
- remove async playback abort hack. This may make it impossible to abort
|
|
|
|
playback if --demuxer-thread=no is forced.
|
2019-03-29 19:38:02 +00:00
|
|
|
- remove `--macos-title-bar-style`, replaced by `--macos-title-bar-material`
|
|
|
|
and `--macos-title-bar-appearance`.
|
2019-04-22 12:58:10 +00:00
|
|
|
- The default for `--vulkan-async-compute` has changed to `yes` from `no`
|
|
|
|
with the move to libplacebo as the back-end for vulkan rendering.
|
2019-09-13 14:48:34 +00:00
|
|
|
- Remove "disc-titles", "disc-title", "disc-title-list", and "angle"
|
|
|
|
properties. dvd:// does not support title ranges anymore.
|
Remove classic Linux analog TV support, and DVB runtime controls
Linux analog TV support (via tv://) was excessively complex, and
whenever I attempted to use it (cameras or loopback devices), it didn't
work well, or would have required some major work to update it. It's
very much stuck in the analog past (my favorite are the frequency tables
in frequencies.c for analog TV channels which don't exist anymore).
Especially cameras and such work fine with libavdevice and better than
tv://, for example:
mpv av://v4l2:/dev/video0
(adding --profile=low-latency --untimed even makes it mostly realtime)
Adding a new input layer that targets such "modern" uses would be
acceptable, if anyone is interested in it. The old TV code is just too
focused on actual analog TV.
DVB is rather obscure, but has an active maintainer, so don't remove it.
However, the demux/stream ctrl layer must go, so remove controls for
channel switching. Most of these could be reimplemented by using the
normal method for option runtime changes.
2019-09-13 15:16:18 +00:00
|
|
|
- Remove all "tv-..." options and properties, along with the classic Linux
|
|
|
|
analog TV support.
|
2019-09-13 15:22:17 +00:00
|
|
|
- remove "program" property (no replacement)
|
vo_gpu: x11: remove special vdpau probing, use EGL by default
Originally, vo_gpu/vo_opengl considered the case of Nvidia proprietary
drivers, which required vdpau/GLX, and Intel open source drivers, which
require vaapi/EGL. Since window creation and GPU context creation are
inseparable in mpv's internal API, it had to pick the correct API very
early, or hardware decoding wouldn't work. "x11probe" was introduced for
this reason. It created a GLX context (without showing the window yet),
and checked whether vdpau was available. If yes, it used GLX, if not, it
continued probing x11/EGL. (Obviously it couldn't always fail on GLX
without vdpau, which is why it was a separate "probe" backend.)
Years passed, and now the situation is different. Vdpau is dead. Nvidia
drivers and libavcodec now provide CUDA interop, which requires EGL, and
fixes some of the vdpau problems. AMD drivers now provide vaapi, which
generally works better than vdpau. Intel didn't change.
In particular, vaapi provides working HEVC Main10 support. In theory, it
should work on vdpau too, with quality reduction (no 10 bit surfaces),
but I couldn't get it to work.
So always prefer EGL. And suddenly hardware decoding works. This is
actually rather important, because HEVC is unfortunately on the rise,
despite shitty encoders and unoptimized decoders. The latter may mean
that hardware decoding works better than libavcodec.
This should have been done a long, long time ago.
2017-12-27 04:27:00 +00:00
|
|
|
- always prefer EGL over GLX, which helps with AMD/vaapi, but will break
|
|
|
|
vdpau with --vo=gpu - use --gpu-context=x11 to be able to use vdpau. This
|
|
|
|
does not affect --vo=vdpau or --hwdec=vdpau-copy.
|
2019-05-25 23:11:54 +00:00
|
|
|
- remove deprecated --chapter option
|
2019-07-13 13:41:42 +00:00
|
|
|
- deprecate --record-file
|
2019-04-07 13:10:52 +00:00
|
|
|
- add `--demuxer-cue-codepage`
|
2019-08-01 10:51:13 +00:00
|
|
|
- add ``track-list/N/demux-bitrate``, ``track-list/N/demux-rotation`` and
|
|
|
|
``track-list/N/demux-par`` property
|
2019-10-04 16:45:37 +00:00
|
|
|
- Deprecate ``--video-aspect`` and add ``--video-aspect-override`` to
|
|
|
|
replace it. (The `video-aspect` option remains unchanged.)
|
2017-12-25 10:43:04 +00:00
|
|
|
--- mpv 0.29.0 ---
|
2018-03-12 19:30:54 +00:00
|
|
|
- drop --opensles-sample-rate, as --audio-samplerate should be used if desired
|
2017-12-25 10:43:04 +00:00
|
|
|
- drop deprecated --videotoolbox-format, --ff-aid, --ff-vid, --ff-sid,
|
|
|
|
--ad-spdif-dtshd, --softvol options
|
2018-01-06 16:49:37 +00:00
|
|
|
- fix --external-files: strictly never select any tracks from them, unless
|
|
|
|
explicitly selected (this may or may not be expected)
|
2018-01-11 22:36:07 +00:00
|
|
|
- --ytdl is now always enabled, even for libmpv
|
2018-01-12 03:02:55 +00:00
|
|
|
- add a number of --audio-resample-* options, which should from now on be
|
|
|
|
used instead of --af-defaults=lavrresample:...
|
2018-01-12 03:07:53 +00:00
|
|
|
- deprecate --vf-defaults and --af-defaults. These didn't work with the
|
|
|
|
lavfi bridge, so they have very little use left. The only potential use
|
|
|
|
is with af_lavrresample (going to be deprecated, --audio-resample-... set
|
|
|
|
its defaults), and various hw deinterlacing filters (like vf_vavpp), for
|
|
|
|
which you will have to stop using --deinterlace=yes, and instead use the
|
|
|
|
vf toggle commands and the filter enable/disable flag to customize it.
|
2018-01-12 03:16:39 +00:00
|
|
|
- deprecate --af=lavrresample. Use the ``--audio-resample-...`` options to
|
|
|
|
customize resampling, or the libavfilter ``--af=aresample`` filter.
|
2018-01-21 23:36:08 +00:00
|
|
|
- add --osd-on-seek
|
video: rewrite filtering glue code
Get rid of the old vf.c code. Replace it with a generic filtering
framework, which can potentially handle more than just --vf. At least
reimplementing --af with this code is planned.
This changes some --vf semantics (including runtime behavior and the
"vf" command). The most important ones are listed in interface-changes.
vf_convert.c is renamed to f_swscale.c. It is now an internal filter
that can not be inserted by the user manually.
f_lavfi.c is a refactor of player/lavfi.c. The latter will be removed
once --lavfi-complex is reimplemented on top of f_lavfi.c. (which is
conceptually easy, but a big mess due to the data flow changes).
The existing filters are all changed heavily. The data flow of the new
filter framework is different. Especially EOF handling changes - EOF is
now a "frame" rather than a state, and must be passed through exactly
once.
Another major thing is that all filters must support dynamic format
changes. The filter reconfig() function goes away. (This sounds complex,
but since all filters need to handle EOF draining anyway, they can use
the same code, and it removes the mess with reconfig() having to predict
the output format, which completely breaks with libavfilter anyway.)
In addition, there is no automatic format negotiation or conversion.
libavfilter's primitive and insufficient API simply doesn't allow us to
do this in a reasonable way. Instead, filters can use f_autoconvert as
sub-filter, and tell it which formats they support. This filter will in
turn add actual conversion filters, such as f_swscale, to perform
necessary format changes.
vf_vapoursynth.c uses the same basic principle of operation as before,
but with worryingly different details in data flow. Still appears to
work.
The hardware deint filters (vf_vavpp.c, vf_d3d11vpp.c, vf_vdpaupp.c) are
heavily changed. Fortunately, they all used refqueue.c, which is for
sharing the data flow logic (especially for managing future/past
surfaces and such). It turns out it can be used to factor out most of
the data flow. Some of these filters accepted software input. Instead of
having ad-hoc upload code in each filter, surface upload is now
delegated to f_autoconvert, which can use f_hwupload to perform this.
Exporting VO capabilities is still a big mess (mp_stream_info stuff).
The D3D11 code drops the redundant image formats, and all code uses the
hw_subfmt (sw_format in FFmpeg) instead. Although that too seems to be a
big mess for now.
f_async_queue is unused.
2018-01-16 10:53:44 +00:00
|
|
|
- remove outfmt sub-parameter from "format" video filter (no replacement)
|
|
|
|
- some behavior changes in the video filter chain, including:
|
|
|
|
- before, using an incompatible filter with hwdec would disable hwdec;
|
|
|
|
now it disables the filter at runtime instead
|
|
|
|
- inserting an incompatible filter with hwdec at runtime would refuse
|
|
|
|
to insert the filter; now it will add it successfully, but disables
|
|
|
|
the filter slightly later
|
2018-01-18 13:44:20 +00:00
|
|
|
- some behavior changes in the audio filter chain, including:
|
|
|
|
- a manually inserted lavrresample filter is not necessarily used for
|
|
|
|
sample format conversion anymore, so it's pretty useless
|
|
|
|
- changing playback speed will not respect --af-defaults anymore
|
|
|
|
- having libavfilter based filters after the scaletempo or rubberband
|
|
|
|
filters is not supported anymore, and may desync if playback speed is
|
|
|
|
changed (libavfilter does not support the metadata for playback speed)
|
|
|
|
- the lavcac3enc filter does not auto detach itself anymore; instead it
|
|
|
|
passes through the data after converting it to the sample rate and
|
|
|
|
channel configuration the ac3 encoder expects; also, if the audio
|
|
|
|
format changes midstream in a way that causes the filter to switch
|
|
|
|
between PCM and AC3 output, the audio output won't be reconfigured,
|
|
|
|
and audio playback will fail due to libswresample being unable to
|
|
|
|
convert between PCM and AC3 (Note: the responsible developer didn't
|
2018-04-12 16:55:36 +00:00
|
|
|
give a shit. Later changes might have improved or worsened this.)
|
|
|
|
- inserting a filter that changes the output sample format will not
|
2018-01-18 13:44:20 +00:00
|
|
|
reconfigure the AO - you need to run an additional "ao-reload"
|
|
|
|
command to force this if you want that
|
2018-02-12 16:31:07 +00:00
|
|
|
- using "strong" gapless audio (--gapless-audio=yes) can fail if the
|
2018-01-18 13:44:20 +00:00
|
|
|
audio formats are not convertible (such as switching between PCM and
|
|
|
|
AC3 passthrough)
|
2018-03-01 20:09:33 +00:00
|
|
|
- if filters do not pass through PTS values correctly, A/V sync can
|
2018-04-12 16:55:36 +00:00
|
|
|
result over time. Some libavfilter filters are known to be affected by
|
|
|
|
this, such as af_loudnorm, which can desync over time, depending on
|
2018-04-12 20:08:56 +00:00
|
|
|
how the audio track was muxed (af_lavfi's fix-pts suboption can help).
|
2018-01-18 13:44:20 +00:00
|
|
|
- remove out-format sub-parameter from "format" audio filter (no replacement)
|
2018-01-26 03:36:47 +00:00
|
|
|
- --lavfi-complex now requires uniquely named filter pads. In addition,
|
|
|
|
unconnected filter pads are not allowed anymore (that means every filter
|
|
|
|
pad must be connected either to another filter, or to a video/audio track
|
|
|
|
or video/audio output). If they are disconnected at runtime, the stream
|
|
|
|
will probably stall.
|
2018-02-20 12:30:18 +00:00
|
|
|
- rename --vo=opengl-cb to --vo=libmpv (goes in hand with the opengl-cb
|
|
|
|
API deprecation, see client-api-changes.rst)
|
2018-04-18 14:04:27 +00:00
|
|
|
- deprecate the OpenGL cocoa backend, option choice --gpu-context=cocoa
|
|
|
|
when used with --gpu-api=opengl (use --vo=libmpv)
|
2018-02-12 17:23:22 +00:00
|
|
|
- make --deinterlace=yes always deinterlace, instead of trying to check
|
|
|
|
certain unreliable video metadata. Also flip the defaults of all builtin
|
|
|
|
HW deinterlace filters to always deinterlace.
|
2018-02-12 17:44:46 +00:00
|
|
|
- change vf_vavpp default to use the best deinterlace algorithm by default
|
2018-03-23 14:33:51 +00:00
|
|
|
- remove a compatibility hack that allowed CLI aliases to be set as property
|
|
|
|
(such as "sub-file"), deprecated in mpv 0.26.0
|
2018-03-23 15:24:49 +00:00
|
|
|
- deprecate the old command based hook API, and introduce a proper C API
|
|
|
|
(the high level Lua API for this does not change)
|
2017-12-13 17:37:42 +00:00
|
|
|
- rename the the lua-settings/ config directory to script-opts/
|
scripting: change when/how player waits for scripts being loaded
Fundamentally, scripts are loaded asynchronously, but as a feature,
there was code to wait until a script is loaded (for a certain arbitrary
definition of "loaded"). This was done in scripting.c with the
wait_loaded() function.
This called mp_idle(), and since there are commands to load/unload
scripts, it meant the player core loop could be entered recursively. I
think this is a major complication and has some problems. For example,
if you had a script that does 'os.execute("sleep inf")', then every time
you ran a command to load an instance of the script would add a new
stack frame of mp_idle(). This would lead to some sort of reentrancy
horror that is hard to debug. Also misc/dispatch.c contains a somewhat
tricky mess to support such recursive invocations. There were also some
bugs due to this and due to unforeseen interactions with other messes.
This scripting stuff was the only thing making use of that reentrancy,
and future commands that have "logical" waiting for something should be
implemented differently. So get rid of it.
Change the code to wait only in the player initialization phase: the
only place where it really has to wait is before playback is started,
because scripts might want to set options or hooks that interact with
playback initialization. Unloading of builtin scripts (can happen with
e.g. "set osc no") is left asynchronous; the unloading wasn't too robust
anyway, and this change won't make a difference if someone is trying to
break it intentionally. Note that this is not in mp_initialize(),
because mpv_initialize() uses this by locking the core, which would have
the same problem.
In the future, commands which logically wait should use different
mechanisms. Originally I thought the current approach (that is removed
with this commit) should be used, but it's too much of a mess and can't
even be used in some cases. Examples are:
- "loadfile" should be made blocking (needs to run the normal player
code and manually unblock the thread issuing the command)
- "add-sub" should not freeze the player until the URL is opened (needs
to run opening on a separate thread)
Possibly the current scripting behavior could be restored once new
mechanisms exist, and if it turns out that anyone needs it.
With this commit there should be no further instances of recursive
playloop invocations (other than the case in the following commit),
since all mp_idle()/mp_wait_events() calls are done strictly from the
main thread (and not commands/properties or libmpv client API that
"lock" the main thread).
2018-04-15 08:14:00 +00:00
|
|
|
- the way the player waits for scripts getting loaded changes slightly. Now
|
|
|
|
scripts are loaded in parallel, and block the player from continuing
|
|
|
|
playback only in the player initialization phase. It could change again in
|
|
|
|
the future. (This kind of waiting was always a feature to prevent that
|
|
|
|
playback is started while scripts are only half-loaded.)
|
2018-04-19 17:34:52 +00:00
|
|
|
- deprecate --ovoffset, --oaoffset, --ovfirst, --oafirst
|
2018-04-29 00:55:27 +00:00
|
|
|
- remove the following encoding options: --ocopyts (now the default, old
|
|
|
|
timestamp handling is gone), --oneverdrop (now default), --oharddup (you
|
|
|
|
need to use --vf=fps=VALUE), --ofps, --oautofps, --omaxfps
|
2018-04-21 11:33:47 +00:00
|
|
|
- remove --video-stereo-mode. This option was broken out of laziness, and
|
|
|
|
nobody wants to fix it. Automatic 3D down-conversion to 2D is also broken,
|
|
|
|
although you can just insert the stereo3d filter manually. The obscurity
|
|
|
|
of 3D content doesn't justify such an option anyway.
|
command: change cycle-value command behavior
Instead of using an internal counter to keep track of the value that was
set last, attempt to find the current value of the property/option in
the value list, and then set the next value in the list.
There are some potential problems. If a property refuses to accept a
specific value, the cycle-values command will fail, and start from the
same position again. It can't know that it's supposed to skip the next
value. The same can happen to properties which behave "strangely", such
as the "aspect" property, which will return the current aspect if you
write "-1" to it. As a consequence, cycle-values can appear to get
"stuck".
I still think the new behavior is what users expect more, and which is
generally more useful. We won't restore the ability to get the old
behavior, unless we decide to revert this commit entirely.
Fixes #5772, and hopefully other complaints.
2018-04-28 16:14:43 +00:00
|
|
|
- change cycle-values command to use the current value, instead of an
|
|
|
|
internal counter that remembered the current position.
|
2018-05-21 12:58:40 +00:00
|
|
|
- remove deprecated ao/vo auto profiles. Consider using scripts like
|
|
|
|
auto-profiles.lua instead.
|
2019-10-24 22:25:05 +00:00
|
|
|
- --[c]scale-[w]param[1|2] and --tone-mapping-param now accept "default",
|
|
|
|
and if set to that value, reading them as property will also return
|
|
|
|
"default", instead of float nan as in previous versions
|
2017-09-18 20:54:03 +00:00
|
|
|
--- mpv 0.28.0 ---
|
2017-07-06 17:40:40 +00:00
|
|
|
- rename --hwdec=mediacodec option to mediacodec-copy, to reflect
|
|
|
|
conventions followed by other hardware video decoding APIs
|
2017-09-18 20:54:03 +00:00
|
|
|
- drop previously deprecated --heartbeat-cmd and --heartbeat--interval
|
|
|
|
options
|
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
|
|
|
- rename --vo=opengl to --vo=gpu
|
|
|
|
- rename --opengl-backend to --gpu-context
|
|
|
|
- rename --opengl-shaders to --glsl-shaders
|
|
|
|
- rename --opengl-shader-cache-dir to --gpu-shader-cache-dir
|
|
|
|
- rename --opengl-tex-pad-x/y to --gpu-tex-pad-x/y
|
|
|
|
- rename --opengl-fbo-format to --fbo-format
|
|
|
|
- rename --opengl-gamma to --gamma-factor
|
|
|
|
- rename --opengl-debug to --gpu-debug
|
|
|
|
- rename --opengl-sw to --gpu-sw
|
|
|
|
- rename --opengl-vsync-fences to --swapchain-depth, and the interpretation
|
|
|
|
slightly changed. Now defaults to 3.
|
|
|
|
- rename the built-in profile `opengl-hq` to `gpu-hq`
|
|
|
|
- the semantics of --opengl-es=yes are slightly changed -> now requires GLES
|
|
|
|
- remove the (deprecated) alias --gpu-context=drm-egl
|
|
|
|
- remove the (deprecated) --vo=opengl-hq
|
|
|
|
- remove --opengl-es=force2 (use --opengl-es=yes --opengl-restrict=300)
|
2017-10-05 09:23:33 +00:00
|
|
|
- the --msg-level option now affects --log-file
|
2017-10-09 13:48:47 +00:00
|
|
|
- drop "audio-out-detected-device" property - this was unavailable on all
|
|
|
|
audio output drivers for quite a while (coreaudio used to provide it)
|
2017-10-16 12:37:28 +00:00
|
|
|
- deprecate --videotoolbox-format (use --hwdec-image-format, which affects
|
|
|
|
most other hwaccels)
|
2017-10-21 17:26:33 +00:00
|
|
|
- remove deprecated --demuxer-max-packets
|
2017-11-30 06:19:30 +00:00
|
|
|
- remove most of the deprecated audio and video filters
|
2017-11-29 20:34:08 +00:00
|
|
|
- remove the deprecated --balance option/property
|
vo_gpu: make it possible to load multiple hwdec interop drivers
Make the VO<->decoder interface capable of supporting multiple hwdec
APIs at once. The main gain is that this simplifies autoprobing a lot.
Before this change, it could happen that the VO loaded the "wrong" hwdec
API, and the decoder was stuck with the choice (breaking hw decoding).
With the change applied, the VO simply loads all available APIs, so
autoprobing trickery is left entirely to the decoder.
In the past, we were quite careful about not accidentally loading the
wrong interop drivers. This was in part to make sure autoprobing works,
but also because libva had this obnoxious bug of dumping garbage to
stderr when using the API. libva was fixed, so this is not a problem
anymore.
The --opengl-hwdec-interop option is changed in various ways (again...),
and renamed to --gpu-hwdec-interop. It does not have much use anymore,
other than debugging. It's notable that the order in the hwdec interop
array ra_hwdec_drivers[] still matters if multiple drivers support the
same image formats, so the option can explicitly force one, if that
should ever be necessary, or more likely, for debugging. One example are
the ra_hwdec_d3d11egl and ra_hwdec_d3d11eglrgb drivers, which both
support d3d11 input.
vo_gpu now always loads the interop lazily by default, but when it does,
it loads them all. vo_opengl_cb now always loads them when the GL
context handle is initialized. I don't expect that this causes any
problems.
It's now possible to do things like changing between vdpau and nvdec
decoding at runtime.
This is also preparation for cleaning up vd_lavc.c hwdec autoprobing.
It's another reason why hwdec_devices_request_all() does not take a
hwdec type anymore.
2017-12-01 04:05:00 +00:00
|
|
|
- rename the --opengl-hwdec-interop option to --gpu-hwdec-interop, and
|
|
|
|
change some of its semantics: extend it take the strings "auto" and
|
|
|
|
"all". "all" loads all backends. "auto" behaves like "all" for
|
|
|
|
vo_opengl_cb, while on vo_gpu it loads nothing, but allows on demand
|
|
|
|
loading by the decoder. The empty string as option value behaves like
|
|
|
|
"auto". Old --hwdec values do not work anymore.
|
|
|
|
This option is hereby declared as unstable and may change any time - its
|
|
|
|
old use is deprecated, and it has very little use outside of debugging
|
|
|
|
now.
|
2017-12-01 20:05:54 +00:00
|
|
|
- change the --hwdec option from a choice to a plain string (affects
|
|
|
|
introspection of the option/property), also affects some properties
|
2017-12-26 02:11:35 +00:00
|
|
|
- rename --hwdec=rpi to --hwdec=mmal, same for the -copy variant (no
|
2017-12-14 18:31:09 +00:00
|
|
|
backwards compatibility)
|
2017-12-26 02:11:35 +00:00
|
|
|
- deprecate the --ff-aid, --ff-vid, --ff-sid options and properties (there is
|
2017-12-20 04:50:42 +00:00
|
|
|
no replacement, but you can manually query the track property and use the
|
|
|
|
"ff-index" field to find the mpv track ID to imitate this behavior)
|
2017-12-16 12:14:26 +00:00
|
|
|
- rename --no-ometadata to --no-ocopy-metadata
|
2017-07-21 18:00:09 +00:00
|
|
|
--- mpv 0.27.0 ---
|
|
|
|
- drop previously deprecated --field-dominance option
|
2017-07-21 18:02:58 +00:00
|
|
|
- drop previously deprecated "osd" command
|
2017-07-21 18:09:22 +00:00
|
|
|
- remove client API compatibility handling for "script", "sub-file",
|
|
|
|
"audio-file", "external-file" (these cases used to log a deprecation
|
|
|
|
warning)
|
2017-07-21 18:19:39 +00:00
|
|
|
- drop deprecated --video-aspect-method=hybrid option choice
|
2017-08-03 10:46:57 +00:00
|
|
|
- rename --hdr-tone-mapping to --tone-mapping (and generalize it)
|
2017-08-04 11:48:37 +00:00
|
|
|
- --opengl-fbo-format changes from a choice to a string. Also, its value
|
|
|
|
will be checked only on renderer initialization, rather than when the
|
|
|
|
option is set.
|
2017-08-07 17:14:18 +00:00
|
|
|
- Using opengl-cb now always assumes 8 bit per component depth, and dithers
|
|
|
|
to this size. Before, it tried to figure out the depth of the first
|
|
|
|
framebuffer that was ever passed to the renderer. Having GL framebuffers
|
|
|
|
with a size larger than 8 bit per component is quite rare. If you need
|
|
|
|
it, set the --dither-depth option instead.
|
2017-08-12 21:08:48 +00:00
|
|
|
- --lavfi-complex can now be set during runtime. If you set this in
|
|
|
|
expectation it would be applied only after a reload, you might observe
|
|
|
|
weird behavior.
|
2017-08-12 21:43:05 +00:00
|
|
|
- add --track-auto-selection to help with scripts/applications that
|
|
|
|
make exclusive use of --lavfi-complex.
|
2017-08-14 18:01:08 +00:00
|
|
|
- undeprecate --loop, and map it from --loop-playlist to --loop-file (the
|
|
|
|
deprecation was to make sure no API user gets broken by a sudden behavior
|
|
|
|
change)
|
2017-08-22 13:58:49 +00:00
|
|
|
- remove previously deprecated vf_eq
|
2017-08-22 17:08:07 +00:00
|
|
|
- remove that hardware deinterlace filters (vavpp, d3d11vpp, vdpaupp)
|
|
|
|
changed their deinterlacing-enabled setting depending on what the
|
|
|
|
--deinterlace option or property was set to. Now, a filter always does
|
|
|
|
what its filter options and defaults imply. The --deinterlace option and
|
|
|
|
property strictly add/remove its own filters. For example, if you run
|
|
|
|
"mpv --vf=vavpp --deinterlace=yes", this will insert another, redundant
|
|
|
|
filter, which is probably not what you want. For toggling a deinterlace
|
|
|
|
filter manually, use the "vf toggle" command, and do not set the
|
|
|
|
deinterlace option/property. To customize the filter that will be
|
2017-08-23 10:10:51 +00:00
|
|
|
inserted automatically, use --vf-defaults. Details how this works will
|
|
|
|
probably change in the future.
|
2017-08-22 17:08:07 +00:00
|
|
|
- remove deinterlace=auto (this was not deprecated, but had only a very
|
|
|
|
obscure use that stopped working with the change above. It was also
|
|
|
|
prone to be confused with a feature not implemented by it: auto did _not_
|
|
|
|
mean that deinterlacing was enabled on demand.)
|
input: use mnemonic names for mouse buttons
mpv's mouse button numbering is based on X11 button numbering, which
allows for an arbitrary number of buttons and includes mouse wheel input
as buttons 3-6. This button numbering was used throughout the codebase
and exposed in input.conf, and it was difficult to remember which
physical button each number actually referred to and which referred to
the scroll wheel.
In practice, PC mice only have between two and five buttons and one or
two scroll wheel axes, which are more or less in the same location and
have more or less the same function. This allows us to use names to
refer to the buttons instead of numbers, which makes input.conf syntax a
lot easier to remember. It also makes the syntax robust to changes in
mpv's underlying numbering. The old MOUSE_BTNx names are still
understood as deprecated aliases of the named buttons.
This changes both the input.conf syntax and the MP_MOUSE_BTNx symbols in
the codebase, since I think both would benefit from using names over
numbers, especially since some platforms don't use X11 button numbering
and handle different mouse buttons in different windowing system events.
This also makes the names shorter, since otherwise they would be pretty
long, and it removes the high-numbered MOUSE_BTNx_DBL names, since they
weren't used.
Names are the same as used in Qt:
https://doc.qt.io/qt-5/qt.html#MouseButton-enum
2017-08-08 11:34:38 +00:00
|
|
|
- add shortened mnemonic names for mouse button bindings, eg. mbtn_left
|
|
|
|
the old numeric names (mouse_btn0) are deprecated
|
|
|
|
- remove mouse_btn3_dbl and up, since they are only generated for buttons
|
|
|
|
0-2 (these now print an error when sent from the 'mouse' command)
|
2017-09-02 14:00:52 +00:00
|
|
|
- rename the axis bindings to wheel_up/down/etc. axis scrolling and mouse
|
|
|
|
wheel scrolling are now conceptually the same thing
|
|
|
|
the old axis_up/down names remain as deprecated aliases
|
2017-04-23 15:51:55 +00:00
|
|
|
--- mpv 0.26.0 ---
|
2017-04-26 15:00:38 +00:00
|
|
|
- remove remaining deprecated audio device options, like --alsa-device
|
2017-04-23 15:51:55 +00:00
|
|
|
Some of them were removed in earlier releases.
|
2017-04-26 19:45:50 +00:00
|
|
|
- introduce --replaygain... options, which replace the same functionality
|
|
|
|
provided by the deprecated --af=volume:replaygain... mechanism.
|
2017-05-20 09:10:55 +00:00
|
|
|
- drop the internal "mp-rawvideo" codec (used by --demuxer=rawvideo)
|
2017-06-06 20:16:29 +00:00
|
|
|
- rename --sub-ass-style-override to --sub-ass-override, and rename the
|
|
|
|
`--sub-ass-override=signfs` setting to `--sub-ass-override=scale`.
|
dec_video: change license to LGPL (almost)
"Almost" because this might contain copyright by michael, who agreed
with LGPL, but only once the core is LGPL. This is preparation for that
to happen.
Apart from that, the usual remarks apply. In particular, dec_video.c
started out quite chaotic with no modularization, but was later
basically gutted, and in general rewritten a bunch of times. Not going
to give a history lesson.
Special attention needs to be given to 3 patches by cehosos, who did not
agree to the relicensing:
240b743ebdf: --field-dominance
e32cbbf7dc3: reinit VO if aspect ratio changes
306f6243fdf: use container aspect if codec aspect unset (?)
The first patch is pretty clearly still in the current code, and needs
to be disabled for LGPL.
The functionality of the second patch is still active, but implemented
completely different, and as part of general frame parameter changes (at
the time of the patch, MPlayer already reinitialized the VO on frame
size and pixel format changes - all this was merged into a single check
for changing image parameters).
The third patch makes me a bit more uncomfortable. It appears the code
was moved to dec_video.c in de68b8f23c8c, and further changed in
82f0d373, 0a0bb905, and bf13bd0d. You could claim that cehoyos'
copyright still sticks. Fortunately, we implement alternative aspect
detection, which is simpler and probably preferable, and which arguably
contains none of the original code and logic, and thus should be fully
safe.
While I don't know if cehoyos' copyright actually still applies, I'm
more comfortable with making the code GPL-only for now. Also change the
default to use the (in future) plain LGPL code, and deprecate the one
associated with the GPL code, so we can eventually remove the GPL code.
But it's also possible we decide that the copyright doesn't apply, and
undo the deprecation and GPL guards.
I expect that users won't notice anything. If you ask me, the old aspect
method was probably an accidental bug instead of intentional behavior.
Although, the new aspect method was broken too, so I had to fix it.
2017-06-18 16:27:48 +00:00
|
|
|
- change default of --video-aspect-method to "bitstream". The "hybrid"
|
|
|
|
method (old default) is deprecated.
|
2017-06-10 12:01:25 +00:00
|
|
|
- remove property "video-params/nom-peak"
|
|
|
|
- remove option --target-brightness
|
|
|
|
- replace vf_format's `peak` suboption by `sig-peak`, which is relative to
|
|
|
|
the reference white level instead of in cd/m^2
|
2017-06-13 15:09:02 +00:00
|
|
|
- renamed the TRCs `st2084` and `std-b67` to `pq` and `hlg` respectively
|
2017-06-23 12:27:53 +00:00
|
|
|
- the "osd" command is deprecated (use "cycle osd-level")
|
2017-06-25 16:54:33 +00:00
|
|
|
- --field-dominance is deprecated (use --vf=setfield=bff or tff)
|
2017-06-23 18:42:20 +00:00
|
|
|
- --really-quiet subtle behavior change
|
2017-06-26 17:55:40 +00:00
|
|
|
- the deprecated handling of setting "no-" options via client API is dropped
|
options: change path list options, and document list options
The changes to path list options is basically getting rid of the need to
pass multiple paths to a single option. Instead, you can use the option
multiple times. The old behavior can be used by using the -set suffix
with the option.
Change some options to path lists. For example --script is now append by
default, and if you use --script-set, you need to use ":"/";" as
separator instead of ",".
--sub-paths/--audio-file-paths is a deprecated alias now, and will break
if the user tries to pass multiple paths to it. I'm assuming that if
these are used, most users will pass only 1 path anyway.
--opengl-shaders has more compatibility handling, since it's probably
rather common that users pass multiple options to it.
Also document all that in the manpage.
I'll probably regret this later, as it somewhat increases the complexity
of the option parser, rather than increasing it.
2017-06-30 14:39:36 +00:00
|
|
|
- the following options change to append-by-default (and possibly separator):
|
|
|
|
--script
|
|
|
|
also, the following options are deprecated:
|
2017-07-02 14:26:41 +00:00
|
|
|
--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)
|
vo_opengl: refactor vo performance subsystem
This replaces `vo-performance` by `vo-passes`, bringing with it a number
of changes and improvements:
1. mpv users can now introspect the vo_opengl passes, which is something
that has been requested multiple times.
2. performance data is now measured per-pass, which helps both
development and debugging.
3. since adding more passes is cheap, we can now report information for
more passes (e.g. the blit pass, and the osd pass). Note: we also
switch to nanosecond scale, to be able to measure these passes
better.
4. `--user-shaders` authors can now describe their own passes, helping
users both identify which user shaders are active at any given time
as well as helping shader authors identify performance issues.
5. the timing data per pass is now exported as a full list of samples,
so projects like Argon-/mpv-stats can immediately read out all of the
samples and render a graph without having to manually poll this
option constantly.
Due to gl_timer's design being complicated (directly reading performance
data would block, so we delay the actual read-back until the next _start
command), it's vital not to conflate different passes that might be
doing different things from one frame to another. To accomplish this,
the actual timers are stored as part of the gl_shader_cache's sc_entry,
which makes them unique for that exact shader.
Starting and stopping the time measurement is easy to unify with the
gl_sc architecture, because the existing API already relies on a
"generate, render, reset" flow, so we can just put timer_start and
timer_stop in sc_generate and sc_reset, respectively.
The ugliest thing about this code is that due to the need to keep pass
information relatively stable in between frames, we need to distinguish
between "new" and "redrawn" frames, which bloats the code somewhat and
also feels hacky and vo_opengl-specific. (But then again, this entire
thing is vo_opengl-specific)
2017-06-29 15:00:06 +00:00
|
|
|
- remove property `vo-performance`, and add `vo-passes` as a more general
|
|
|
|
replacement
|
2017-07-02 14:46:27 +00:00
|
|
|
- deprecate passing multiple arguments to -add/-pre options (affects the
|
|
|
|
vf/af commands too)
|
2017-07-06 15:58:26 +00:00
|
|
|
- remove --demuxer-lavf-cryptokey. Use --demux-lavf-o=cryptokey=<hex> or
|
|
|
|
--demux-lavf-o=decryption_key=<hex> instead (whatever fits your situation).
|
2017-07-07 12:46:46 +00:00
|
|
|
- rename --opengl-dumb-mode=no to --opengl-dumb-mode=auto, and make `no`
|
|
|
|
always disable it (unless forced on by hardware limitation).
|
2017-07-12 17:08:58 +00:00
|
|
|
- generalize --scale-clamp, --cscale-clamp etc. to accept a float between
|
|
|
|
0.0 and 1.0 instead of just being a flag. A value of 1.0 corresponds to
|
|
|
|
the old `yes`, and a value of 0.0 corresponds to the old `no`.
|
2017-02-20 07:39:08 +00:00
|
|
|
--- mpv 0.25.0 ---
|
|
|
|
- remove opengl-cb dxva2 dummy hwdec interop
|
|
|
|
(see git "vo_opengl: remove dxva2 dummy hwdec backend")
|
2017-03-18 13:24:53 +00:00
|
|
|
- remove ppm, pgm, pgmyuv, tga choices from the --screenshot-format and
|
|
|
|
--vo-image-format options
|
2017-03-18 14:03:05 +00:00
|
|
|
- the "jpeg" choice in the option above now leads to a ".jpg" file extension
|
2017-03-17 15:49:28 +00:00
|
|
|
- --af=drc is gone (you can use e.g. lavfi/acompressor instead)
|
2017-03-19 14:13:51 +00:00
|
|
|
- remove image_size predefined uniform from OpenGL user shaders. Use
|
|
|
|
input_size instead
|
2017-02-02 09:53:19 +00:00
|
|
|
- add --sub-filter-sdh
|
|
|
|
- add --sub-filter-sdh-harder
|
2017-03-26 18:32:04 +00:00
|
|
|
- remove --input-app-events option (macOS)
|
2017-04-04 15:16:54 +00:00
|
|
|
- deprecate most --vf and --af filters. Only some filters not in libavfilter
|
|
|
|
will be kept.
|
|
|
|
Also, you can use libavfilter filters directly (e.g. you can use
|
|
|
|
--vf=name=opts instead of --vf=lavfi=[name=opts]), as long as the
|
|
|
|
libavfilter filter's name doesn't clash with a mpv builtin filter.
|
|
|
|
In the long term, --vf/--af syntax might change again, but if it does, it
|
|
|
|
will switch to libavfilter's native syntax. (The above mentioned direct
|
|
|
|
support for lavfi filters still has some differences, such as how strings
|
|
|
|
are escaped.) If this happens, the non-deprecated builtin filters might be
|
|
|
|
moved to "somewhere else" syntax-wise.
|
2017-04-10 19:19:13 +00:00
|
|
|
- deprecate --loop - after a deprecation period, it will be undeprecated,
|
|
|
|
but changed to alias --loop-file
|
2017-03-27 09:34:02 +00:00
|
|
|
- add --keep-open-pause=no
|
2017-04-14 17:19:44 +00:00
|
|
|
- deprecate --demuxer-max-packets
|
2017-04-20 03:29:04 +00:00
|
|
|
- change --audio-file-auto default from "exact" to "no" (mpv won't load
|
|
|
|
files with the same filename as the video, but different extension, as
|
|
|
|
audio track anymore)
|
2017-01-17 13:51:08 +00:00
|
|
|
--- mpv 0.24.0 ---
|
|
|
|
- deprecate --hwdec-api and replace it with --opengl-hwdec-interop.
|
|
|
|
The new option accepts both --hwdec values, as well as named backends.
|
|
|
|
A minor difference is that --hwdec-api=no (which used to be the default)
|
|
|
|
now actually does not preload any interop layer, while the new default
|
|
|
|
("") uses the value of --hwdec.
|
2017-01-19 14:38:58 +00:00
|
|
|
- drop deprecated --ad/--vd features
|
2017-01-19 14:44:49 +00:00
|
|
|
- drop deprecated --sub-codepage syntax
|
2017-01-20 16:01:29 +00:00
|
|
|
- rename properties:
|
|
|
|
- "drop-frame-count" to "decoder-frame-drop-count"
|
|
|
|
- "vo-drop-frame-count" to "frame-drop-count"
|
|
|
|
The old names still work, but are deprecated.
|
2017-01-21 16:19:01 +00:00
|
|
|
- remove the --stream-capture option and property. No replacement.
|
2017-02-08 05:54:47 +00:00
|
|
|
(--record-file might serve as alternative)
|
2017-02-01 12:19:09 +00:00
|
|
|
- add --sub-justify
|
|
|
|
- add --sub-ass-justify
|
2017-02-02 17:38:16 +00:00
|
|
|
- internally there's a different way to enable the demuxer cache now
|
|
|
|
it can be auto-enabled even if the stream cache remains disabled
|
2016-11-22 13:57:34 +00:00
|
|
|
--- mpv 0.23.0 ---
|
|
|
|
- remove deprecated vf_vdpaurb (use "--hwdec=vdpau-copy" instead)
|
2016-11-22 14:38:01 +00:00
|
|
|
- the following properties now have new semantics:
|
|
|
|
- "demuxer" (use "current-demuxer")
|
|
|
|
- "fps" (use "container-fps")
|
|
|
|
- "idle" (use "idle-active")
|
|
|
|
- "cache" (use "cache-percent")
|
|
|
|
- "audio-samplerate" (use "audio-params/samplerate")
|
|
|
|
- "audio-channels" (use "audio-params/channel-count")
|
|
|
|
- "audio-format" (use "audio-codec-name")
|
|
|
|
(the properties equivalent to the old semantics are in parentheses)
|
2016-11-25 20:00:39 +00:00
|
|
|
- remove deprecated --vo and --ao sub-options (like --vo=opengl:...), and
|
|
|
|
replace them with global options. A somewhat complete list can be found
|
|
|
|
here: https://github.com/mpv-player/mpv/wiki/Option-replacement-list#mpv-0210
|
|
|
|
- remove --vo-defaults and --ao-defaults as well
|
2016-11-22 14:52:55 +00:00
|
|
|
- remove deprecated global sub-options (like -demuxer-rawaudio format=...),
|
|
|
|
use flat options (like --demuxer-rawaudio-format=...)
|
2016-12-09 18:51:29 +00:00
|
|
|
- the --sub-codepage option changes in incompatible ways:
|
|
|
|
- detector-selection and fallback syntax is deprecated
|
|
|
|
- enca/libguess are removed and deprecated (behaves as if they hadn't
|
|
|
|
been compiled-in)
|
|
|
|
- --sub-codepage=<codepage> does not force the codepage anymore
|
|
|
|
(this requires different and new syntax)
|
2016-12-04 21:52:14 +00:00
|
|
|
- remove --fs-black-out-screens option for macOS
|
2016-12-23 17:03:16 +00:00
|
|
|
- change how spdif codecs are selected. You can't enable spdif passthrough
|
|
|
|
with --ad anymore. This was deprecated; use --audio-spdif instead.
|
2016-12-23 17:12:29 +00:00
|
|
|
- deprecate the "family" selection with --ad/--vd
|
2016-12-23 17:18:17 +00:00
|
|
|
forcing/excluding codecs with "+", "-", "-" is deprecated as well
|
2016-12-23 17:12:54 +00:00
|
|
|
- explicitly mark --ad-spdif-dtshd as deprecated (it was done so a long time
|
|
|
|
ago, but it didn't complain when using the option)
|
2016-11-20 16:37:22 +00:00
|
|
|
--- mpv 0.22.0 ---
|
|
|
|
- the "audio-device-list" property now sets empty device description to the
|
|
|
|
device name as a fallback
|
|
|
|
- add --hidpi-window-scale option for macOS
|
|
|
|
- add audiounit audio output for iOS
|
|
|
|
- make --start-time work with --rebase-start-time=no
|
|
|
|
- add --opengl-early-flush=auto mode
|
|
|
|
- add --hwdec=vdpau-copy, deprecate vf_vdpaurb
|
|
|
|
- add tct video output for true-color and 256-color terminals
|
2016-08-31 14:45:58 +00:00
|
|
|
--- mpv 0.21.0 ---
|
2016-11-15 22:45:57 +00:00
|
|
|
- unlike in older versions, setting options at runtime will now take effect
|
|
|
|
immediately (see for example issue #3281). On the other hand, it will also
|
2016-09-17 18:48:22 +00:00
|
|
|
do runtime verification and reject option changes that do not work
|
|
|
|
(example: setting the "vf" option to a filter during playback, which fails
|
|
|
|
to initialize - the option value will remain at its old value). In general,
|
|
|
|
"set name value" should be mostly equivalent to "set options/name value"
|
|
|
|
in cases where the "name" property is not deprecated and "options/name"
|
|
|
|
exists - deviations from this are either bugs, or documented as caveats
|
|
|
|
in the "Inconsistencies between options and properties" manpage section.
|
2016-09-05 19:07:03 +00:00
|
|
|
- deprecate _all_ --vo and --ao suboptions. Generally, all suboptions are
|
|
|
|
replaced by global options, which do exactly the same. For example,
|
|
|
|
"--vo=opengl:scale=nearest" turns into "--scale=nearest". In some cases,
|
2016-09-13 08:02:27 +00:00
|
|
|
the global option is prefixed, e.g. "--vo=opengl:pbo" turns into
|
|
|
|
"--opengl-pbo".
|
2016-09-06 18:10:05 +00:00
|
|
|
Most of the exact replacements are documented here:
|
|
|
|
https://github.com/mpv-player/mpv/wiki/Option-replacement-list
|
2016-09-13 08:02:27 +00:00
|
|
|
- remove --vo=opengl-hq. Set --profile=opengl-hq instead. Note that this
|
|
|
|
profile does not force the VO. This means if you use the --vo option to
|
|
|
|
set another VO, it won't work. But this also means it can be used with
|
|
|
|
opengl-cb.
|
|
|
|
- remove the --vo=opengl "pre-shaders", "post-shaders" and "scale-shader"
|
|
|
|
sub-options: they were deprecated in favor of "user-shaders"
|
|
|
|
- deprecate --vo-defaults (no replacement)
|
|
|
|
- remove the vo-cmdline command. You can set OpenGL renderer options
|
|
|
|
directly via properties instead.
|
2016-09-05 19:07:30 +00:00
|
|
|
- deprecate the device/sink options on all AOs. Use --audio-device instead.
|
2016-09-05 19:07:34 +00:00
|
|
|
- deprecate "--ao=wasapi:exclusive" and "--ao=coreaudio:exclusive",
|
|
|
|
use --audio-exclusive instead.
|
2016-08-31 14:45:58 +00:00
|
|
|
- subtle changes in how "--no-..." options are treated mean that they are
|
|
|
|
not accessible under "options/..." anymore (instead, these are resolved
|
|
|
|
at parsing time). This does not affect options which start with "--no-",
|
|
|
|
but do not use the mechanism for negation options.
|
2016-08-31 15:28:42 +00:00
|
|
|
(Also see client API change for API version 1.23.)
|
2016-09-01 18:01:02 +00:00
|
|
|
- rename the following properties
|
|
|
|
- "demuxer" -> "current-demuxer"
|
|
|
|
- "fps" -> "container-fps"
|
|
|
|
- "idle" -> "idle-active"
|
2016-09-02 07:42:19 +00:00
|
|
|
- "cache" -> "cache-percent"
|
2016-11-21 19:17:41 +00:00
|
|
|
the old names are deprecated and will change behavior in mpv 0.23.0.
|
2016-09-01 18:01:29 +00:00
|
|
|
- remove deprecated "hwdec-active" and "hwdec-detected" properties
|
2016-09-03 10:46:26 +00:00
|
|
|
- deprecate the ao and vo auto-profiles (they never made any sense)
|
2016-09-05 19:05:31 +00:00
|
|
|
- deprecate "--vo=direct3d_shaders" - use "--vo=direct3d" instead.
|
|
|
|
Change "--vo=direct3d" to always use shaders by default.
|
2016-09-18 11:38:45 +00:00
|
|
|
- deprecate --playlist-pos option, renamed to --playlist-start
|
player: more option/property consistency fixes
Some properties had a different type from their equivalent options (such
as mute, volume, deinterlace, edition). This wasn't really sane, as raw
option values should be always within their bounds. On the other hand,
these properties use a different type to reflect runtime limits (such as
range of available editions), or simply to improve the "UI" (you don't
want to cycle throuhg the completely useless "auto" value when cycling
the "mute" property).
Handle this by making them always return the option type, but also
allowing them to provide a "constricted" type, which is used for UI
purposes. All M_PROPERTY_GET_CONSTRICTED_TYPE changes are related to
this.
One consequence is that you can set the volume property to arbitrary
high values just like with the --volume option, but using the "add"
command it still restricts it to the --volume-max range.
Also deprecate --chapter, as it is grossly incompatible to the chapter
property. We pondered renaming it to --chapters, or introducing a more
powerful --range option, but concluded that --start --end is actually
enough.
These changes appear to take care of the last gross property/option
incompatibilities, although there might still be a few lurking.
2016-09-18 14:06:12 +00:00
|
|
|
- deprecate the --chapter option, as it is redundant with --start/--end,
|
|
|
|
and conflicts with the semantics of the "chapter" property
|
2016-10-02 15:08:14 +00:00
|
|
|
- rename --sub-text-* to --sub-* and --ass-* to --sub-ass-* (old options
|
|
|
|
deprecated)
|
2016-09-09 15:39:22 +00:00
|
|
|
- incompatible change to cdda:// protocol options: the part after cdda://
|
|
|
|
now always sets the device, not the span or speed to be played. No
|
|
|
|
separating extra "/" is needed. The hidden --cdda-device options is also
|
|
|
|
deleted (it was redundant with the documented --cdrom-device).
|
2016-11-21 19:17:41 +00:00
|
|
|
- deprecate --vo=rpi. It will be removed in mpv 0.23.0. Its functionality
|
2016-09-12 17:58:06 +00:00
|
|
|
was folded into --vo=opengl, which now uses RPI hardware decoding by
|
|
|
|
treating it as a hardware overlay (without applying GL filtering). Also
|
2016-11-21 19:17:41 +00:00
|
|
|
to be changed in 0.23.0: the --fs flag will be reset to "no" by default
|
2016-09-12 17:58:06 +00:00
|
|
|
(like on the other platforms).
|
2016-09-18 09:58:24 +00:00
|
|
|
- deprecate --mute=auto (informally has been since 0.18.1)
|
2016-09-16 12:24:31 +00:00
|
|
|
- deprecate "resume" and "suspend" IPC commands. They will be completely
|
2016-11-21 19:17:41 +00:00
|
|
|
removed in 0.23.0.
|
2016-09-16 12:24:31 +00:00
|
|
|
- deprecate mp.suspend(), mp.resume(), mp.resume_all() Lua scripting
|
|
|
|
commands, as well as setting mp.use_suspend. They will be completely
|
2016-11-21 19:17:41 +00:00
|
|
|
removed in 0.23.0.
|
2016-10-03 13:49:53 +00:00
|
|
|
- the "seek" command's absolute seek mode will now interpret negative
|
|
|
|
seek times as relative from the end of the file (and clamps seeks that
|
|
|
|
still go before 0)
|
2016-09-13 08:02:27 +00:00
|
|
|
- add almost all options to the property list, meaning you can change
|
|
|
|
options without adding "options/" to the property name (a new section
|
|
|
|
has been added to the manpage describing some conflicting behavior
|
|
|
|
between options and properties)
|
|
|
|
- implement changing sub-speed during playback
|
2016-09-19 22:59:54 +00:00
|
|
|
- make many previously fixed options changeable at runtime (for example
|
|
|
|
--terminal, --osc, --ytdl, can all be enable/disabled after
|
|
|
|
mpv_initialize() - this can be extended to other still fixed options
|
|
|
|
on user requests)
|
2016-08-17 20:45:44 +00:00
|
|
|
--- mpv 0.20.0 ---
|
|
|
|
- add --image-display-duration option - this also means that image duration
|
|
|
|
is not influenced by --mf-fps anymore in the general case (this is an
|
|
|
|
incompatible change)
|
2016-08-15 14:16:17 +00:00
|
|
|
--- mpv 0.19.0 ---
|
2016-07-17 17:21:28 +00:00
|
|
|
- deprecate "balance" option/property (no replacement)
|
2016-06-29 16:10:15 +00:00
|
|
|
--- mpv 0.18.1 ---
|
|
|
|
- deprecate --heartbeat-cmd
|
2016-07-09 16:31:18 +00:00
|
|
|
- remove --softvol=no capability:
|
|
|
|
- deprecate --softvol, it now does nothing
|
2016-07-10 12:30:02 +00:00
|
|
|
- --volume, --mute, and the corresponding properties now always control
|
2016-07-09 16:31:18 +00:00
|
|
|
softvol, and behave as expected without surprises (e.g. you can set
|
|
|
|
them normally while no audio is initialized)
|
|
|
|
- rename --softvol-max to --volume-max (deprecated alias is added)
|
|
|
|
- the --volume-restore-data option and property are removed without
|
|
|
|
replacement. They were _always_ internal, and used for watch-later
|
|
|
|
resume/restore. Now --volume/--mute are saved directly instead.
|
|
|
|
- the previous point means resuming files with older watch-later configs
|
|
|
|
will print an error about missing --volume-restore-data (which you can
|
|
|
|
ignore), and will not restore the previous value
|
|
|
|
- as a consequence, volume controls will no longer control PulseAudio
|
|
|
|
per-application value, or use the system mixer's per-application
|
|
|
|
volume processing
|
|
|
|
- system or per-application volume can still be controlled with the
|
|
|
|
ao-volume and ao-mute properties (there are no command line options)
|
2016-06-25 10:39:08 +00:00
|
|
|
--- mpv 0.18.0 ---
|
2016-04-21 20:15:17 +00:00
|
|
|
- now ab-loops are active even if one of the "ab-loop-a"/"-b" properties is
|
|
|
|
unset ("no"), in which case the start of the file is used if the A loop
|
2016-05-23 16:43:49 +00:00
|
|
|
point is unset, and the end of the file for an unset B loop point
|
2016-04-30 12:25:23 +00:00
|
|
|
- deprecate --sub-ass=no option by --ass-style-override=strip
|
|
|
|
(also needs --embeddedfonts=no)
|
2016-05-04 14:55:26 +00:00
|
|
|
- add "hwdec-interop" and "hwdec-current" properties
|
|
|
|
- deprecated "hwdec-active" and "hwdec-detected" properties (to be removed
|
2016-06-25 10:39:08 +00:00
|
|
|
in mpv 0.20.0)
|
2016-05-04 15:37:54 +00:00
|
|
|
- choice option/property values that are "yes" or "no" will now be returned
|
|
|
|
as booleans when using the mpv_node functions in the client API, the
|
|
|
|
"native" property accessors in Lua, and the JSON API. They can be set as
|
|
|
|
such as well.
|
2016-05-20 21:21:43 +00:00
|
|
|
- the VO opengl fbo-format sub-option does not accept "rgb" or "rgba"
|
|
|
|
anymore
|
2016-06-10 12:35:09 +00:00
|
|
|
- all VO opengl prescalers have been removed (replaced by user scripts)
|
2016-02-29 19:55:44 +00:00
|
|
|
--- mpv 0.17.0 ---
|
|
|
|
- deprecate "track-list/N/audio-channels" property (use
|
|
|
|
"track-list/N/demux-channel-count" instead)
|
2016-03-09 22:34:04 +00:00
|
|
|
- remove write access to "stream-pos", and change semantics for read access
|
2016-03-18 21:03:04 +00:00
|
|
|
- Lua scripts now don't suspend mpv by default while script code is run
|
2016-03-20 18:48:55 +00:00
|
|
|
- add "cache-speed" property
|
2016-03-24 18:24:40 +00:00
|
|
|
- rename --input-unix-socket to --input-ipc-server, and make it work on
|
|
|
|
Windows too
|
2016-04-03 11:55:37 +00:00
|
|
|
- change the exact behavior of the "video-zoom" property
|
2016-04-10 15:26:32 +00:00
|
|
|
- --video-unscaled no longer disables --video-zoom and --video-aspect
|
|
|
|
To force the old behavior, set --video-zoom=0 and --video-aspect=0
|
2016-01-20 16:12:08 +00:00
|
|
|
--- mpv 0.16.0 ---
|
|
|
|
- change --audio-channels default to stereo (use --audio-channels=auto to
|
|
|
|
get the old default)
|
2016-01-20 16:14:04 +00:00
|
|
|
- add --audio-normalize-downmix
|
|
|
|
- change the default downmix behavior (--audio-normalize-downmix=yes to get
|
|
|
|
the old default)
|
2016-01-25 19:24:41 +00:00
|
|
|
- VO opengl custom shaders must now use "sample_pixel" as function name,
|
|
|
|
instead of "sample"
|
2016-01-25 20:35:39 +00:00
|
|
|
- change VO opengl scaler-resizes-only default to enabled
|
2016-01-27 20:07:17 +00:00
|
|
|
- add VO opengl "interpolation-threshold" suboption (introduces new default
|
|
|
|
behavior, which can change e.g. ``--video-sync=display-vdrop`` to the
|
|
|
|
worse, but is usually what you want)
|
2016-01-26 14:12:42 +00:00
|
|
|
- make "volume" and "mute" properties changeable even if no audio output is
|
|
|
|
active (this gives not-ideal behavior if --softvol=no is used)
|
|
|
|
- add "volume-max" and "mixer-active" properties
|
2016-02-04 22:01:15 +00:00
|
|
|
- ignore --input-cursor option for events injected by input commands like
|
|
|
|
"mouse", "keydown", etc.
|
2015-12-21 21:04:53 +00:00
|
|
|
--- mpv 0.15.0 ---
|
|
|
|
- change "yadif" video filter defaults
|
2015-11-13 21:48:32 +00:00
|
|
|
--- mpv 0.14.0 ---
|
2015-11-29 12:07:04 +00:00
|
|
|
- vo_opengl interpolation now requires --video-sync=display-... to be set
|
|
|
|
- change some vo_opengl defaults (including changing tscale)
|
|
|
|
- add "vsync-ratio", "estimated-display-fps" properties
|
2015-11-16 21:47:17 +00:00
|
|
|
- add --rebase-start-time option
|
|
|
|
This is a breaking change to start time handling. Instead of making start
|
|
|
|
time handling an aspect of different options and properties (like
|
|
|
|
"time-pos" vs. "playback-time"), make it dependent on the new option. For
|
|
|
|
compatibility, the "time-start" property now always returns 0, so code
|
|
|
|
which attempted to handle rebasing manually will not break.
|
2015-11-09 19:49:30 +00:00
|
|
|
--- mpv 0.13.0 ---
|
|
|
|
- remove VO opengl-cb frame queue suboptions (no replacement)
|
2015-09-23 20:43:27 +00:00
|
|
|
--- mpv 0.12.0 ---
|
2015-10-24 17:09:35 +00:00
|
|
|
- remove --use-text-osd (useless; fontconfig isn't a requirement anymore,
|
|
|
|
and text rendering is also lazily initialized)
|
2015-10-16 14:16:10 +00:00
|
|
|
- some time properties (at least "playback-time", "time-pos",
|
|
|
|
"time-remaining", "playtime-remaining") now are unavailable if the time
|
|
|
|
is unknown, instead of just assuming that the internal playback position
|
|
|
|
is 0
|
2015-10-05 16:53:02 +00:00
|
|
|
- add --audio-fallback-to-null option
|
2015-09-29 19:12:26 +00:00
|
|
|
- replace vf_format outputlevels suboption with "video-output-levels" global
|
|
|
|
property/option; also remove "colormatrix-output-range" property
|
2015-09-23 20:43:27 +00:00
|
|
|
- vo_opengl: remove sharpen3/sharpen5 scale filters, add sharpen sub-option
|
2015-09-11 21:04:02 +00:00
|
|
|
--- mpv 0.11.0 ---
|
|
|
|
- add "af-metadata" property
|
2015-09-10 12:08:10 +00:00
|
|
|
--- mpv 0.10.0 ---
|
2015-08-30 21:01:46 +00:00
|
|
|
- add --video-aspect-method option
|
2015-08-22 20:08:17 +00:00
|
|
|
- add --playlist-pos option
|
2015-08-10 16:43:25 +00:00
|
|
|
- add --video-sync* options
|
|
|
|
"display-sync-active" property
|
|
|
|
"vo-missed-frame-count" property
|
|
|
|
"audio-speed-correction" and "video-speed-correction" properties
|
2015-08-05 21:38:23 +00:00
|
|
|
- remove --demuxer-readahead-packets and --demuxer-readahead-bytes
|
2015-08-05 21:41:29 +00:00
|
|
|
add --demuxer-max-packets and --demuxer-max-bytes
|
|
|
|
(the new options are not replacement and have very different semantics)
|
2015-08-05 19:29:09 +00:00
|
|
|
- change "video-aspect" property: always settable, even if no video is
|
|
|
|
running; always return the override - if no override is set, return
|
|
|
|
the video's aspect ratio
|
2015-08-03 21:33:03 +00:00
|
|
|
- remove disc-nav (DVD, BD) related properties and commands
|
2015-07-23 20:59:04 +00:00
|
|
|
- add "option-info/<name>/set-locally" property
|
2015-07-22 21:38:45 +00:00
|
|
|
- add --cache-backbuffer; change --cache-default default to 75MB
|
|
|
|
the new total cache size is the sum of backbuffer and the cache size
|
|
|
|
specified by --cache-default or --cache
|
2015-07-03 00:33:54 +00:00
|
|
|
- add ``track-list/N/audio-channels`` property
|
2015-07-18 16:33:54 +00:00
|
|
|
- change --screenshot-tag-colorspace default value
|
2015-07-18 12:36:17 +00:00
|
|
|
- add --stretch-image-subs-to-screen
|
2015-07-10 19:22:35 +00:00
|
|
|
- add "playlist/N/title" property
|
2015-07-10 16:04:34 +00:00
|
|
|
- add --video-stereo-mode=no to disable auto-conversions
|
2015-07-08 20:04:35 +00:00
|
|
|
- add --force-seekable, and change default seekability in some cases
|
2015-07-08 13:14:38 +00:00
|
|
|
- add vf yadif/vavpp/vdpaupp interlaced-only suboptions
|
|
|
|
Also, the option is enabled by default (Except vf_yadif, which has
|
|
|
|
it enabled only if it's inserted by the deinterlace property.)
|
2015-07-07 12:53:58 +00:00
|
|
|
- add --hwdec-preload
|
2015-07-03 17:21:22 +00:00
|
|
|
- add ao coreaudio exclusive suboption
|
2015-06-28 11:23:16 +00:00
|
|
|
- add ``track-list/N/forced`` property
|
2015-06-25 17:10:24 +00:00
|
|
|
- add audio-params/channel-count and ``audio-params-out/channel-count props.
|
2015-06-24 12:40:03 +00:00
|
|
|
- add af volume replaygain-fallback suboption
|
|
|
|
- add video-params/stereo-in property
|
2015-06-10 23:56:56 +00:00
|
|
|
- add "keypress", "keydown", and "keyup" commands
|
2015-06-05 20:35:43 +00:00
|
|
|
- deprecate --ad-spdif-dtshd and enabling passthrough via --ad
|
|
|
|
add --audio-spdif as replacement
|
2015-05-27 16:08:02 +00:00
|
|
|
- remove "get_property" command
|
2015-05-27 16:01:26 +00:00
|
|
|
- remove --slave-broken
|
2015-05-27 09:28:21 +00:00
|
|
|
- add vo opengl custom shader suboptions (source-shader, scale-shader,
|
|
|
|
pre-shaders, post-shaders)
|
2015-05-25 19:44:48 +00:00
|
|
|
- completely change how the hwdec properties work:
|
|
|
|
- "hwdec" now reflects the --hwdec option
|
|
|
|
- "hwdec-detected" does partially what the old "hwdec" property did
|
|
|
|
(and also, "detected-hwdec" is removed)
|
|
|
|
- "hwdec-active" is added
|
2015-05-23 13:26:55 +00:00
|
|
|
- add protocol-list property
|
2015-05-22 18:28:20 +00:00
|
|
|
- deprecate audio-samplerate and audio-channels properties
|
|
|
|
(audio-params sub-properties are the replacement)
|
2015-05-22 18:23:47 +00:00
|
|
|
- add audio-params and audio-out-params properties
|
2015-05-22 18:05:04 +00:00
|
|
|
- deprecate "audio-format" property, replaced with "audio-codec-name"
|
2015-05-22 18:03:14 +00:00
|
|
|
- deprecate --media-title, replaced with --force-media-title
|
2015-05-22 18:02:47 +00:00
|
|
|
- deprecate "length" property, replaced with "duration"
|
2015-05-22 17:00:13 +00:00
|
|
|
- change volume property:
|
|
|
|
- the value 100 is now always "unchanged volume" - with softvol, the
|
|
|
|
range is 0 to --softvol-max, without it is 0-100
|
|
|
|
- the minimum value of --softvol-max is raised to 100
|
|
|
|
- remove vo opengl npot suboption
|
|
|
|
- add relative seeking by percentage to "seek" command
|
|
|
|
- add playlist_shuffle command
|
|
|
|
- add --force-window=immediate
|
|
|
|
- add ao coreaudio change-physical-format suboption
|
|
|
|
- remove vo opengl icc-cache suboption, add icc-cache-dir suboption
|
|
|
|
- add --screenshot-directory
|
|
|
|
- add --screenshot-high-bit-depth
|
|
|
|
- add --screenshot-jpeg-source-chroma
|
|
|
|
- default action for "rescan_external_files" command changes
|
2015-09-10 12:08:10 +00:00
|
|
|
--- mpv 0.9.0 ---
|