aboutsummaryrefslogtreecommitdiffhomepage
path: root/TOOLS
Commit message (Collapse)AuthorAge
* TOOLS/stats-conv.py: improvementsGravatar wm42014-08-19
| | | | This is still pretty useful for debugging timing-dependent things.
* TOOLS/zsh.pl: protect global environmentGravatar Philip Sequeira2014-08-17
|
* TOOLS/zsh.pl: fix a ret that hadn't been changed to rcGravatar Philip Sequeira2014-08-17
|
* TOOLS/zsh.pl: complete profilesGravatar Philip Sequeira2014-08-17
| | | | Implemented in shell, because it has to be done at runtime.
* TOOLS/zsh.pl: properly set the return valueGravatar Alessandro Ghedini2014-08-13
| | | | | | The previous commit made the completion script always return non-zero, even when a match is found. This explicitly sets the return value to zero whenever a match is found but defaults to non-zero in case nothing is matched.
* TOOLS/zsh.pl: properly return non-zero when no matches are foundGravatar c_142014-08-13
| | | | | | | | Returning a non-zero value signals to the zsh completion system that no matches were added by the script so that it can try the user-defined matchers (e.g. those defined with matcher-list). Fixes #1008.
* Move status-line.luaGravatar wm42014-08-11
| | | | | Looks like TOOLS/lua/ is now established as dumping ground for random Lua scripts, so DOCS/lua_examples/ is not needed anymore.
* TOOLS: add test script for property change notificationsGravatar wm42014-08-02
|
* idet.sh: Fix a typo.Gravatar Rudolf Polzer2014-07-16
|
* osxbundle: fix detection of user librariesGravatar Tsukasa OMOTO2014-07-16
| | | | | Previous code would detect for example `libcaca.0.dylib` as a system library, because it matched the `libc` condition.
* idet.sh: Fix telecine detection.Gravatar Rudolf Polzer2014-07-15
|
* OS X bundle: Add more imported UTIGravatar Nyx0uf2014-07-04
| | | Not that there are widely used formats, but it will allow to play them directly from the Finder.
* TOOLS/zsh.pl: complete URL schemes based on --list-protocolsGravatar Alessandro Ghedini2014-07-03
|
* TOOLS/zsh.pl: sort options in reverse order by lengthGravatar Alessandro Ghedini2014-07-03
| | | | | This stops options that are prefixes of other options from blocking completion of values for the longer ones.
* TOOLS/zsh.pl: untabifyGravatar Philip Sequeira2014-07-03
|
* TOOLS/zsh.pl: fix _arguments lineGravatar Philip Sequeira2014-07-03
| | | | | | | | | Don't use _x_arguments, as we don't support X arguments. Get rid of -s, because we don't support multiple single-letter options in one argument. Add -S, because we ignore options after "--".
* TOOLS/zsh.pl: don't consume extra argumentsGravatar Philip Sequeira2014-07-03
| | | | | | | | | | | | Completion now uses "--opt=value" instead of "--opt value". Once the user presses space and starts a new argument, the option just completed is out of the picture, whether or not it was given an argument. This handles options with no arguments or optional arguments much better; previously, completing such an option would effectively disable completion for the next argument. Custom completed options such as "--ao" and friends will no longer claim to consume an extra argument.
* TOOLS/zsh.pl: escape all colons in option descriptionsGravatar Philip Sequeira2014-07-03
|
* TOOLS: add script for generating a zsh completion scriptGravatar Alessandro Ghedini2014-06-08
| | | | As discussed in #775
* idet.sh: An alternative to ildetect.sh.Gravatar Rudolf Polzer2014-05-27
| | | | | This script uses ffmpeg's "idet" filter for interlace detection. In the long run this should replace ildetect.sh+ildetect.sh.
* lua: fix compilation with lua 5.2Gravatar wm42014-05-26
| | | | | | | | | | | Commit e2e450f9 started making use of luaL_register(), but OF COURSE this function disappeared in Lua 5.2, and was replaced with a 5.2-only alternative, slightly different mechanism. So just NIH our own function. This is actually slightly more correct, since it forces the user to call "require" to actually make the module visible for builtin C-only modules other than "mp". Fix autoload.lua accordingly.
* autoload.lua: fix autoloading of files to prependGravatar wm42014-05-25
| | | | This used the wrong index variable, and thus didn't work.
* TOOLS: add a Lua script to autoload playlist entriesGravatar wm42014-05-25
| | | | | | This will load other files in the same directory when a single file is played. It's an often requested feature, but we definitely don't want it in the core.
* osxbundle: fix recursion terminationGravatar Tsukasa OMOTO2014-05-25
| | | | Prevents the binary from being copied over to the lib directory.
* TOOLS/vf_dlopen: use new pixelformats, fix usage for newstyle argsGravatar Kevin Mitchell2014-05-15
|
* TOOLS/mpv_identify.sh: unbreakGravatar wm42014-05-14
|
* TOOLS/stats-conv: don't crash on empty linesGravatar wm42014-05-11
|
* TOOLS/stats-conv: draw playloop and AO thread events separatelyGravatar wm42014-05-11
| | | | | Use for all AO thread events y=0.5, while playloop events remain at y=1. This makes the graph easier to read.
* osxbundle: split and optimize bundling scriptGravatar Stefano Pigozzi2014-05-09
| | | | | | | | | | | Move the code that copies the dylib's to the bundle to a new script (dylib-unhell.py) which is called by osxbundle.py. dylib-unhell is about 20x faster than the previous implementation. This is accomplished by removing superflous shell-out operations which are kept track of using an in memory tree of all the needed dependencies. Moreover the shell-outs have been further optimized by not requiring a complete shell for every operation and just using subprocess.call (which is equivalent to Popen).
* TOOLS/lua: add cycle-deinterlace-pullup scriptGravatar Kevin Mitchell2014-05-06
| | | | Override the shift+d hotkey to add a pullup step to the cycle.
* TOOLS/lua: conform to whitespace coding-styleGravatar Kevin Mitchell2014-05-06
|
* TOOLS/lua: use double quotes unless there's a good reasonGravatar Kevin Mitchell2014-05-04
|
* TOOLS/lua/autocrop: handle case of user hitting hotkey while cropdetection ↵Gravatar Kevin Mitchell2014-05-04
| | | | already running
* TOOLS/lua: no longer gsub out "lua/" prefix, now that its no longer thereGravatar Kevin Mitchell2014-05-04
|
* options: rename video-related options/propertiesGravatar Martin Herkt2014-05-04
| | | | | | | | | | | Renamed options: --aspect → --video-aspect --fstype → --x11-fstype --native-fs → --fs-missioncontrol --name → --x11-name Renamed properties: aspect → video-aspect
* TOOLS: better documentation of lua scriptsGravatar Kevin Mitchell2014-04-29
|
* TOOLS: improve autocrop.luaGravatar Kevin Mitchell2014-04-29
| | | | | | | | | | It now inserts no filters and does nothing until the hot-key is pressed. This makes it more suitable to be put in ~/.mpv/lua. When the hot-key is pressed, it now inserts the cropdetect filter and waits 1 second (or a --lua-opts specified duration) before gathering the cropdetect metadata and inserting the appropriate crop filter. A second press of the hotkey removes the crop.
* TOOLS/umpv: make it work with Python 3 (again)Gravatar wm42014-04-29
| | | | | | | Apparently, the 3rd (2nd) parameter to string.translate() function was removed. Also, make_abs() had a mistake - not sure how this passed testing.
* TOOLS/umpv: don't mangle URLsGravatar wm42014-04-29
| | | | | This attempted to prefix the current directory to URLs, because it didn't recognize them as already absolute paths.
* TOOLS/umpv, mpv.desktop: use --no-terminal instead of --really-quietGravatar wm42014-04-29
| | | | | So this won't initialize terminal handling if stdout happens to be a terminal. It also suppresses all output to stdout/stderr.
* TOOLS/umpv: allow passing 0 filesGravatar wm42014-04-29
| | | | | Some might use that to just create an empty window with --force-window --idle (for whatever reasons).
* TOOLS/umpv: allow passing optionsGravatar wm42014-04-29
| | | | But only via a special environment variable.
* TOOLS/umpv: make it work with Python 3Gravatar wm42014-04-29
| | | | Apparently they removed octal literals, and made them invalid syntax.
* TOOLS: make youtube-dl_mpv.sh executableGravatar wm42014-04-28
|
* TOOLS: indent lua scripts by 4 spaces instead of 3Gravatar Kevin Mitchell2014-04-27
|
* TOOLS: add lua/drc-controlGravatar Kevin Mitchell2014-04-27
| | | | allows live insertion/deletion/adjustment of drc audio filter
* TOOLS: move autocrop.lua to TOOLS/luaGravatar Kevin Mitchell2014-04-27
| | | | in anticipation of more lua scripts
* OS X bundle: add UTImportedTypeDeclarationsGravatar Nyx0uf2014-04-25
| | | | | | | | | | | | | | | | Allows to declare UTIs [1] for types of file that OS X doesn't know, like mkv, mka, etc. For example: instead of having a dynamically generated UTI for .mkv like 'dyn.somerandomstring', 'io.mpv.mkv' is registered and conforms to public.movie and is known system wide. Note: The list is far from being complete but it should cover the most used type of files. [1]: https://developer.apple.com/library/ios/documentation/FileManagement/Conceptual/understanding_utis/understand_utis_conc/understand_utis_conc.html#//apple_ref/doc/uid/TP40001319-CH202-CHDHIJDE Fixes: #734
* player: add a --dump-stats optionGravatar wm42014-04-17
| | | | | | | | | | | | | | | | | | | | | | | This collects statistics and other things. The option dumps raw data into a file. A script to visualize this data is included too. Litter some of the player code with calls that generate these statistics. In general, this will be helpful to debug timing dependent issues, such as A/V sync problems. Normally, one could argue that this is the task of a real profiler, but then we'd have a hard time to include extra information like audio/video PTS differences. We could also just hardcode all statistics collection and processing in the player code, but then we'd end up with something like mplayer's status line, which was cluttered and required a centralized approach (i.e. getting the data to the status line; so it was all in mplayer.c). Some players can visualize such statistics on OSD, but that sounds even more complicated. So the approach added with this commit sounds sensible. The stats-conv.py script is rather primitive at the moment and its output is semi-ugly. It uses matplotlib, so it could probably be extended to do a lot, so it's not a dead-end.
* TOOLS: vf-metadata: lua cropdetect example scriptGravatar Kevin Mitchell2014-04-13
| | | | Signed-off-by: wm4 <wm4@nowhere>