aboutsummaryrefslogtreecommitdiffhomepage
path: root/DOCS/man
Commit message (Collapse)AuthorAge
...
* client API: add events for video and audio reconfigGravatar wm42014-02-17
|
* lua: add mechanism for script provided key bindingsGravatar wm42014-02-17
| | | | | | | | | | | | | There was already an undocumented mechanism provided by mp.set_key_bindings and other functions, but this was relatively verbose, and also weird. It was mainly to make the OSC happy (including being efficient and supporting weird corner cases), while the new functions try to be a bit simpler. This also provides a way to let users rebind script-provided commands. (This mechanism is less efficient, because it's O(n^2) for n added key bindings, but it shouldn't matter.)
* client API: add a client message eventGravatar wm42014-02-17
| | | | | This comes with a "script_message" input command, which sends these messages. Used by the following commits.
* lua: allow giving fallback values in get_property() callsGravatar wm42014-02-17
| | | | | E.g. ``mp.get_property("foo", "value")`` will return ``value`` if the property can't be read.
* command: export chapter list as propertiesGravatar wm42014-02-16
|
* command: export playlist as propertiesGravatar wm42014-02-16
|
* command: expose track list as propertiesGravatar wm42014-02-16
|
* command: export more video params as propertiesGravatar wm42014-02-16
| | | | | This uses the previously added sub-property mechanism to export a bunch of stuff. For example, "video-params/w" now contains the video width.
* options: make --no-config block all auto-loaded configuration filesGravatar wm42014-02-14
| | | | | | | | | | | | Until now, the --no-config was explicitly checked in multiple places to suppress loading of config files. Add such a check to the config path code itself, and refuse to resolve _any_ configuration file locations if the option is set. osc.lua needs a small fixup, because it didn't handle the situation when no path was returned. There may some of such cases in the C code too, but I didn't find any on a quick look.
* lua: auto-load scripts from ~/.mpv/lua/Gravatar wm42014-02-14
| | | | This is like passing them to --lua.
* lua: make register_event() not overwrite previous event handlerGravatar wm42014-02-14
| | | | | | | | Instead, chain them. Note that there's no logic to prevent the other event handlers to be run from an event handler (like it's popular in GUI toolkits), because I think that's not very useful for this purpose.
* manpage: reformat property listGravatar wm42014-02-12
| | | | | | | | Use a list instead of a table. This makes it easier to provide extended information about a property, and doesn't require you to fiddle with rhe RST ASCII-art tables. Also, extend some property descriptions.
* manpage: lua: move less important events to the end of the listGravatar wm42014-02-12
|
* manpage: lua: document receiving of terminal messagesGravatar wm42014-02-12
|
* manpage: lua: rewrite event descriptionGravatar wm42014-02-12
| | | | | Using such a small table is not such a great idea, because you can't put much information in it, even if you need to.
* manpage: lua: minor fixesGravatar wm42014-02-12
|
* man: update wayland optionsGravatar Alexander Preisinger2014-02-11
|
* manpage: fix Lua script shutdown description againGravatar wm42014-02-11
| | | | | | It was split at the wrong sentence. Also, sneak in a reference to mp.suspend.
* manpage: document --aspect special valuesGravatar wm42014-02-11
| | | | | | | Use of these is "discouraged", but they're there to select these special cases with the "aspect" property. They really should use some sort of choice option type, but since it would be some work to make these work with float values, the simple and dumb alternative was picked.
* manpage: use Lua for Lua exampleGravatar wm42014-02-11
|
* manpage: document mp.commandv Lua commandGravatar wm42014-02-11
|
* manpage: move description of script shutdown to a separate paragraphGravatar wm42014-02-11
| | | | No other changes, just adding a paragraph break and reflowing the text.
* manpage: fix formatting of example codeGravatar wm42014-02-11
|
* manpage: document some Lua scripting functionsGravatar wm42014-02-11
|
* options: add --no-terminal switchGravatar wm42014-02-10
| | | | | Mostly useful for internal reasons. This code will be enabled by default if mpv is started via the client API.
* quvi: disable subtitle fetching by defaultGravatar wm42014-01-31
| | | | This is slow and unreliable, basically unusable.
* options: alternative way to specify color optionsGravatar wm42014-01-31
| | | | | | | | | | | | | | | | Try to make it more intuitive by not requiring hex values. The new way uses float values in the range 0.0-1.0, separated by '/' (':' was suggested, but that wouldn't allow color options in sub-options). Example: --osd-color=1.0/0.0/0.0/0.75 Using the range 0.0-1.0 has the advantage that it could be easily extended to colors beyond 8 bit. Details see manpage. Suggestions for alternative syntax or value ranges are welcome, but be quick with it.
* manpage: fix af_equalizer syntaxGravatar wm42014-01-19
| | | | This doesn't need quoting, for some reason.
* lua: add a --lua-opts option, which can be queried by scriptsGravatar wm42014-01-16
| | | | | | | The values set by this new option can be queried by Lua scripts using the mp.getopt() function. The function takes a string parameter, and returns the value of the first key that matches. If no key matches, nil is returned.
* player: add --term-osd-bar, which shows a status bar on the terminalGravatar wm42014-01-15
| | | | | Feature request from github issue #451. Disabled by default, will probably stay this way.
* manpage: document --term-osd=forceGravatar wm42014-01-13
| | | | | Apparently this was forgotten when it was first added, or maybe it's an arrifact from the rst conversion.
* player: redo terminal OSD and status line handlingGravatar wm42014-01-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The terminal OSD code includes the handling of the terminal status line, showing player OSD messages on the terminal, and showing subtitles on terminal (the latter two only if there is no video window, or if terminal OSD is forced). This didn't handle some corner cases correctly. For example, showing an OSD message on the terminal always cleared the previous line, even if the line was an important message (or even just the command prompt, if most other messages were silenced). Attempt to handle this correctly by keeping track of how many lines the terminal OSD currently consists of. Since there could be race conditions with other messages being printed, implement this in msg.c. Now msg.c expects that MSGL_STATUS messages rewrite the status line, so the caller is forced to use a single mp_msg() call to set the status line. Instead of littering print_status() all over the place, update the status only once per playloop iteration in update_osd_msg(). In audio- only mode, the status line might now be a little bit off, but it's perhaps ok. Print the status line only if it has changed, or if another message was printed. This might help with extremely slow terminals, although in audio+video mode, it'll still be updated very often (A-V sync display changes on every frame). Instead of hardcoding the terminal sequences, use terminfo/termcap to get the sequences. Remove the --term-osd-esc option, which allowed to override the hardcoded escapes - it's useless now. The fallback for terminals with no escape sequences for moving the cursor and clearing a line is removed. This somewhat breaks status line display on these terminals, including the MS Windows console: instead of querying the terminal size and clearing the line manually by padding the output with spaces, the line is simply not cleared. I don't expect this to be a problem on UNIX, and on MS Windows we could emulate escape sequences. Note that terminal OSD (other than the status line) was broken anyway on these terminals. In osd.c, the function get_term_width() is not used anymore, so remove it. To remind us that the MS Windows console apparently adds a line break when writint the last column, adjust screen_width in terminal- win.c accordingly.
* options: remove --screenw and --screenhGravatar wm42014-01-11
| | | | | | | | | Doesn't make any sense anymore. X11 (which was mentioned in the manpage) autodetects it, and everything else ignored the option values. Since for incomprehensible reasons the backends and vo.c still need to exchange information about the screensize using the option fields, they're not removed yet.
* options: don't reset pause mode when switching to next fileGravatar wm42014-01-09
| | | | | | This basically reverts the default as set by commit 812798c5. This seems to be a matter of taste, but personally I think keeping the pause setting is better.
* screenshot: add format specifiers to get file directory pathGravatar wm42014-01-08
| | | | | Useful if you want to put the screenshot into the same directory as the file that is being played.
* Switch PDF manual generation to rst2pdfGravatar Martin Herkt2014-01-08
| | | | | | | This finally gets rid of the LaTeX dependency. We should actually be using docultils directly here, but I didn't do this because of all the potential Python 2/3 breakage.
* ao_pulse: lower default buffer size from 1000ms to 250msGravatar wm42014-01-07
| | | | | | | | | | 1000ms is a bit insane. It makes behavior on playback speed changes worse (because the player has to catch up the dropped audio due to audio-chain reset), and perhaps makes seeking slower. Note that the problem of playback speed changes misbehaving will be fixed in the future, but even then we don't want to have a buffer that large.
* ao_pulse: add suboption to control buffer sizeGravatar wm42014-01-07
|
* manpage: mention how to get a list of codecs for use with --hwdec-codecsGravatar wm42014-01-07
|
* Fix audio delay inversionGravatar Martin Herkt2014-01-06
|
* quvi: add option to not fetch subtitlesGravatar Andre D2014-01-05
| | | | Signed-off-by: wm4 <wm4@nowhere>
* manpage: fix typoGravatar wm42014-01-05
|
* manpage: mention --pauseGravatar Martin Herkt2014-01-03
|
* manpage: clarifications about bitmap subtitles and --secondary-sidGravatar wm42014-01-01
|
* manpage: fix description on the slave mode msglevelGravatar wm42014-01-01
|
* manpage: fix vf_noise parameter nameGravatar wm42013-12-30
|
* vd_lavc: by default, output all frames, even corrupted onesGravatar wm42013-12-29
| | | | | | | | | | | | | | | | Set the flag CODEC_FLAG_OUTPUT_CORRUPT by default. Note that there is also CODEC_FLAG2_SHOW_ALL, which is older, but this seems to be ffmpeg only. Note that whether you want this enabled depends on the user. Some might prefer that only good frames are output, while others want the decoder to try as hard as possible to output _anything_. Since mplayer/mpv is rather the kind of player that tries hard instead of being "clever", set the new default to override libavcodec's default. A nice way to test this is switching video tracks. Since mpv doesn't wait for the next key frame, it'll start feeding the decoder with a packet from the middle of the stream.
* player: add --secondary-sid for displaying a second subtitle streamGravatar wm42013-12-24
| | | | | | | This is relatively hacky, but it's Christmas, so it's ok. This does two things: 1. allow selecting two subtitle tracks, and 2. include a hack that renders the second subtitle always as toptitle. See manpage additions how to use this.
* changes.rst: add entry for dvdnav menuGravatar wm42013-12-23
|
* manpage: mention video-unscaled propertyGravatar wm42013-12-23
|