aboutsummaryrefslogtreecommitdiffhomepage
path: root/TOOLS
Commit message (Collapse)AuthorAge
* Add script to generate otf from sfdir using fontforgeGravatar Ricardo Constantino2017-04-20
| | | | | Uses python scripting on fontforge since native scripting is considered legacy and even Ubuntu Trusty seems to have python scripting.
* sub/osd_font.otf: replace triangle volume by speaker glyphGravatar Ricardo Constantino2017-04-20
| | | | | The triangle icon has potentially questionable copyright issues, see https://github.com/mpv-player/mpv/commit/a7e9bac13210834abd95380e89b5c3dae2336c52
* Add fontforge sfdir for mpv-osd-symbols fontGravatar Ricardo Constantino2017-04-20
| | | | | | | Should make changes easier to inspect. This was created by opening the current osd_font.otf in Fontforge and saving as .sfdir.
* TOOLS: add lua script for runtime acompressor ffmpeg filter controlGravatar Jan Janssen2017-03-25
|
* af_drc: removeGravatar Jan Janssen2017-03-25
| | | | | | | | | | | | | | | | Remove low quality drc filter. Anyone whishing to have dynamic range compression should use the much more powerful acompressor ffmpeg filter: mpv --af=lavfi=[acompressor] INPUT Or with parameters: mpv --af=lavfi=[acompressor=threshold=-25dB:ratio=3:makeup=8dB] INPUT Refer to https://ffmpeg.org/ffmpeg-filters.html#acompressor for a full list of supported parameters. Signed-off-by: wm4 <wm4@nowhere>
* TOOLS/zsh.pl: don't leak regex match variablesGravatar Philip Sequeira2017-03-06
|
* osx: improve bundle handlingGravatar Akemi2017-02-16
| | | | | | | | | | | | | | | | | we have two problems here. first when mpv is started from the bundle it uses its own environment variables and possibly can't find for example the youtube-dl binary for our youtube-dl hook. second we couldn't reliable determine when mpv was started from the bundle, which led to the pseudo-gui usage even when the binary was invoked from a shell. to prevent this we will wrap the bundle binary with a shell script, which will only be called when we start mpv from the bundle. this way we can get the same environment variables, like $PATH, for our bundle and additional we can set the pseudo-gui only when started through this script. it is also possible to detect the bundle usage properly and accurately through the usage of another environment var. Fixes #2061
* TOOLS/matroska.py: use python3Gravatar wm42017-02-01
| | | | | "python" usually maps to Python 2, while all Python 3 installations provide "python3". And the script requires Python 3.
* demux_mkv: passthrough BlockAdditions for libvpx alphaGravatar wm42017-01-31
| | | | | Dumb but simple thing. Requires the FFmpeg libvpx decoder wrapper, as its native decoder doesn't support alpha.
* TOOLS/matroska.py: fix some minor things for dumpingGravatar wm42017-01-31
| | | | | | | | | | | | | | TOOLS/matroska.py can be used stand-alone for dumping Matroska file contents. Fix some related issues. Elements were treated as unknown if the element hex ID contained uppercase characters. Unknown elements stopped parsing. This was intentional, but I don't really see any reason for it. Dumping with Python 2 is broken. I don't care, but everytime I hit this, I find myself trying to find out why. So make it error out explicitly.
* TOOLS/file2string.py: fix standalone invocationGravatar wm42017-01-05
|
* build: use matroska.py & file2string.py as python modulesGravatar Stefano Pigozzi2017-01-05
|
* mpv_identify.sh: add "duration" property to the list.Gravatar Rudolf Polzer2016-12-17
|
* TOOLS/matroska.py: format file dumper output slightly nicerGravatar wm42016-12-17
|
* TOOLS/matroska.py: allow using as moduleGravatar wm42016-12-17
| | | | | | Don't force CLI usage. It can be imported, and generate_C_header() and generate_C_definitions() can be called with a file argument instead of writing to stdout always.
* Revert "Port several python scripts to Perl"Gravatar wm42016-12-17
| | | | | | | | | | | | | | | | | | This reverts commit fae73079310eef9dce9737f2e37ff4b80c8830ee. Before the waf build system was used, we had a configure script written in shell. To drop the build dependency on Python, someone rewrote the Python scripts we had to Perl. Now the shell configure script is gone, and it makes no sense to have a build dependency on both Perl and Python. This isn't just a straight revert. It adds the new Matroska EBML elements to the old Python scripts, adjusts the waf build system, and of course doesn't add anything back needed by the old build system. It would be better if this used matroska.py/file2string.py directly by importing them as modules, instead of calling them via "python". But for now this is simpler.
* build: bump required minimum versions to FFmpeg 3.2.2 and Libav 12Gravatar wm42016-12-07
| | | | Fixes the build with Libav 11 (not).
* TOOLS/autoload: allow disabling through script-optsGravatar Ricardo Constantino2016-12-05
| | | | | | | | | | | This allows leaving autoload in auto-loaded scripts and to be used in a special profile like "pseudo-gui" without being troublesome to disable the behavior in profiles that get applied after pseudo-gui. Ex: [someprofile] script-opts=autoload-disabled=yes
* command: redefine some deprecated propertiesGravatar wm42016-11-22
| | | | | | | | | | | | | | As threatened by the API changes document. We can actually keep the deprecated --playlist-pos and --cache options, since they are aliases and not used by the corresponding properties. They are inconsistent, but do no harm. Keep them for now for the sake of the command line user. mpv_identify.sh partially stopped working, because it was never updated. The shell magic can't deal with property names that contain "/", so we can't replace "samplerate" with "audio-params/samplerate" - just remove these properties. (How about you use ffprobe?)
* travis: fix ffmpeg-git buildGravatar Stefano Pigozzi2016-11-17
|
* demux_mkv: parse colorimetry metadataGravatar Niklas Haas2016-11-08
| | | | | | | | | Matroska actually has lots of colorimetry metadata that video tracks can use, including mastering metadata (HDR signal peak) etc. This commit adds the EBML definitions and parses the most basic fields. Note that nothing uses these fields yet, this commit is just adding the necessary parsing and infrastructure.
* TOOLS/appveyor-install: install uchardet release insteadGravatar Ricardo Constantino2016-10-21
|
* TOOLS/stats-conv.py: use different colors for symbols tooGravatar wm42016-10-06
| | | | | Also, not setting pen=None seems to draw horizontal lines for the dots, which is fine too.
* player: do not let pseudo-gui override user config settingsGravatar wm42016-09-23
| | | | | | | | Seems like this confused users quite often. Instead of --profile=pseudo-gui, --player-operation-mode=pseudo-gui now has to be used to invoke pseudo GUI mode. The old way still works, and still behaves in the old way.
* TOOLS/lua/observe-all: explicitly observe all optionsGravatar wm42016-09-23
|
* TOOLS/zsh.pl: don't filter files by extensionGravatar Philip Sequeira2016-09-10
| | | | | | | Closes #2273. See that issue for explanation/discussion. I'll add examples on how to filter in your own config to the wiki soon: https://github.com/mpv-player/mpv/wiki/Zsh-completion-customization
* TOOLS/zsh.pl: die if we can't parse main optionsGravatar Philip Sequeira2016-09-10
| | | | | | | | | | | | | | | | This will catch cases where mpv runs without error, but the --list-options output isn't what we expect. Otherwise, we'll make a broken completion file that will result in cryptic errors when pressing tab, like: _mpv:18: command not found: *:files:->mfiles That's been the case for most of the zsh completion issues we've had reported, that I can remember. Also make uninitialized variable access fatal so that failures to parse other options will also make the script die eventually, albeit with a less nice message.
* travis: trigger website rebuild only on docs changesGravatar Ricardo Constantino2016-09-04
|
* travis: rebuild website for updated docs on pushGravatar Stefano Pigozzi2016-09-04
|
* TOOLS/zsh.pl: add m4a to zsh completion filetype listGravatar wgmk2016-08-26
|
* Use - as command-name separator everywhereGravatar Timotej Lazar2016-07-14
| | | | | | | Old-style commands using _ as separator (e.g. show_progress) were still used in some places, including documentation and configuration files. This commit updates all such instances to the new style (show-progress) so that commands are easier to find in the manual.
* vo_opengl: remove nnedi3 prescalerGravatar Bin Jin2016-06-18
|
* TOOLS/zsh.pl: add .f4v extension in zsh completionsGravatar Yen Chi Hsuan2016-05-27
|
* travis: move travis-deps script to TOOLSGravatar wm42016-05-12
| | | | Don't let it clutter the top level directory.
* Add Appveyor CI integration for Windows buildsGravatar James Ross-Gowan2016-05-12
|
* TOOLS/zsh.pl: complete --audio-deviceGravatar Philip Sequeira2016-04-16
|
* TOOLS/zsh.pl: properly escape last changeGravatar Philip Sequeira2016-04-08
| | | | | | I'm an idiot. Fixes #3032.
* TOOLS/zsh.pl: don't complete URLs by defaultGravatar Philip Sequeira2016-04-08
| | | | | | | ...unless no files match. Fixes #2892. To get the old behaviour back, use something like: zstyle ':completion:*:*:mpv:*' tag-order
* TOOLS/zsh.pl: add .wv extension in zsh completionsGravatar Martin Herkt2016-03-26
|
* TOOLS/lua/README: link to list of user scripts on wikiGravatar wm42016-03-18
|
* TOOLS/lua/zones.lua: RemoveGravatar Ricardo Constantino2016-03-08
| | | | Check wiki/User-Scripts for more up-to-date version.
* TOOLS/lua/autoload.lua: remove the extension prior to sortGravatar Alexis Nootens2016-02-02
| | | | | | When the directory contains files named such as xx-14.ext and xx-14.5.ext, remove the extension to sort the table to load the 14 before the 14.5.
* TOOLS/lua/ao-null-reload.lua: send ao-reload on audio-device-list changeGravatar Kevin Mitchell2016-01-28
| | | | | | | Only triggers if ao=null. This is required for ao=wasapi to recover from periods with no available devices. fixes #2738
* TOOLS/stats-conv: slightly better colorGravatar wm42016-01-12
| | | | | | | | pyqtgraph's intColor() is less than ideal, especially on white background. Can't see anything. Unfortunately the rendering of the legend can't be fixed, because pyqtgraph is terrible and hardcodes its rendering, including colors.
* TOOLS: remove old build systemGravatar wm42016-01-10
| | | | I'll still use it privately, but nobody else should.
* Fix build on older libavcodec versionsGravatar wm42016-01-08
| | | | avcodec_profile_name() was added only a week ago or so.
* bundle: remove git sha from the Info.plist versionGravatar Stefano Pigozzi2016-01-05
| | | | Fixes #2677
* TOOLS/zsh.pl: add .opus extension in zsh completionsGravatar Eric G2015-12-29
|
* old-configure: add a missing defineGravatar wm42015-12-23
| | | | (Why am I maintaining 2 build systems?)
* win32: input: use Vista CancelIoExGravatar James Ross-Gowan2015-12-20
| | | | | | | | | | | | | | | | | libwaio was added due to the complete inability to cancel synchronous I/O cleanly using the public Windows API in Windows XP. Even calling TerminateThread on the thread performing I/O was a bad solution, because the TerminateThread function in XP would leak the thread's stack. In Vista and up, however, this is no longer a problem. CancelIoEx can cancel synchronous I/O running on other threads, allowing the thread to exit cleanly, so replace libwaio usage with native Vista API functions. It should be noted that this change also removes the hack added in 8a27025 for preventing a deadlock that only seemed to happen in Windows XP. KB2009703 says that Vista and up are not affected by this, due to a change in the implementation of GetFileType, so the hack should not be needed anymore.