summaryrefslogtreecommitdiffstats
path: root/DOCS
Commit message (Collapse)AuthorAgeFilesLines
* DOCS/lua: update read_options exampleGuido Cella2023-10-101-2/+2
| | | | | This still shows the old way of calling read_options even though it was deprecated 8 years in ago 327b091909e.
* console.lua: exit with with Ctrl+[Guido Cella2023-10-101-1/+1
| | | | | This binding commonly closes similar input buffers like vim's Command-line mode and dmenu.
* command: add playlist-next-playlist and playlist-prev-playlistGuido Cella2023-10-092-0/+8
| | | | | | | | | | | | playlist-prev-playlist goes to the beginning of the previous playlist because this seems more useful and symmetrical to playlist-next-playlist. It does not go to the beginning when the current playlist-path starts with the previous playlist-path, e.g. with mpv --loop-playlist foo/, which expands to foo/{1..9}.zip, the current playlist path foo/1.zip beings with the playlist-path foo/ of {2..9}.zip and thus playlist-prev-playlist goes to 9.zip rather than to 2.zip. Closes #12495.
* DOCS/input: document the full sub-propertyGuido Cella2023-10-071-0/+30
|
* console: show completion suggestions as tableChristoph Heinrich2023-10-071-2/+10
| | | | | | | | | | | | Completion suggestions are now nicely formatted into a table. Maximum width of the table is estimated based on OSD size and font size. This requires a new scaling factor option `font_hw_ratio`. A factor of 2.15 works great for me, but the default is 2.0 to avoid problems with other fonts. The space between columns is automatically adjusted to be between 2 and 8 spaces. It tries to use as few rows as possible.
* demux: change the default of metadata-codepage to autoDudemanguy2023-10-072-4/+4
| | | | | | | There's really no reason not to do this especially since sub-codepage already defaults to auto. Also change logging in charset_conv since telling us that the data is UTF-8 if the passed codepage value is "auto" or "utf-8" is really not useful information (that's the expectation).
* demux_cue: deprecate --demuxer-cue-codepage for --metadata-codepageDudemanguy2023-10-072-3/+1
| | | | | | | | | What are cue sheets not metadata or something? No reason this needs to be a separate option so just deprecate it. This does mean that the default value changes from "auto" to "utf-8" for this obscure fringe case. I really hope people don't use non-UTF-8 cuesheets, but the next commit will change the default of --metadata-codepage to "auto" so there's no actual change in behavior to users.
* charset_conv: remove ancient warning about deprecated syntaxDudemanguy2023-10-071-3/+0
| | | | | wm4 removed this in 4adfde5dd1e67775228a345cea00ea03ba6bc68f and left a warning. Nobody needs to know that enca:pl used to work.
* af_scaletempo: overlap is a factor not a percentageChristoph Heinrich2023-10-071-2/+2
|
* DOCS/mpv: update mpv.conf's documentationGuido Cella2023-10-061-17/+21
|
* af/vf-command: add ability to target a specific lavfi filterAshyni2023-10-051-8/+13
| | | | fixes: #11180
* external_files: remove duplicate from cover art whitelistGuido Cella2023-10-041-2/+2
| | | | | I made a mistake in 0070a5820e here because there were 2 separate groups of "front" filenames.
* path: don't override "cache" and "state" paths with configdirsfan52023-10-022-0/+4
| | | | | | | | | | This reverts commit 576e86bfa18a0a79e591988ad93ed009edc40849 (functionally). Right now, the --config-dir option silently causes all watch_later and cache files to be written in the --config-dir as well. This is pretty uninitutive and also not desirable in most cases so get rid of this. libmpv users will have to set the corresponding options or env vars if they want to keep the old behaviour.
* external_files: base cover-art-whitelist on cover-art-auto-extsGuido Cella2023-10-011-3/+4
| | | | | | | | | | Combine the cover art whitelist with the extensions in --cover-art-auto-exts instead of hardcoding them. This is shorter, checks for more extensions, saves us from updating the whitelist everytime we add a new image extension, and since the whitelist had gotten so big and the priority is calculated as MP_ARRAY_SIZE(cover_files) - n, files like cover.jpg were taking priority over cover art loaded by --cover-art-auto=exact.
* DOCS/interface-changes: also mention --window-affinityDudemanguy2023-10-011-0/+1
| | | | | Added in 2c738ca54b16cdd1982473672bd39068fcf8d948. I guess we seem to always mention any added option these days so might as well.
* DOCS/interface-changes: mention --backdrop-typeKacper Michajłow2023-10-011-0/+1
| | | | Added in f19ada7b583e9bf78de38d228a956c365b5c417b
* DOCS/lua: remove superfluous parameterChristoph Heinrich2023-09-301-1/+1
| | | | This seems to have been a leftover from copying the entry below it.
* command: deprecate shared-script-propertiesDudemanguy2023-09-271-0/+1
| | | | user-data is simply better.
* DOCS/options: update lavfi-complex examplesGuido Cella2023-09-271-2/+2
| | | | | Show how to stack 3 or more videos, and remove the life filter example because it should be used with av://lavfi:life.
* af_scaletempo2: raise max playback rate to 8.0llyyr2023-09-271-1/+1
| | | | | | 4.0 was too low and copied from Chromium defaults when the filter was initially written, there's no good reason for it to be so low, so double it.
* DOCS/options: add example for custom pitch correction filterllyyr2023-09-271-2/+16
|
* DOCS/mpv: update the wheel bindingsGuido Cella2023-09-271-2/+2
| | | | Update the docs to the new bindings set by 981a9372ff.
* win32: add option to change backdrop styleDeadSix2023-09-271-0/+10
|
* DOCS/options: update libplacebo-opts documentation URLNiklas Haas2023-09-261-1/+1
|
* input.conf: make `u` toggle between force and yesllyyr2023-09-251-3/+3
| | | | | | | | There was a discrepancy in what the keybind was advertised to do in the manual, and what the comment in input.conf described it to be doing. It makes very little sense to add a keybind that changes the default and doesn't allow you to get back to the default. This keybind is much more useful if it toggles between yes/force instead of no/force.
* DOCS/input: update aegisub URLGuido Cella2023-09-251-1/+1
|
* vo_gpu: remove --scaler-lut-sizeNiklas Haas2023-09-252-8/+1
| | | | | | | Pointless bloat option, hard-coded as 256 now in libplacebo and no reason not to also hard-code in mpv. See-Also: haasn/libplacebo@64d7c5aab06766a9492d3cfffd35333792052cd9
* vo_gpu: remove --scale-cutoff etcNiklas Haas2023-09-252-8/+1
| | | | | | | Pointless bloat option, hard-coded as 1e-3 now in libplacebo and no reason not to also hard-code in mpv. See-Also: haasn/libplacebo@64d7c5aab06766a9492d3cfffd35333792052cd9
* DOCS/af: update audio filters sectionllyyr2023-09-241-6/+22
|
* DOCS/man: remove outdated note about gnome and idle-inhibitDudemanguy2023-09-241-3/+0
| | | | They support it now.
* stream_cdda: move cdrom-device to cdda_paramsDudemanguy2023-09-222-2/+3
| | | | | | There is zero reason for this to be an MPOpt. Because of how the OPT_SUBSTRACT works, the option gets renamed to cdda-device instead, but probably not a big deal since the old alias is still in place.
* DOCS/options: remove some stray tabsDudemanguy2023-09-211-2/+2
| | | | | Accidentally added in 2c738ca54b16cdd1982473672bd39068fcf8d948 on a couple of lines. This is what I get for only looking at git webui diff.
* win32: add --window-cornersKacper Michajłow2023-09-212-0/+10
| | | | Allows to set preference for window corners rounding for DWM.
* win32: add an option to control window title bar stateKacper Michajłow2023-09-212-0/+7
| | | | Fixes: #11432
* win32: add an option to change window affinityDeadSix2023-09-211-4/+11
|
* vo_gpu: allow deband-iterations to be 0llyyr2023-09-211-1/+1
| | | | | THis allows adding grain without debanding. libplacebo already supported this, so no changes are required there.
* drm: remove selecting the card number with --drm-connectorDudemanguy2023-09-212-6/+5
| | | | | | f56043759494dd584c8d82e7890f92fada18e34b deprecated this since the --drm-device path option was added as a replacement. Drop the card number selection logic.
* options: remove --vf-defaults and --af-defaultsDudemanguy2023-09-213-10/+3
| | | | | | | These were deprecated a long time ago and apparently didn't even work with lavfi filters. Go ahead and remove them and additionally clean up some code related to them. m_config_from_obj_desc_and_args becomes much simpler now and a couple of arguments can be completely removed.
* options: remove deprecated --record-file optionDudemanguy2023-09-212-10/+1
| | | | | | No wonder wm4 wanted to get rid of this. This option requires touching a bunch of crap in the core player code. --stream-record works perfectly fine and is a lot nicer so there's no need for this to exist anymore.
* options: remove a few options marked with .deprecation_messageDudemanguy2023-09-213-26/+2
| | | | | | | | | | | A bit different from the OPT_REPLACED/OPT_REMOVED ones in that the options still possibly do something but they have a deprecation message. Most of these are old and have no real usage. The only potentially controversial ones are the removal of --oaffset and --ovoffset which were deprecated years ago and seemingly have no real replacement. There's a cryptic message about --audio-delay but who knows. The less encoding mode code we have, the better so just chuck it.
* command: stop restarting playback when writing to playlist-posDudemanguy2023-09-212-4/+5
| | | | | | | | | e9e93b4dbe748cd341a6fbea355e6ba013ada81b added a warning about writing the same value to the playlist-pos property that in the future it would stop restarting playback. Instead, you should use the playlist-play-index command for that. Well go ahead and drop the old deprecated behavior now and do what wm4 wanted this to do: just ignore if the same value is written again.
* command: remove some old deprecated properitiesDudemanguy2023-09-212-9/+3
| | | | | | | | drop-frame-count and vo-drop-frame-count are ancient and have no reason to exist anymore. The other change is that support for writing to display-fps has been removed, and the property is strictly read-only now. 3a2dc8b22e9f947c9cd3a91445b0731b8df1d798 is what deprecated it with a warning to users, so we can remove it without much trouble.
* options: remove ancient option fallbacks/deprecationDudemanguy2023-09-212-37/+5
| | | | | | | | | | | | | We've got an ungodly amount of OPT_REPLACED and OPT_REMOVED sitting around in the code. This is harmless, but the vast majority of these are ancient. 26f4f18c0629998a9b91e94722d166866d8b80a3 is the last commit that touched the majority of these and of course that only changed how options were declared so all of this stuff was deprecated even before that. No use in keeping these, so just delete them all. As an aside, there was actually a cocoa_opts but it had only a single option which was replaced by something else and empty otherwise. So that entire thing was just simply removed. OPT_REPLACED/OPT_REMOVED declarations that were added in 0.35 or later were kept as is.
* builtin.conf: remove deprecated opengl-hq profileDudemanguy2023-09-211-0/+1
| | | | | Deprecated in 65979986a923a8f08019b257c3fe72cd5e8ecf68. 6 years is more than enough time.
* demux_playlist: add --directory-mode=autoGuido Cella2023-09-212-2/+4
| | | | This is a more useful default with --shuffle.
* options: make video-crop validation more strictKacper Michajłow2023-09-201-1/+1
|
* vo_gpu: match libplacebo debanding defaultsNiklas Haas2023-09-202-2/+3
| | | | | | | | | The defaults were awful and horribly regressed many files while also not fixing banding on files that actually needed it, sometimes even *increasing* banding due to the low threshold. Fixes: 12ffce0f224056f91a20c9f0b197f4973931efbe See-Also: haasn/libplacebo@e1e43376d16d5112ee1254534664b0b85110139b
* vo_gpu: match libplacebo peak detection defaultsNiklas Haas2023-09-202-2/+4
| | | | | | | | | This probably makes `vo_gpu` tone mapping worse, or something, but who cares. The status quo for a while now has been to use `vo_gpu_next` if you care about HDR rendering at all. See-Also: haasn/libplacebo@ec60dd156b82753a2e2d8a399899244605f4d1bf See-Also: haasn/libplacebo@0903cbd05d7fc0391cbd99954924a39b855c8a1b
* DOCS: update notes about new profilesKacper Michajłow2023-09-202-5/+6
|
* vo_gpu: default to dscale=hermiteNiklas Haas2023-09-202-3/+4
| | | | | | | | | | This new filter is slightly sharper, and significantly faster, than mitchell. It also tends to preserve detail better. All in all, there is no reason not to use it by default, especially from a performance PoV. (In vo_gpu_next, hermite is implemented efficiently using hardware accelerated bilinear interpolation) See-Also: https://code.videolan.org/videolan/libplacebo/-/commit/75b3947b2c07803456483ec6976c037bad91b5dd
* DOCS/options: document hermite scalerNiklas Haas2023-09-201-0/+5
| | | | Since I want to make it more prominent.
* DOCS/options: remove potentially offensive languageNiklas Haas2023-09-201-7/+6
| | | | | | | | | | It can hurt people's feelings to refer to scalers as "high quality" and "low quality", when it is so subjective. I decided to preserve the lanczos sections at least because it's mostly talking about the difference between EWA Lanczos and Lanczos, which is less controversial than the difference between, say, Lanczos and Catmull.
* DOCS/options: remove spline36 sectionNiklas Haas2023-09-201-3/+0
| | | | | What a pointless section. We don't use it by default anymore so might as well just remove it.
* DOCS/options: change wording to be less inflammatoryAlex Mitzsch2023-09-201-1/+1
| | | | | Change wording from "Disable idiotic nonsense" to just say "Disable functions like."
* DOCS/vo: remove some dated deprecation warnings about --vo=rpiDudemanguy2023-09-191-8/+1
| | | | | | | | | | | | | | | | Very amusingly, the manual previously said "The rpi VO will be removed in mpv 0.23.0." Obviously, this didn't happen. It looks like wm4 changed his mind on this with 51fd8f6fe16ef0a8fa35aec89cab82d435e4d4d9, but never updated the docs. What was the problem? Who knows but allegedly there are people that use --vo=rpi (it's supposed to work at least). Actually context_rpi is probably broken since wm4 changed fullscreen handling in 59cdfe50b261e06bdf04d2f7e2e18f6c19cbb26d and no one ever bothered to fix it after that commit. In fact, that's the last commit that touched that particular file. Someone did actually fix vo_rpi after that so that one probably works at least. Anyways, I wouldn't mind just deleting all rpi stuff, but there's probably some people out there that use it so whatever. Remove the outdated deprecated language in the documentation and just accept that we support this unfortunately.
* cplugin: allow loading mpv_* symbols dynamicallyKacper Michajłow2023-09-201-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Defining MPV_CPLUGIN_DYNAMIC_SYM during plugin compilation will replace mpv_* functions with function pointers. Those pointer will be initialized when loading the plugin. It is recommended to use this symbol table when targeting Windows. The loader does not have notion of global symbols. Loading cplugin into mpv process will not allow this plugin to call any of the symbols that may be available in other modules. Instead cplugin has to link explicitly to specific PE binary, libmpv-2.dll/mpv.exe or any other binary that may have linked mpv statically. This limits portability of cplugin as it would need to be compiled separately for each of target PE binary that includes mpv's symbols. Which in practice is unrealictis, as we want one cplugin to be loaded without those restrictions. Instead of linking to any PE binary, we create function pointer for all mpv's exported symbols. For convinience names of entrypoints are redefined to those pointer so no changes are required in cplugin source code, except defining MPV_CPLUGIN_DYNAMIC_SYM. Those function pointer are exported to make them available for mpv to init with correct values during runtime, before calling `mpv_open_cplugin`. Note that those pointer are decorated with `selectany` attribute, so no need to worry about multiple definitions, linker will keep only single instance. This fixes cplugin usability on Windows. Without any API changes, only recompilation with -DMPV_CPLUGIN_DYNAMIC_SYM is needed.
* builtin.conf: modernize internal profilesKacper Michajłow2023-09-192-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The goal is to provide simple to understand quality/performance level profiles for the users. Instead of default and gpu-hq profile. There main profiles were added: - fast: can run on any hardware - default: balanced profile between quality and performance - high-quality: out of the box high quality experience. Intended mostly for dGPU. Summary of three profiles, including default one: [fast] scale=bilinear cscale=bilinear (implicit) dscale=bilinear dither=no correct-downscaling=no linear-downscaling=no sigmoid-upscaling=no hdr-compute-peak=no [default] (implicit mpv defaults) scale=lanczos cscale=lanczos dscale=mitchell dither-depth=auto correct-downscaling=yes linear-downscaling=yes sigmoid-upscaling=yes hdr-compute-peak=yes [high-quality] (inherits default options) scale=ewa_lanczossharp cscale=ewa_lanczossharp (implicit) hdr-peak-percentile=99.995 hdr-contrast-recovery=0.30 allow-delayed-peak-detect=no deband=yes scaler-lut-size=8
* vo: change tscale to oversample by defaultKacper Michajłow2023-09-192-1/+2
| | | | Keep it sharp, let users opt-in more blurry result.
* vo: make cscale follow scale by defaultKacper Michajłow2023-09-192-1/+3
|
* vo: enable correct-downscaling, linear-downscaling, sigmoid-upscalingKacper Michajłow2023-09-192-3/+5
|
* demux: prepend some cache options with demuxerDudemanguy2023-09-182-2/+4
| | | | | | --cache-dir is an awful name that leads to confusion (see #12418). Change the name to --demuxer-cache-dir and --demuxer-cache-unlink-files instead.
* filter_kernels: remove bcspline filterllyyr2023-09-182-2/+3
| | | | | | After fixing the B and C params for bcspline, it ended up being the same thing as bicubic. There's no reason to have two names for the same filter, so remove bcspline and keep bicubic to match libplacebo.
* DOCS/vo: remove outdated reference to --vo-vaapi-deinit-modeDudemanguy2023-09-171-19/+0
| | | | | This option was removed in db2268d5b11bfd290251b4aac7045535803f4d96, but the manual was never updated to reflect that.
* demux: add crop to mp_codec_paramsKacper Michajłow2023-09-171-0/+10
|
* osc: add scrolling to audio/sub buttonsllyyr2023-09-171-0/+1
| | | | Consistent with other osc buttons now
* vo_gpu: remove --scale-wblur etcNiklas Haas2023-09-162-6/+7
| | | | | | | | | | No need for this since it's entirely redundant with just changing the filter radius directly. In fact, that's the whole *point* of the filter radius - it does not modify the filter, it modifies the scaling of the window. Of course, this does not work for non-resizable kernels. But, really, who cares?
* filter_kernels: add ewa_lanczos4sharpestNiklas Haas2023-09-162-0/+7
| | | | Mainly for vo_gpu_next.
* filter_kernels: use true jinc radiusNiklas Haas2023-09-161-3/+2
| | | | | For all filters. For consistency between vo_gpu and vo_gpu_next. Also makes ewa_lanczossharp less special.
* vo_gpu: vo_gpu_next: support --icc-3dlut-size=autoNiklas Haas2023-09-152-3/+5
| | |