- #Mpv media player operating systems driver
- #Mpv media player operating systems software
- #Mpv media player operating systems tv
Even suboptions can be specified in this way. Options that work without values can be enabled by setting them to yes and disabled by setting them to no. The syntax of the configuration files is option= everything after a # is considered a comment. User-specific options override system-wide options and options given on the command line override either. The system-wide configuration file 'mpv.conf' is in your configuration directory ( /etc/mpv), the user-specific one is ~/.config/mpv/mpv.conf. You can put all of the options in configuration files which will be read every time mpv is run. If option -c is changed during playback of file2.mkv, it is reset when advancing to file3.mkv. This can be achieved by adding the special per-file markers - file4.mkv -fĪdditionally, any file-local option changed at runtime is reset when the current file stops playing. Sometimes, it is useful to change options per-file. (This is different from MPlayer and mplayer2.)Īlso, if any option is changed at runtime (via input commands), they are not reset when a new file is played. Example: mpv -a file1.mkv -b file2.mkv -c When playing multiple files, any option given on the command line usually affects all files. (The trailing / is always required.) Per-File Options Currently, the prefix ~~/ expands to the mpv configuration directory (usually ~/.config/mpv/). Some mpv options interpret paths starting with ~. To work this around, the path can be additionally wrapped in the %n%string_of_length_n syntax (see above). (Which makes it suitable for playing data piped to stdin.)įor paths passed to suboptions, the situation is further complicated by the need to escape special characters. The name - itself is interpreted as stdin, and will cause mpv to disable console controls. To avoid problems with arbitrary paths, you should be sure that absolute paths passed to mpv start with /, and relative paths with. Likewise, if a path contains the sequence ://, the string before that might be interpreted as protocol prefix, even though :// can be part of a legal UNIX path. For example, paths starting with - will be interpreted as options. Some care must be taken when passing arbitrary paths and filenames to mpv. Mpv -ao=pcm:file=%\(gaexpr length "$NAME"\(ga%"$NAME" test.avi Paths It has the following format: %n%string_of_length_n NOTE: The suboption parser (used for example for -ao=pcm suboptions) supports a special kind of string-escaping intended for use with external GUIs. If an option is marked as (XXX only), it will only work in combination with the XXX option or if XXX is compiled in. fs=yes is same as -fs, -fs=no is the same as -no-fs. the opposite of the -fs option is -no-fs. Mouse ControlĮvery flag option has a no-flag counterpart, e.g.
#Mpv media player operating systems tv
(The following keys are only valid if you compiled with TV or DVB input support.) (The following keys are valid if you have a keyboard with multimedia keys.) Resize video window to double its original size. Resize video window to its original size. (On other platforms, you can bind keys to change the window-scale property.) Resize video window to half its original size. (The following keys are valid only on OS X.)
#Mpv media player operating systems software
(The following keys are valid only when using a video output that supports the corresponding adjustment, or the software equalizer ( -vf=eq).) (This used to be mapped to PGUP/PGDWN without Shift.) In most cases, "previous" will actually go to the beginning of the current chapter see -chapter-seek-threshold. Seek to the beginning of the previous/next chapter.
#Mpv media player operating systems driver
(Whether this works depends on VO driver support.) See -ass-vsfilter-aspect-compat for more info. Toggle subtitle VSFilter aspect compatibility mode. Toggle frame dropping states: none / skip display / skip decoding (see -framedrop).Īdjust subtitle delay by +/- 0.1 seconds. Toggle OSD states: none / seek / seek + timer / seek + timer + total time. Show progression bar, elapsed time and total duration on the OSD. Playing the same file later will resume at the old playback position if possible.Ĭycle through the available video tracks.Ĭycle through the available audio tracks. Like q, but store the current playback position. Pressing once will pause, every consecutive press will play one frame in reverse and then go into pause mode again. Pressing once will pause, every consecutive press will play one frame and then go into pause mode again. Go forward in the playlist, even over the end. Shift+arrow does a 5 second exact seek (see -hr-seek).ĭecrease/increase current playback speed by 10%. Shift+arrow does a 1 second exact seek (see -hr-seek). See the -input- options for ways to customize it. Mpv has a fully configurable, command-driven control layer which allows you to control mpv using keyboard, mouse, joystick or remote control (with LIRC).