aboutsummaryrefslogtreecommitdiffhomepage
path: root/etc
Commit message (Collapse)AuthorAge
* manpage: update config file locationsGravatar wm42014-06-28
| | | | Also add some explanations how the config paths are determined.
* input: readd some TV default key bindingsGravatar wm42014-06-25
| | | | Requested by a user. Closes #878.
* DOCS: remove en/ sub-directoryGravatar wm42014-06-20
| | | | | This additional sub-directory doesn't serve any purpose anymore. Get rid of it.
* input.conf: make ESC quit when encodingGravatar wm42014-06-13
|
* command: redo ancient TV/DVB/PVR commandsGravatar wm42014-06-11
| | | | | | | | | | | | | | | | | | Convert all these commands to properties. (Except tv_last_channel, not sure what to do with this.) Also, internally, don't access stream details directly, but dispatch commands with stream ctrls. Many of the new properties are a bit strange, because they're write- only. Also remove some OSD output these commands produced, because I couldn't be bothered to port these. In general, this makes everything much cleaner, and will also make it easier to e.g. move the demuxer to its own thread. Don't bother updating input.conf, but changes.rst documents how old commands map to the new ones. Mostly untested, due to lack of hardware.
* etc/input.conf: add example how to change window size by key bindingGravatar wm42014-05-18
| | | | Also drop a vague hint how to do it in the manpage.
* etc/example.conf: add example options for multichannel audioGravatar wm42014-05-16
|
* etc/example.conf: minor adjustmentsGravatar wm42014-05-16
|
* etc/example.conf: remove spaces between key and valueGravatar wm42014-05-16
| | | | | Currently, they are allowed, but only because MPlayer happened to do that. This might or might not be changed in the future.
* options: rename audio-related options/propertiesGravatar Martin Herkt2014-05-04
| | | | | | | | | | | | | Renamed options: --audiofile → --audio-file --audiofile-cache → --audio-file-cache --channels → --audio-channels --format → --audio-format --srate → --audio-samplerate Renamed properties: samplerate → audio-samplerate channels → audio-channels
* options: rename subtitle-related optionsGravatar Martin Herkt2014-05-04
| | | | | | | | | --ass → --sub-ass --autosub → --sub-auto --autosub-match → --sub-auto-match --sub → --sub-file --subcp → --sub-codepage --subfps → --sub-fps
* 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.
* input: close window when window close button is pressed with --input-testGravatar wm42014-04-18
| | | | | | | | | | | The window close button is usually mapped to the CLOSE_WIN pseudo-key. Until now, --input-test treated this pseudo-key like any other key (like the rest of the input handling code), so you couldn't close the window in this mode. The manpage had silly instructions and warnings how to deal with this. Just always quit when CLOSE_WIN is received, and improve the instructions.
* player: rename dvdnav to discnavGravatar xylosper2014-03-30
| | | | | Now, navigation works both of DVD and non-BD-J Blu-ray. Therefore, rename all 'dvdnav' strings which are not DVD specific to 'discnav'
* mpv.desktop: add video/mp2t mime typeGravatar wm42014-03-09
| | | | Closes #625.
* input: allow input.conf bindings to be declared as builtinGravatar wm42014-02-25
| | | | | | This might be helpful if we ever want cascading config files. Also, we will probably need it if we change the default input.conf bindings, and want to provide compatibility input.conf files.
* example.conf: change subtitle codepage example to use UTF-8 fallbackGravatar wm42014-02-23
| | | | This should be pretty safe compared to forcing the codepage.
* example.conf: subtitle encodingGravatar Yaser Alraddadi2014-02-23
| | | | | | Signed-off-by: wm4 <wm4@nowhere> Closes #580.
* mpv.desktop: add some more mimetypesGravatar wm42014-01-18
| | | | | | Again from github issue #484. Also, sorry for the typo in the earlier commit message.
* mkv.desktop: add two more mime typesGravatar wm42014-01-18
| | | | Stolen from github issue #484. No idea whether they're needed.
* mpv.desktop: use %U in desktop file as we can open urlsGravatar Tomáš Chvátal2014-01-16
| | | | Signed-off-by: wm4 <wm4@nowhere>
* mpv.desktop: Add Czech translationsGravatar Miro Hrončok2014-01-01
|
* Install encoding-profiles.conf by defaultGravatar wm42013-12-28
| | | | | | | | | | | | This is probably useful. Note that this includes a small, stupid hack to prevent loading of the config file if vf_lavfi is not available. The profile by default uses vf_lavfi, and the config parser will output errors if vf_lavfi is not available. As another caveat, we install the example profile even if encoding is disabled (though we don't load it, since this would print errors).
* mpv.desktop: add KDE file handlersGravatar Sven-Hendrik Haase2013-12-26
| | | | | | | | | | Currently KDE will copy a media file into a temporary folder instead of trying to stream it if a KIO slave location file is started. This change will tell KDE to make mpv try to directly play the file. Perhaps the proper flags should be added according to the individual enabled features of the build but I suggest that be for the future. Signed-off-by: wm4 <wm4@nowhere>
* dvdnav: support mouse interactionGravatar wm42013-12-13
|
* Add prelimimary (basic, possibly broken) dvdnav supportGravatar wm42013-12-12
| | | | | | | | | | | | | | | | | | | | | | | | | This readds a more or less completely new dvdnav implementation, though it's based on the code from before commit 41fbcee. Note that this is rather basic, and might be broken or not quite usable in many cases. Most importantly, navigation highlights are not correctly implemented. This would require changes in the FFmpeg dvdsub decoder (to apply a different internal CLUT), so supporting it is not really possible right now. And in fact, I don't think I ever want to support it, because it's a very small gain for a lot of work. Instead, mpv will display fake highlights, which are an approximate bounding box around the real highlights. Some things like mouse input or switching audio/subtitles stream using the dvdnav VM are not supported. Might be quite fragile on transitions: if dvdnav initiates a transition, and doesn't give us enough mpeg data to initialize video playback, the player will just quit. This is added only because some users seem to want it. I don't intend to make mpv a good DVD player, so the very basic minimum will have to do. How about you just convert your DVD to proper video files?
* input.conf: fix typoGravatar wm42013-11-22
|
* encoding-example-profiles: support setsar in FFmpeg-gitGravatar Rudolf Polzer2013-11-07
|
* input.conf: clarify the magic how default key bindings are addedGravatar wm42013-11-06
| | | | This is a confusing mechanism, so the explanation should bit more clear.
* command: replace speed_mult with multiply commandGravatar wm42013-10-31
| | | | The compatibility layer still takes care of the old speed_mult command.
* encoding-example-configs: add more comments regarding the scaling methodGravatar Rudolf Polzer2013-10-31
|
* Fix style of the HP Slate 7 vf-add line.Gravatar Rudolf Polzer2013-10-30
|
* encoding-example-profiles: support HP Slate 7's weird aspect.Gravatar Rudolf Polzer2013-10-30
| | | | Also, replace broken noup= by lavfi expressions.
* mpv.desktop: add russian translation, sortGravatar Nikoli2013-10-18
|
* example.conf: add example for disabling the OSCGravatar wm42013-10-14
|
* mpv.desktop: add --force-windowGravatar wm42013-10-02
| | | | Seems appropriate.
* Add mpv.desktop, let Makefile install the desktop file and the iconsGravatar wm42013-09-15
| | | | | | | | | | | | | | | | | | | The mpv.desktop file is taken from the Arch package [1]. It appears to be based on the mplayer2 git mplayer.desktop file (e.g. very similar MimeType field), with minor modifications applied by Arch package maintainers. Note that for now, this doesn't show a terminal (Terminal=false), which might not always be ideal. For example, if the file is audio only, or if VO initialization fails for some reason, mpv will run in the background and play audio without showing a window. But users prefer running it without terminal, and don't want to play audio files with it. Maybe a --force-window option will be added in the future, which would always create a VO window, and compensate for these issues. [1] https://aur.archlinux.org/packages/mpv-git/
* example.conf: some modificationsGravatar wm42013-09-07
| | | | | | Remove options which are too obscure and most likely not very useful in general, or update them to something more modern. Add some comments about how configuration files work in general.
* input: don't print warning if certain internal keys are not boundGravatar wm42013-09-06
| | | | | | | | | | | This affects MOUSE_MOVE and MOUSE_LEAVE. Both are needed internally (such as for the OSC), but not really useful for input.conf. Since the warning has the purpose of notifying the user that a key is unmapped and what key name to use for setting up a binding in input.conf, the warning is rather useless in this case. It's also annoying in combination with the --no-input-default-bindings option, since that removes the default bindings to "ignore" for these keys.
* etc: delete mplayer.xpmGravatar wm42013-09-05
| | | | I don't think we need this anymore.
* x11: add window iconGravatar wm42013-09-01
| | | | | | | | | | | | | | | | | | | | | The png file added to etc/ are taken from the link mentioned in commit 303096b, except that they have been converted to 16 bit, sRGB (with color profile info dropped, if there was one), and transparent pixels reset for better compression. The file x11_icon.bin is generated by gen-x11-icon.sh. I'm adding it to the git repo directly, because the script requires ImageMagick, and we don't want to make building even more complicated. The way how this is done is basically a compromise between effort required in x11_common.c and in gen-x11-icon.sh. Ideally, x11_icon.bin would be directly in the format as required by _NET_WM_ICON, but trying to write the binary width/height values from shell would probably be a nightmare, so here we go. The zlib code in x11_common.c is lifted from demux_mkv.c, with some modifications (like accepting a gzip header, because I don't know how to make gzip write raw compressed data).
* osx: use MP_KEY_* instead of MK_* for media keysGravatar Stefano Pigozzi2013-09-01
| | | | | In 213ad5d6c I added `MK_*` key bindings overlooking the fact that mpv already has `MP_KEY_*` for media keys.
* input: comment all default bindings in input.confGravatar wm42013-09-01
| | | | | | | | | | | | | | I suspect most users will just copy etc/input.conf when they want to remap some default bindings. But usually this means the user even copies bindings he doesn't care about, and it's better if the user maps only the bindings in his input.conf the user intends to remap. Comment all bindings in etc/input.conf. Since this file also defines the builtin defaults and is baked into the mpv binary, we have to do something to get them anyway, even though they are commented. Do this by having input.c "uncomment" the bindings in the baked in input.conf. (Of course this is done only for the builtin config, not configs loaded from disk.)
* change application iconGravatar Stefano Pigozzi2013-09-01
| | | | | | | | | | | | | | | | | | | | | | | | | I would like to thank Chris Ward (@tenzerothree, http://tenzerothree.com/) for working on the art for these icons and bringing some eye candy to the project. The PSDs made by Chris are available on our Dropbox [1], along with the exports I made to create OSX and Windows icons. The PSDs are almost completly vector and all the resolutions look really similar, except the 16px favicon which was handcrafted to look better and more recognizeable on the smaller pixel budget. For Mac OS X the icons were created using iconutils on the PNGs iconsets exported from the PSDs. These even support retina resolutions (except 512@2x). For Windows the .ico file was created with imagemagick. The included images are 16px, 24px, 32px, 48px 64px, 256px. These are the resolutions listed on MSDN for supporting Windows XP [2] and Windows versions based on Aero [3]. Only 32bit PNGs were used since it is 2013. For Linux nothing changed yet, even though @wm4 talked about using the PNGs directly there. This will probably be dealt with in a later commit. [1]: https://www.dropbox.com/sh/yelfoj9tbft7o06/A8vOT6JKaG [2]: http://msdn.microsoft.com/en-us/library/ms997636.aspx [3]: http://msdn.microsoft.com/en-us/library/aa511280.aspx
* input.conf: bind AXIS_(LEFT|RIGHT) to seek 5Gravatar Stefano Pigozzi2013-08-13
| | | | Binding them to volume was a bad default, so change it.
* video: redo hw decoding initialization, add --hwdec=autoGravatar wm42013-08-11
| | | | | | | | | | | | | | | | Change how the HW decoding stuff is organized, the way it's initialized in particular. Instead of duplicating the list of supported codecs for hwaccel decoders, add a probe function which allows each decoder to report whether it supports a given codec. Add an "auto" choice to the --hwdec option, which automatically enables hardware decoding if libavcodec and/or the VO supports it. What mpv prints on the terminal changes a bit. Now it will just print a single line whether hw decoding is used or not (and nothing at all if no hw decoding at all was requested). The pretty violent fallback from hw decoding to software decoding is still quite verbose and evil-looking though.
* input.conf: better documentation and sane defaultsGravatar Alexander Preisinger2013-08-07
| | | | | Uses the same defaults as BTN3/4/5/6 which are hardcoded by most backends for the mouse wheel.
* input: add support for precise scroll axesGravatar Alexander Preisinger2013-08-07
| | | | | | | | | | | | | | | Support horizontal and vertical axes of input devices. If the input device support precise scrolling with an input value then it should first be scaled to a standard multiplier, where 1.0 is the default. The multiplier will then applied to the following commands if possible: * MP_CMD_SEEK * MP_CMD_SPEED_MULT * MP_CMD_ADD All other commands will triggered on every axis event, without change the values specified in the config file.
* encoding-example-profiles: get rid of the N900 anti upscale hack.Gravatar Rudolf Polzer2013-08-02
| | | | | | This slightly increases file size due to needless downscaling on the device due to aspect correction, but keeps quality as is and prevents encoding errors caused by odd height/width.
* mpv.rc: update Windows iconGravatar James Ross-Gowan2013-07-30
| | | | Based on the OSX bundle icon.