aboutsummaryrefslogtreecommitdiffhomepage
path: root/TOOLS
Commit message (Collapse)AuthorAge
* vf_vdpaurb: Add a new filter for reading back vdpau decoded framesGravatar Philip Langdale2015-07-11
| | | | | | | | | | | | | | | | | Normally, vdpau decoded frames are passed directly to a suitable vo (vo_vdpau or vo_opengl) without ever touching system memory. This is efficient for output purposes, but prevents any of the regular filters from being used with such frames. This new filter implements a read-back step to pull the frames back into system memory where they can be acted on by other filters. Eventually the frames will be sent to the vo as if they were normal software-decoded frames. Note that a vdpau compatible vo must still be used to ensure that the decoder is properly initialised. Signed-off-by: wm4 <wm4@nowhere>
* av_log: print FFmpeg versionGravatar wm42015-07-03
| | | | | The individual library versionsd are pretty useless. This will actually tell us at least the git hash or git tag of the FFmpeg build.
* vo_x11: remove this video outputGravatar wm42015-06-26
| | | | | | | It only causes additional maintenance work. Even if you wanted to have a fallback, it's probably better to use --vo=sdl or so.
* demux_mkv: don't use byte stringsGravatar wm42015-06-24
| | | | | | Use char* for strings instead of bstr (data ptr + length pair). Matroska actually (probably) allows "padding" strings with \0 bytes, so using normal C strings instead of byte strings is more appropriate.
* af_convert24: remove this filterGravatar wm42015-06-16
|
* audio: remove S8, U16, U24, U32 formatsGravatar wm42015-06-16
| | | | | | | | | | | | | They are useless. Not only are they actually rarely in use; but libavcodec doesn't even output them, as libavcodec has no such sample formats for decoded audio. Even if it should happen that we actually still need them (e.g. if doing direct hardware output), there are better solutions. Swapping the sign is a fast and lossless operation and can be done inplace, so AO actually needing it could do this directly. If you wonder why we keep U8 instead of S8: because libavcodec does it.
* idet.sh: Support larger files.Gravatar Rudolf Polzer2015-06-02
|
* vdpau: add support for the "new" libavcodec vdpau APIGravatar wm42015-05-28
| | | | | | | | | Yet another of these dozens of hwaccel changes. This time, libavcodec provides utility functions, which initialize the vdpau decoder and map codec profiles. So a lot of work the API user had to do falls away. This also will give us support for high bit depth profiles, and possibly HEVC once libavcodec supports it.
* video: rename vdpau.c to vdpau_old.cGravatar wm42015-05-28
| | | | vdpau.c will be used for new code.
* TOOLS/lua/status-bar: update use of a deprecated propertyGravatar wm42015-05-25
| | | | | Also mention that this code does not reflect the status line of current mpv.
* demux_cue: move cue parser to a separate fileGravatar wm42015-05-19
| | | | Preparation for the next commit.
* Remove trailing whitespacesGravatar Michael Vetter2015-05-15
|
* TOOLS/stats-conv.py: add another event typeGravatar wm42015-05-11
|
* build: exclude -Wredundant-declsGravatar wm42015-05-09
| | | | | | | It's useless, and creates a bogus warning in subprocess-posix.c. Since I don't know which compilers might have it by default, just change it to -Wno-redundant-decls.
* old-configure: hideGravatar wm42015-05-09
| | | | It shouldn't be used, but it's still in the repo because I say so.
* osxbundle: remove unnecessary config file entryGravatar wm42015-05-01
| | | | This is done via pseudo-gui now.
* TOOLS/autoload: load only files that make senseGravatar Marcin Kurczewski2015-04-21
|
* TOOLS/autoload: add blank lines for readabilityGravatar Marcin Kurczewski2015-04-21
|
* TOOLS: autoload.lua: sort files case insensitiveGravatar wm42015-04-18
| | | | | Suggested by a user. The suggested code which was added her comes from PIL.
* TOOLS/umpv: fix typo in docstringGravatar Adrian Sadłocha2015-04-17
|
* OSX/mpv.app/mpv.conf: Use pseudo-guiGravatar robin007bond2015-04-13
| | | | | | | | The player is now forced to use the pseudo-gui profile. Fixes #1808 and #1754. Signed-off-by: wm4 <wm4@nowhere>
* TOOLS/zsh.pl: complete multiple values for ao, vo, af, vfGravatar Philip Sequeira2015-03-31
| | | | It still doesn't deal with sub-options, but that's for another day.
* TOOLS/zsh.pl: cosmeticsGravatar Philip Sequeira2015-03-31
|
* TOOLS/zsh.pl: use --no-config when calling mpvGravatar Philip Sequeira2015-03-31
|
* TOOLS: add a lua scripts for extracting and setting starttime with ytdlGravatar Patrick Hipp2015-03-23
| | | | Signed-off-by: wm4 <wm4@nowhere>
* TOOLS: add a lua script for a -stay on top only during playback- modeGravatar Patrick Hipp2015-03-23
| | | | Signed-off-by: wm4 <wm4@nowhere>
* TOOLS: remove youtube-dl_mpv.shGravatar wm42015-03-13
| | | | It lost all reason to exist, since mpv includes ytdl_hook.lua by default.
* demux_mkv: make matroska.pl script output deterministicGravatar wm42015-03-11
| | | | | | Work around the randomized Perl hashtables by sorting the elements. Fixes #1673.
* w32_common: support the "window-minimized" propertyGravatar James Ross-Gowan2015-03-09
|
* cocoa: support the "window-minimized" propertyGravatar Jaime Marquínez Ferrándiz2015-03-08
| | | | Signed-off-by: Stefano Pigozzi <stefano.pigozzi@gmail.com>
* osxbundle: config file special case isn't needed anymoreGravatar wm42015-02-15
| | | | | | The previous commit effectively fixes the mess caused by 'config' vs. 'mpv.conf', and the hack introduced by commit e01a6dac and extended by commit db167cd4 isn't needed anymore.
* ao_coreaudio: add support for hotplug notificationsGravatar Stefano Pigozzi2015-02-14
| | | | | | | | | | This commit adds notifications for hot plugging of devices. It also extends the old behaviour of the `audio-out-detected-device` property which is now backed by the hotplugging code. This allows clients to be notified when the actual audio output device changes. Maybe hotplugging should be supported for ao_coreaudio_exclusive too, but it's device selection code is a bit fragile.
* player: deprecate 'config' files (use mpv.conf), warn against clashesGravatar wm42015-02-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | Apparently there's at least one distro which ships a /etc/mpv/mpv.conf file (mpv doesn't install such a file). This breaks config files named 'config' located in the user's mpv config directory, because mpv first loads files named 'config' and then 'mpv.conf'. There is no mechanism for putting files with different names into the same config path order. (Even worse, that mpv.conf file only set an option to the default value. Why do distros always do very stupid things?) Print a warning on collisions. Although using 'config' was well-supported, supporting both names is starting to become messy, so deprecate 'config' and print a warning if one is found. At least we will be able to remove the whole mess once 'config' files are ignored... This also affects the osx-bundle, which intentionally used these not-so- optimal semantics. Solve it in a different way. (Unfortunately with an ifdef - it's not required, but having to explain everyone why mpv tries to load a osx-bundle.mpv file on Linux and Windows would consume energy.) Closes #1569.
* audio: add device change notification for hotpluggingGravatar wm42015-02-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | Not very important for the command line player; but GUI applications will want to know about this. This only adds the internal API; support for specific audio outputs comes later. This reuses the ao struct as context for the hotplug event listener, similar to how the "old" device listing API did. This is probably a bit unclean and confusing. One argument got reusing it is that otherwise rewriting parts of ao_pulse would be required (because the PulseAudio API requires so damn much boilerplate). Another is that --ao-defaults is applied to the hotplug dummy ao struct, which automatically applies such defaults even to the hotplug context. Notification works through the property observation mechanism in the client API. The notification chain is a bit complicated: the AO notifies the player, which in turn notifies the clients, which in turn will actually retrieve the device list. (It still has the advantage that it's slightly cleaner, since the AO stuff doesn't need to know about client API issues.) The weird handling of atomic flags in ao.c is because we still don't require real atomics from the compiler. Otherwise we'd just use atomic bitwise operations.
* osxbundle: don't try to package PythonGravatar Stefano Pigozzi2015-02-02
| | | | | | | | This fixes usage when the bundle is used on the same machine that Python/Cython was compiled on. It doesn't fix the harder problem of packaging a full Python installation in the mpv app bundle (and I'm not sure we actually want that). Fixes #1549
* TOOLS/stats-conv: change unit of X-axis to secondsGravatar wm42015-02-01
| | | | ...instead of milliseconds.
* youtube-dl_mpv.sh: unquote ${video_url}Gravatar Vítor Galvão2015-01-23
|
* youtube-dl_mpv.sh: use curly braces and double quotes consistentlyGravatar Vítor Galvão2015-01-22
|
* TOOLS/zsh.pl: complete options based on typesGravatar Philip Sequeira2015-01-06
| | | | | | | | | | No more equals signs for options that don't take values. Complete values for options with preset choices. Complete --no-whatever where applicable. Fixes #997.
* TOOLS/lua/observe-all: add a warningGravatar wm42015-01-03
| | | | This is just natural, but it's also not that obvious.
* TOOLS/lua/autoload: fix behavior with network URLsGravatar wm42015-01-03
| | | | | readdir() fails if the directory is an URL, so just exit instead of letting the Lua script fail.
* TOOLS/stats-conv: more improvementsGravatar wm42015-01-03
| | | | | | | | | | Add an explicit "signal" event type, because the implicit one was confusing. Don't rescale the Y axis of the second graph, it was nonsense. Make the legend for the second graph separate (and cleanup the code creating the graphs).
* TOOLS/stas-conv: add timed value event typeGravatar wm42015-01-02
|
* TOOLS/stats-conv: better outputGravatar wm42015-01-02
| | | | | | Sort the legend by the used y value of binary events/signals, add a way to filter branches (although that requires editing the script), and use the full screen if the second subplot is not used.
* osxbundle: fix cascading config loadingGravatar Stefano Pigozzi2014-12-26
| | | | | | | | | | | | | | | | | mpv does 'cascading' configs by overriding options as the config become more important (bundle -> system level -> user level). Unfortunately mpv also loads two sets of configs files one after the other [1]. First it looks for 'config', then for 'mpv.conf'. For this reason a mpv.conf in ANY location will override ANY config files named config (even if the mpv.conf is in a system path and config in a user path). [1]: Relevant code in player/configfiles.c load_all_cfgfiles(mpctx, section, "config"); load_all_cfgfiles(mpctx, section, "mpv.conf"); Fixes: #1361
* options: deprecate 'lua' based options/dirs for 'script'Gravatar Avi Halachmi (:avih)2014-12-15
| | | | | | | | | | | | - --lua and --lua-opts change to --script and --script-opts - 'lua' default script dirs change to 'scripts' - DOCS updated - 'lua-settings' dir was _not_ modified The old lua-based names/dirs still work, but display a warning. Signed-off-by: wm4 <wm4@nowhere>
* osxbundle: don't use sed but pure pythonGravatar Mihai Moldovan2014-12-13
| | | | | | | | GNU sed and BSD sed don't share the same options for editing files in-place, so a workaround is needed. The most simple way is to use a pure python implementation of applying the changes.
* cocoa: bundle: use idle=onceGravatar Stefano Pigozzi2014-12-07
|
* cocoa: use --idle when running inside bundleGravatar Stefano Pigozzi2014-12-06
| | | | | Previously when using the bundle we used a custom bizarro thing to wait for events. Just use `--idle` and greatly simplify the code.
* cocoa: save screenshots to desktop when using app bundleGravatar Stefano Pigozzi2014-12-05
| | | Fixes #947