summaryrefslogtreecommitdiffstats
path: root/DOCS
Commit message (Collapse)AuthorAgeFilesLines
* win32: add portable config modewm42015-07-271-0/+8
| | | | | | | | | | | See manpage additions. The main reason for adding this is that we can't guess whether the user wants his config in his Windows profile or not. The user basically has to tell mpv what should be done, and the "portable_config" directory does this implicitly. Fixes #2042 (approximately).
* manpage: document --audio-channels=auto caveatswm42015-07-251-0/+8
| | | | | | | This is an unfortunate fact of life. Maybe making this the default wasn't such a good idea after all. Also update etc/example.conf. It used an obsolete alias for "auto".
* Require contributions in LGPLv2.1+wm42015-07-241-0/+3
| | | | | | | | | | | As suggested in #2033. Additionally, change "LGPLv2+" to "LGPLv2.1+". Since this was always used with the "and later" phrase, this doesn't require any further discussion. Also clarify that the "+" means "or later". This should be clear to anyone with a brain, but you never know with copyright.
* command: add property indicating per-file optionswm42015-07-232-0/+7
| | | | Fixes #2165, more or less.
* video: don't restrict --vd-lavc-threads to a maximum of 16wm42015-07-231-3/+4
| | | | | | Only do it when the number of threads is autodetected, as more than 16 threads are still considered not recommended. (libavcodec prints a warning.)
* manpage: fix typowm42015-07-231-1/+1
|
* cache: make backbuffer size configurablewm42015-07-222-5/+14
| | | | | | | | | | Allow setting an arbitrary amount, instead of the fixed 50%. This is nto striclty backwards compatible. The defaults don't change, but the --cache/--cache-default options now set the readahead portion. So in practice, users who configured this until now will see the double amount of cache being used, _plus_ the 75MB default backbuffer will be in use.
* vo_opengl: add temporal-dither-period optionNiklas Haas2015-07-201-0/+5
| | | | | This was requested multiple times by users, and it's not hard to implement and/or maintain.
* command: add track-list/N/audio-channels propertydeuiore2015-07-182-0/+6
| | | | | | Signed-off-by: wm4 <wm4@nowhere> (With some heavy modifications from the original patch.)
* screenshot: don't write PNG colorspace tags by defaultwm42015-07-182-1/+2
| | | | | | Generates too much discussion and confusion. Fixes #2051.
* sub: add option for stretching image subtitles to screenwm42015-07-182-0/+13
| | | | | | | Probably makes users happy who want bitmap subtitles to show up in the screen margins, and stops them from doing idiotic crap with vf_expand. Fixes #2098.
* manpage: fix typowm42015-07-131-1/+1
| | | | The (...) was closed, but never opened.
* player: extend --hls-bitrate optionwm42015-07-131-1/+4
| | | | Fixes #2116.
* player: use exit code 0 by default for quit, 4 for signals, etc.Philip Sequeira2015-07-111-1/+2
| | | | | | Default key bindings in encoding mode also use code 4, because scripts will probably want to fail if encoding is aborted (leaving an incomplete file).
* vo_opengl: reimplement tscale=oversampleNiklas Haas2015-07-111-1/+1
| | | | Closes #2102.
* vf_vdpaurb: Add a new filter for reading back vdpau decoded framesPhilip Langdale2015-07-111-0/+7
| | | | | | | | | | | | | | | | | 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>
* player: parse and expose m3u playlist titleswm42015-07-102-0/+7
| | | | Requested. Closes #2100.
* video: add a way to disable automatic stereo conversionwm42015-07-102-3/+4
| | | | Fixes #2111.
* demux_mkv: improve video duration detection heuristicwm42015-07-091-1/+6
| | | | | | | | | | | Extend the --demuxer-mkv-probe-video-duration behavior to work with files that are partial and are missing an index. Do this by finding a cluster 10MB before the end of the file, and if that fails, just read the entire file. This is actually pretty trivial to do and requires only 5 lines of code. Also add a mode that always reads the entire file to estimate the video duration.
* stream_file: add fd:// protocolwm42015-07-091-0/+5
|
* player: disable seeking even if the cache is enabledwm42015-07-082-0/+6
| | | | | | | | | | | | | | Until now, if a stream wasn't seekable, but the stream cache was enabled (--cache), we've enabled seeking anyway. The idea was that at least short seeks would typically fall within the cache. And if not, the user was out of luck and terrible things happened. In other words, it was unreliable. Be stricter about it and remove this behavior. Effectively, this will for example disable seeking in piped data. Instead of trying to be clever, add an --force-seekable option, which will always enable seeking if the user really wants it.
* vf_vdpaupp: don't attempt to deinterlace progressive frameswm42015-07-082-1/+5
|
* vf_vavpp: don't attempt to deinterlace progressive frameswm42015-07-082-0/+5
|
* command: make deinterlace property use interlaced-only yadif modewm42015-07-071-1/+2
|
* vf_yadif: expose interlaced frame modewm42015-07-071-5/+4
| | | | | Also remove the enabled suboption, which did nothing. (It was probably broken at some point.)
* vo_opengl_cb, vo_opengl: add option for preloading hwdec contextwm42015-07-072-0/+17
| | | | | | | | See manpage additions. This is mainly useful for vo_opengl_cb, but can also be applied to vo_opengl. On a side note, gl_hwdec_load_api() should stop using a name string, and instead always use the IDs. This should be cleaned up another time.
* ipc: add request_id to jsonPreston Hunt2015-07-031-0/+18
| | | | | | | | | | | | If the request contains a "request_id", copy it back into the response. There is no interpretation of the request_id value by mpv; the only purpose is to make it easier on the requester by providing an ability to match up responses with requests. Because the IPC mechanism sends events continously, it's possible for the response to a request to arrive several events after the request was made. This can make it very difficult on the requester to determine which response goes to which request.
* manpage: fix dwmflush parameterwm42015-07-031-1/+2
|
* ao_coreaudio: add exclusive suboptionwm42015-07-032-0/+6
|
* ao_coreaudio_exclusive: support PCMwm42015-07-031-2/+0
| | | | | | | | | | | | | | | | | | Until now, this was for AC3 only. For PCM, we used AudioUnit in ao_coreaudio, and the only reason ao_coreaudio_exclusive exists is that there is no other way to passthrough AC3. PCM support is actually rather simple. The most complicated issue is that modern OS X versions actually do not support copying through the data; instead everything must go through float. So we have to deal with virtual and physical format being different, which causes some complications. This possibly also doesn't support some other things correctly. For one, if the device allows non-interleaved output only, we will probably fail. (I couldn't test it, so I don't even know what is required. Supporting it would probably be rather simple, and we already do it with AudioUnit.)
* client API, dxva2: add a workaround for OpenGL fullscreen issueswm42015-07-031-0/+2
| | | | | | | | | This is basically a hack for drivers which prevent the mpv DXVA2 decoder glue from working if OpenGL is in fullscreen mode. Since it doesn't add any "hard" new API to the client API, some of the code would be required for a true zero-copy hw decoding pipeline, and sine it isn't too much code after all, this is probably acceptable.
* vo_opengl: adjust interpolation code for the new video-sync mechanismNiklas Haas2015-07-011-5/+4
| | | | | | | | | | | | | This should make interpolation work much better in general, although there still might be some side effects for unusual framerates (eg. 35 Hz or 48 Hz). Most of the common framerates are tested and working fine. (24 Hz, 30 Hz, 60 Hz) The new code doesn't have support for oversample yet, so it's been removed (and will most likely be reimplemented in a cleaner way if there's enough demand). I would recommend using something like robidoux or mitchell instead of oversample, though - they're much smoother for the common cases.
* manpage: fix copy&paste mistakeswm42015-06-301-22/+20
| | | | | | | These are definitely not per-track. (Maybe we should just provide a script or such which pretty-prints "native" property output.
* DOCS/man: fix some grammar errorsDaniel Bergmann2015-06-293-4/+4
| | | | Signed-off-by: wm4 <wm4@nowhere>
* DOCS: fix recent typoswm42015-06-282-2/+2
| | | | Pointed out by a certain wiiaboo.
* demux: export forced flagwm42015-06-272-0/+6
| | | | | | At least Matroska files have a "forced" flag (in addition to the "default" flag). Export this flag. Treat it almost like the default flag, but with slightly higher priority.
* subprocess, lua: export whether the process was killed by uswm42015-06-271-0/+4
| | | | | | | | We want to distinguish actual errors, and just aborting the program intentionally. Also be a bit more careful with handling the wait() exit status: do not called WEXITSTATUS() without checking WIFEXITED() first.
* Disable DVD and BD menu support (to be removed)wm42015-06-262-7/+3
| | | | | | | | | | | | | | | | | | DVD/BD menu support never worked right, and are a pain to maintain. In particular, DVD menus never actually worked correctly, because highlights were not rendered correctly. Fixing this requires major effort, which I'm not interested to spend. Most importantly, the requirement to switch streams without losing the DVD/BD state caused major weirdness in the playback core. It was implemented by somehow syncing the playback state to the DVD/BD implementation (in stream_dvdnav.c etc.), and then reloading the demuxer without destroying and recreating the stream. This caused a bunch of special-cases which I'm looking forward to remove. For now, don't just remove everything related to menu support and just disable it. If someone volunteers, it can be restored (i.e. rewritten) in a reasonable way. If nobody volunteers soon, it goes.
* DOCS/mplayer-changes: Add removal of X11 vorrooij2015-06-261-0/+2
| | | | | | The X11 video output was removed recently and is a difference from mplayer. That's why it should be documented in the mplayer-changes document.
* vo_x11: remove this video outputwm42015-06-261-6/+0
| | | | | | | It only causes additional maintenance work. Even if you wanted to have a fallback, it's probably better to use --vo=sdl or so.
* audio: output human-readable channel layouts toowm42015-06-252-0/+7
| | | | | This gets you the "logical" channel layout, instead of the exact thing we're sending to the AO. (Tired of the cryptic shit ALSA gives me.)
* DOCS: document some recent interface additionswm42015-06-241-0/+2
|
* manpage: Fix typo. oacopts -> ovcoptsc_142015-06-231-1/+1
|
* manpage: minor fixeswm42015-06-231-1/+2
|
* command: export stereo 3D tagswm42015-06-231-0/+3
| | | | Fixes #2066.
* af_volume: add a replaygain fallback optionwm42015-06-231-0/+4
|
* client API: allow using msg-level option for log messageswm42015-06-201-0/+1
| | | | | | | | | | | | | | | | Client API users can enable log output with mpv_request_log_messages(). But you can enable only a single log level. This is normally enough, but the --msg-level option (which controls the terminal log level) provides more flexibility. Due to internal complexity, it would be hard to provide the same flexibility for each client API handle. But there's a simple way to achieve basically the same thing: add an option that sends log messages to the API handle, which would also be printed to the terminal as by --msg-level. The only change is that we don't disable this logic if the terminal is disabled. Instead we check for this before the message is output, which in theory can lower performance if messages are being spammed. It could be handled with some more effort, but the gain would be negligible.
* osc: time display configuration optionsTeoh Han Hui2015-06-191-0/+8
| | | | Total time and ms
* Various spelling fixesMarcin Kurczewski2015-06-184-6/+6
| | | | Signed-off-by: wm4 <wm4@nowhere>
* DOCS/compile-windows.md: fix Lua packagewm42015-06-181-1/+1
| | | | | mingw-w64-x86_64-lua maps to Lua 5.3, which we do not support. Change it to mingw-w64-x86_64-lua51.
* DOCS/manpage: fix typosrrooij2015-06-176-12/+12
| | | | | | | Fix some errors in the man pages by spell checking them. Most of them were typos. Signed-off-by: wm4 <wm4@nowhere>
* af_convert24: remove this filterwm42015-06-161-7/+0
|
* DOCS/compile-windows.md: drop unused dependencywm42015-06-161-1/+1
|
* lua: support MPV_END_FILE_REASON_REDIRECTwm42015-06-111-0/+10
| | | | And also add the missing "unknown" entry to the manpage.
* client API: add MPV_END_FILE_REASON_REDIRECTwm42015-06-111-0/+3
| | | | | Requested. Minor incompatible behavior change, as it was signalling MPV_END_FILE_REASON_EOF previously.
* lua: export end-file event fieldswm42015-06-111-0/+17
|
* command: add keypress, keydown, and keyup commands.torque2015-06-112-0/+18
| | | | | These commands are used to simulate keypresses using the key names from input.conf.
* player: use 4 as process exit code on user quitswm42015-06-101-0/+1
| | | | | | | | | | | | | So successful playback and user quit can be distinguished, for whatever reason you may want to do this. Normally, the "quit" command can be customized, but this does not work for quit commands sent by the terminal signal handler. One solution would be introducing something like "ON_SIGNAL" (equivalent to "CLOSE_WIN"), but considering there are a bunch of possible signals, I'd rather not get into this. So go with the dumb solution. Probably fixes #2029.
* audio: add --audio-spdif as new method for enabling passthroughwm42015-06-052-9/+30
| | | | | | | | | | | | | This provides a new method for enabling spdif passthrough. The old method via --ad (--ad=spdif:ac3 etc.) is deprecated. The deprecated method will probably stop working at some point. This also supports PCM fallback. One caveat is that it will lose at least 1 audio packet in doing so. (I don't care enough to prevent this.) (This is named after the old S/PDIF connector, because it uses the same underlying technology as far as the higher level protoco is concerned. Also, the user should be renamed that passthrough is backwards.)
* inpout.conf: make shift+o toggle between 2 states onlywm42015-06-031-1/+1
| | | | | | | | | | | | | The "osd" command cycles between 4 states (OSD level 0-3), which is probably confusing and inconvenient. OSD levels 0 and 2 are rarely needed. I would claim there is normally not much of a need to completely disable OSD by setting level 0 during playback. Level 2 is just slightly less information than level 3, and I'm not sure why it exists at all. Change it so that it toggles between level 3 and 1. Note that this ignores the default OSD level. If the default is 3, the first use of this key will set it to 3 again. Just assume 1 is the default. If someone complains, this could be improved.
* lua: fix options submodulewm42015-05-291-1/+1
| | | | | | | | | It polluted the global namespace, instead of exporting the function properly. For now, keep it compatible by explicitly keeping the bogus export. Also fix a mistake in the manpage example.
* vo_drm: Expose mode ID option to usersMarcin Kurczewski2015-05-281-0/+4
|
* command: remove deprecated get_property commandwm42015-05-272-1/+2
| | | | | | This command has been deprecated in the 0.8.x and 0.9.x releases - get rid of it. Its only point ever was MPlayer compatibility, which broke years ago anyway.
* options: remove --slave-brokenwm42015-05-273-22/+4
| | | | It has been deprecated for ages.
* DOCS: fix wrong libmpv's cocoa example commentStefano Pigozzi2015-05-271-4/+2
| | | | | libmpv can be embedded in a cocoa view (without the mpv window). This has been the case for serveral months, and the comment is just wrong now.
* DOCS: interface-changes: mention recent vo_opengl additionswm42015-05-271-0/+2
|
* vo_opengl: CMS no longer implies linear scalingNiklas Haas2015-05-271-10/+6
| | | | | | | | | | | They're completely orthogonal concepts, merged in the past due to convenience and ease of implementing it in the old #ifdef hell renderer. Especially after the CMS stuff was generalized by 634b4a, this was a trivial change to implement and also means color management will be much higher quality when enabled with vo=opengl (which had quantization issues in the past due to the 8 bit FBO format and upscaling), since it can be done in a single pass now.
* vo_opengl: icc-profile overrides icc-profile-autoNiklas Haas2015-05-271-2/+2
| | | | Signed-off-by: wm4 <wm4@nowhere>
* vo_opengl: add support for custom shadersNiklas Haas2015-05-271-2/+70
|
* input: allow - as separator between commands, instead of _wm42015-05-251-40/+40
| | | | | | | | | | Wnile it seems quite logical to me that commands use _ as word separator, while properties use -, I can't really explain the difference, and it tends to confuse users as well. So always prefer - as separator for everything. Using _ still works, and will probably forever. Not doing so would probably create too much chaos and confusion.
* command: change the hwdec propertieswm42015-05-252-19/+28
| | | | | | Another very minor step towards property/option unification. Not bothering with interface compatibility here.
* vf_dlopen: declare as deprecatedwm42015-05-251-0/+2
| | | | |