aboutsummaryrefslogtreecommitdiffhomepage
path: root/TOOLS
Commit message (Collapse)AuthorAge
* video: initial Matroska 3D supportGravatar wm42014-08-30
| | | | | | | | | | | | | | | | | | | | | This inserts an automatic conversion filter if a Matroska file is marked as 3D (StereoMode element). The basic idea is similar to video rotation and colorspace handling: the 3D mode is added as a property to the video params. Depending on this property, a video filter can be inserted. As of this commit, extending mp_image_params is actually completely unnecessary - but the idea is that it will make it easier to integrate with VOs supporting stereo 3D mogrification. Although vo_opengl does support some stereo rendering, it didn't support the mode my sample file used, so I'll leave that part for later. Not that most mappings from Matroska mode to vf_stereo3d mode are probably wrong, and some are missing. Assuming that Matroska modes, and vf_stereo3d in modes, and out modes are all the same might be an oversimplification - we'll see. See issue #1045.
* TOOLS/mpv_identify.sh: simplify $MPV handlingGravatar shdown2014-08-30
|
* TOOLS/mpv_identify.sh: various style improvementsGravatar shdown2014-08-30
| | | | | Double-quote everything, eliminate unneeded evals and deprecated `backtits` substitution syntax.
* TOOLS/mpv_identify.sh: move script body to a functionGravatar shdown2014-08-30
| | | | | Don't prepend each variable with __midentify__, just make them local to the function.
* TOOLS/youtube-dl_mpv.sh: simplify $MPV handlingGravatar shdown2014-08-30
|
* TOOLS/youtube-dl_mpv.sh: disable globbing before expanding $video_urlGravatar shdown2014-08-30
| | | | | $video_url can contain a question mark, which can be expanded to a character in an existing file name if globbing is enabled.
* TOOLS/youtube-dl_mpv: allow playing multiple URLsGravatar wm42014-08-29
| | | | | Unfortunately this also means you can't pass extra mpv options after the URL anymore. You can prefix the script with MPV='mpv --options' though.
* TOOLS: youtube wrapper: allow overriding mpv binaryGravatar wm42014-08-26
|
* 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.