aboutsummaryrefslogtreecommitdiffhomepage
path: root/TOOLS
Commit message (Collapse)AuthorAge
* travis: stop excluding ffmpeg-gitGravatar Ricardo Constantino2017-12-22
| | | | Signed-off-by: Stefano Pigozzi <stefano.pigozzi@gmail.com>
* appveyor: fix FFmpeg downloadGravatar James Ross-Gowan2017-12-09
| | | | | Broken in f19797dea62a. It seems like the Git server on git.ffmpeg.org doesn't like clone --depth=1, so use the GitHub mirror instead.
* Remove support for ffmpeg-mpvGravatar Rostislav Pehlivanov2017-12-05
|
* TOOLS/autoload.lua: update extensionsGravatar Ckat2017-12-03
| | | | | * duplicated 'ogv' renamed to 'ogm' * 'ogg' and 'opus' added as common audio file extensions
* appveyor: use git submodule update --initGravatar James Ross-Gowan2017-11-13
| | | | Thanks @jeeb.
* appveyor: update ffmpeg and test d3d11/vulkanGravatar James Ross-Gowan2017-11-08
| | | | | | | Build ffmpeg-mpv, shaderc and crossc from source, since they are not packaged in MSYS2. Also, add some more explicit --enable flags to the mpv build to make sure things like D3D11, D3D11VA hwaccels and Vulkan are auto-detected.
* travis: adjust ffmpeg URLGravatar wm42017-10-27
| | | | No idea if this is correct.
* command: drop "audio-out-detected-device" propertyGravatar wm42017-10-09
| | | | | | Coreaudio stopped setting it a few releases ago (66a958bb4fa). There is not much of a user- or API-visible change, so remove it without deprecation.
* osx: fix bundle on macOS High Sierra (10.13)Gravatar Akemi2017-10-03
| | | | | | | | | | | | | | | | | | | | | | Apple slightly changed the App bundle mechanism which broke wrapper scripts that invoke the actual binary. it caused the bundle to always open a new instance of mpv instead of reusing the currently running one. just removing the wrapper script would lead to several regressions, so it was replaced with a symlink to the bundle binary. detection if mpv was started from the bundle was replaced by comparing the execution name of the binary, eg the name of the symlink "mpv-bundle". additionally, because we load a standard config from the Resources folder of the bundle again, we prevent that config from being loaded if mpv wasn't started via the bundle. the psn argument has to be removed manually again. the ability of loading your standard shell environment has been removed with the wrapper. a substitution will be added with another commit. as a side effect this fixes an issues when zsh was used with common NodeJS configuration scripts. Fixes #4926 #4866
* TOOLS/lua/autodeint: update to lavfi-bridgeGravatar Ricardo Constantino2017-08-21
| | | | | Also use lavfi setfield instead of removed field-dominance. Remove missing remainder of field-dominance in docs.
* video: add metadata handling for spherical videoGravatar wm42017-08-21
| | | | | | | | | | | | | | This adds handling of spherical video metadata: retrieving it from demux_lavf and demux_mkv, passing it through filters, and adjusting it with vf_format. This does not include support for rendering this type of video. We don't expect we need/want to support the other projection types like cube maps, so we don't include that for now. They can be added later as needed. Also raise the maximum sizes of stringified image params, since they can get really long.
* TOOLS/autocrop.lua: fix cropdetect black limit for 10-bit videosGravatar Ricardo Constantino2017-08-17
| | | | | Also update to use newer lavfi-bridges for the relevant filters to shut up warnings about deprecated crop filter.
* TOOLS/autoload.lua: implement natural sortingGravatar Ricardo Constantino2017-08-16
|
* travis: install missing x11 depsGravatar Ricardo Constantino2017-08-07
|
* acompressor.lua: Convert to use mp.options and lavfi filter bridgeGravatar Jan Janssen2017-08-07
|
* TOOLS/lua/status-line: improve and updateGravatar Rostislav Pehlivanov2017-08-04
| | | | | | | Updates the line once per second rather than once per frame, saving quite a bit of CPU. Also completely stops the script while paused. That aside, fixes the swapped checks for video and audio-only files and adds bitrate printing.
* travis: drop libav-stable supportGravatar wm42017-08-03
| | | | | | | | | | | For libav-stable, we download the Libav tarball, which is failing, because their certificate is broken: ERROR: cannot verify libav.org's certificate, issued by `/C=US/O=Let\'s Encrypt/CN=Let\'s Encrypt Authority X3': Issued certificate has expired. I don't intend to support Libav's overly old releases anymore anyway, so if you want to use Libav, use its git master.
* osx: load the proper profiles and configs in the bundleGravatar Akemi2017-07-31
| | | | | | | different shells need different args to load the expected profiles and configs, so we added a small heuristic to decide those args. also don't always load the profiles for a bash login shell and instead only use the standard shell without any args.
* osx: fix bundle for paths that need escapingGravatar Akemi2017-07-31
| | | | | | this fixes the mpv binary call in our bundle wrapper script, in the case that the path to the binary needs escaping. examples are white spaces or special chars.
* travis: trigger website rebuild on VERSION changes tooGravatar Ricardo Constantino2017-07-19
| | | | Needed to update the stable manual if no DOCS were changed.
* x11: load icon differentlyGravatar wm42017-07-01
| | | | | | | | Now it's sourced from the etc/ PNG files directly, instead of preprocessing them with imagemagick. Add some ad-hoc code to decode PNG files with libavcodec. At least we can drop the zlib code in exchange.
* mpv_identify: replace deprecated fps propertyGravatar Ricardo Constantino2017-06-25
| | | | Closes #4550
* TOOLS: change license of some scripts involved in build to LGPLGravatar wm42017-06-24
| | | | | wscript calls them directly, and thus are probably part of the build system. They seem to be fully covered by relicensing agreements.
* vf_dlopen: remove this filterGravatar wm42017-06-18
| | | | | | | | | | | | | | | | It was an attempt to move some MPlayer filters (which were removed from mpv) to external, loadable filters. That worked well, but then the MPlayer filters were ported to libavfilter (independently), so they're available again. Also there is a more widely supported and more advanced loadable filter system supported by mpv: vapoursynth. In conclusion, vf_dlopen is not useful anymore, confusing, and requires quite a bit of code (and probably wouldn't survive the rewrite of the mpv video filter chain, which has to come at some point). It has some implicit dependencies on internal conventions, like possibly the format names dropped in the previous commit. We also deprecated it last release. Drop it.
* TOOLS/lua/autoload.lua: ignores all files starting with "."Gravatar Yue Zhu2017-05-20
|
* TOOLS/lua/autoload.lua: actually sort files case insensitiveGravatar Ricardo Constantino2017-05-04
| | | | | Regression since 8996f79edbf. Closes #4398
* osx: fix mpv-wrapper.sh when used with csh or tcsh shellGravatar downthomas2017-05-02
| | | | | | | | If the default shell of the user is set to csh or tcsh, the use of "$SHELL -l -c" will fail to launch mpv because -l and -c cannot be used together with csh or tcsh. Signed-off-by: Akemi <der.richter@gmx.de>
* osd-font: make volume muted glyph slightly thickerGravatar Ricardo Constantino2017-04-22
|
* 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
|