2012-10-11 00:04:08 +00:00
|
|
|
# mpv input control file
|
2012-01-17 01:49:27 +00:00
|
|
|
#
|
|
|
|
# You are able to redefine default keyboard/joystick/mouse/LIRC bindings, or
|
|
|
|
# add new ones here.
|
2012-10-13 19:10:20 +00:00
|
|
|
# See DOCS/man/en/input.rst for possible commands that can be bound.
|
options: drop --opt:subopt option names
For all suboptions, "flat" options were available by separating the
parent option and the sub option with ":", e.g. "--rawvideo:w=123". Drop
this syntax and use "-" as separator. This means even suboptions are
available as normal options now, e.g. "--rawvideo-w=123". The old syntax
doesn't work anymore.
Note that this is completely separate from actual suboptions. For
example, "-rawvideo w=123:h=123" still works. (Not that this syntax is
worth supporting, but it's needed anyway, for for other things like vf
and vo suboptions.)
As a consequence of this change, we also have to add new "no-" prefixed
options for flag suboptions, so that "--no-input-default-bindings"
works. ("--input-no-default-bindings" also works as a consequence of
allowing "-input no-default-bindings" - they are handled by the same
underlying option.)
For --input, always use the full syntax in the manpage. There exist
suboptions other than --input (like --tv, --rawvideo, etc.), but since
they might be handled differently in the future, don't touch these yet.
M_OPT_PREFIXED becomes the default, so remove it. As a minor unrelated
cleanup, get rid of M_OPT_MERGE too and use the OPT_SUBSTRUCT() macro in
some places.
Unrelated: remove the duplicated --tv:buffersize option, fix a typo in
changes.rst.
2013-02-21 21:10:21 +00:00
|
|
|
# Also see mpv --input-cmdlist for other possible options.
|
2012-10-11 00:04:08 +00:00
|
|
|
# The file should be placed in the $HOME/.mpv directory.
|
2012-01-17 01:49:27 +00:00
|
|
|
#
|
options: drop --opt:subopt option names
For all suboptions, "flat" options were available by separating the
parent option and the sub option with ":", e.g. "--rawvideo:w=123". Drop
this syntax and use "-" as separator. This means even suboptions are
available as normal options now, e.g. "--rawvideo-w=123". The old syntax
doesn't work anymore.
Note that this is completely separate from actual suboptions. For
example, "-rawvideo w=123:h=123" still works. (Not that this syntax is
worth supporting, but it's needed anyway, for for other things like vf
and vo suboptions.)
As a consequence of this change, we also have to add new "no-" prefixed
options for flag suboptions, so that "--no-input-default-bindings"
works. ("--input-no-default-bindings" also works as a consequence of
allowing "-input no-default-bindings" - they are handled by the same
underlying option.)
For --input, always use the full syntax in the manpage. There exist
suboptions other than --input (like --tv, --rawvideo, etc.), but since
they might be handled differently in the future, don't touch these yet.
M_OPT_PREFIXED becomes the default, so remove it. As a minor unrelated
cleanup, get rid of M_OPT_MERGE too and use the OPT_SUBSTRUCT() macro in
some places.
Unrelated: remove the duplicated --tv:buffersize option, fix a typo in
changes.rst.
2013-02-21 21:10:21 +00:00
|
|
|
# mpv --input-test --pause dummy.mkv can be used to test which commands keys are
|
2012-10-13 19:10:20 +00:00
|
|
|
# bound to.
|
|
|
|
#
|
2012-01-17 01:49:27 +00:00
|
|
|
# If you wish to unbind a key, use key ignore.
|
|
|
|
# e.g. ENTER ignore
|
|
|
|
#
|
|
|
|
# Note that merely removing default key bindings from this file won't remove
|
2012-10-11 00:04:08 +00:00
|
|
|
# the default bindings mpv was compiled with, unless
|
options: drop --opt:subopt option names
For all suboptions, "flat" options were available by separating the
parent option and the sub option with ":", e.g. "--rawvideo:w=123". Drop
this syntax and use "-" as separator. This means even suboptions are
available as normal options now, e.g. "--rawvideo-w=123". The old syntax
doesn't work anymore.
Note that this is completely separate from actual suboptions. For
example, "-rawvideo w=123:h=123" still works. (Not that this syntax is
worth supporting, but it's needed anyway, for for other things like vf
and vo suboptions.)
As a consequence of this change, we also have to add new "no-" prefixed
options for flag suboptions, so that "--no-input-default-bindings"
works. ("--input-no-default-bindings" also works as a consequence of
allowing "-input no-default-bindings" - they are handled by the same
underlying option.)
For --input, always use the full syntax in the manpage. There exist
suboptions other than --input (like --tv, --rawvideo, etc.), but since
they might be handled differently in the future, don't touch these yet.
M_OPT_PREFIXED becomes the default, so remove it. As a minor unrelated
cleanup, get rid of M_OPT_MERGE too and use the OPT_SUBSTRUCT() macro in
some places.
Unrelated: remove the duplicated --tv:buffersize option, fix a typo in
changes.rst.
2013-02-21 21:10:21 +00:00
|
|
|
# --no-input-default-bindings
|
2012-01-17 01:49:27 +00:00
|
|
|
# is specified.
|
|
|
|
#
|
|
|
|
# Lines starting with # are comments. Use SHARP to assign the # key.
|
|
|
|
#
|
2012-09-22 12:54:57 +00:00
|
|
|
# Strings need to be quoted and escaped:
|
|
|
|
# KEY show_text "This is a single backslash: \\ and a quote: \" !"
|
2012-01-17 01:49:27 +00:00
|
|
|
#
|
|
|
|
# You can use modifier-key combinations like Shift+Left or Ctrl+Alt+x with
|
|
|
|
# modifiers Shift, Ctrl, Alt and Meta, but note that currently reading
|
2012-04-06 21:14:21 +00:00
|
|
|
# key combinations is only supported through the video windows of certain
|
2012-01-17 01:49:27 +00:00
|
|
|
# output drivers (not in output windows of other drivers or in a terminal).
|
2002-03-01 21:55:26 +00:00
|
|
|
|
2013-03-13 23:10:15 +00:00
|
|
|
MOUSE_BTN0 ignore # don't do anything
|
2012-09-22 04:15:36 +00:00
|
|
|
MOUSE_BTN0_DBL cycle fullscreen # toggle fullscreen on/off
|
|
|
|
MOUSE_BTN2 cycle pause # toggle pause on/off
|
2012-01-17 01:49:27 +00:00
|
|
|
MOUSE_BTN3 seek 10
|
|
|
|
MOUSE_BTN4 seek -10
|
2012-09-22 04:15:36 +00:00
|
|
|
MOUSE_BTN5 add volume 1
|
|
|
|
MOUSE_BTN6 add volume -1
|
2012-01-17 01:49:27 +00:00
|
|
|
|
|
|
|
# Seek units are in seconds, but note that these are limited by keyframes
|
|
|
|
RIGHT seek 10
|
|
|
|
LEFT seek -10
|
|
|
|
UP seek 60
|
|
|
|
DOWN seek -60
|
2010-12-19 11:34:06 +00:00
|
|
|
# Do smaller, always exact (non-keyframe-limited), seeks with shift.
|
2012-09-25 01:25:44 +00:00
|
|
|
# Don't show them on the OSD (no-osd).
|
|
|
|
Shift+RIGHT no-osd seek 1 - exact
|
|
|
|
Shift+LEFT no-osd seek -1 - exact
|
|
|
|
Shift+UP no-osd seek 5 - exact
|
|
|
|
Shift+DOWN no-osd seek -5 - exact
|
2002-03-01 21:55:26 +00:00
|
|
|
PGUP seek 600
|
|
|
|
PGDWN seek -600
|
2012-09-22 04:15:36 +00:00
|
|
|
+ add audio-delay 0.100 # this changes audio/video sync
|
|
|
|
- add audio-delay -0.100
|
2012-01-17 01:49:27 +00:00
|
|
|
[ speed_mult 0.9091 # scale playback speed
|
2004-10-20 20:07:50 +00:00
|
|
|
] speed_mult 1.1
|
|
|
|
{ speed_mult 0.5
|
|
|
|
} speed_mult 2.0
|
2012-09-14 23:48:27 +00:00
|
|
|
BS set speed 1.0 # reset speed to normal
|
2002-03-01 21:55:26 +00:00
|
|
|
q quit
|
core: add playback resume feature (manual/opt-in)
A "watch later" command is now mapped to Shift+Q. This quits the player
and stores the playback state in a config file in ~/.mpv/watch_later/.
When calling the player with the same file again, playback is resumed
at that time position.
It's also possible to make mpv save playback state always on quit with
the --save-position-on-quit option. Likewise, resuming can be disabled
with the --no-resume-playback option.
This also attempts to save some playback parameters, like fullscreen
state or track selection. This will unconditionally override config
settings and command line options (which is probably not what you would
expect, but in general nobody will really care about this). Some things
are not backed up, because that would cause various problems. Additional
subtitle files, video filters, etc. are not stored because that would be
too hard and fragile. Volume/mute state are not stored because it would
mess up if the system mixer is used, or if the system mixer was
readjusted in the meantime.
Basically, the tradeoff between perfect state restoration and
complexity/fragility makes it not worth to attempt to implement
it perfectly, even if the result is a little bit inconsistent.
2013-05-05 17:37:29 +00:00
|
|
|
Q quit_watch_later
|
2012-09-14 15:51:26 +00:00
|
|
|
q {encode} quit
|
2002-03-01 21:55:26 +00:00
|
|
|
ESC quit
|
2012-09-22 04:15:36 +00:00
|
|
|
p cycle pause # toggle pause/playback mode
|
2012-01-17 01:49:27 +00:00
|
|
|
. frame_step # advance one frame and pause
|
core: add backstep support
Allows stepping back one frame via the frame_back_step inout command,
bound to "," by default.
This uses the precise seeking facility, and a perfect frame index built
on the fly. The index is built during playback and precise seeking, and
contains (as of this commit) the last 100 displayed or skipped frames.
This index is used to find the PTS of the previous frame, which is then
used as target for a precise seek. If no PTS is found, the core attempts
to do a seek before the current frame, and skip decoded frames until the
current frame is reached; this will create a sufficient index and the
normal backstep algorithm can be applied.
This can be rather slow. The worst case for backstepping is about the
same as the worst case for precise seeking if the previous frame can be
deduced from the index. If not, the worst case will be twice as slow.
There's also some minor danger that the index is incorrect in case
framedropping is involved. For framedropping due to --framedrop, this
problem is ignored (use of --framedrop is discouraged anyway). For
framedropping during precise seeking (done to make it faster), we try
to not add frames to the index that are produced when this can happen.
I'm not sure how well that works (or if the logic is sane), and it's
sure to break with some video filters. In the worst case, backstepping
might silently skip frames if you backstep after a user-initiated
precise seek. (Precise seeks to do indexing are not affected.)
Likewise, video filters that somehow change timing of frames and do not
do this in a deterministic way (i.e. if you seek to a position, frames
with different timings are produced than when the position is reached
during normal playback) will make backstepping silently jump to the
wrong frame. Enabling/disabling filters during playback (like for
example deinterlacing) will have similar bad effects.
2013-04-24 17:31:48 +00:00
|
|
|
, frame_back_step # go back by one frame and pause
|
2012-09-22 04:15:36 +00:00
|
|
|
SPACE cycle pause
|
mplayer: turn playtree into a list, and change per-file option handling
Summary:
- There is no playtree anymore. It's reduced to a simple list.
- Options are now always global. You can still have per-file options,
but these are optional and require special syntax.
- The slave command pt_step has been removed, and playlist_next
and playlist_prev added. (See etc/input.conf changes.)
This is a user visible incompatible change, and will break slave-mode
applications.
- The pt_clear slave command is renamed to playlist_clear.
- Playtree entries could have multiple files. This is not the case
anymore, and playlist entries have always exactly one entry. Whenever
something adds more than one file (like ASX playlists or dvd:// or
dvdnav:// on the command line), all files are added as separate
playlist entries.
Note that some of the changes are quite deep and violent. Expect
regressions.
The playlist parsing code in particular is of low quality. I didn't try
to improve it, and merely spent to least effort necessary to keep it
somehow working. (Especially ASX playlist handling.)
The playtree code was complicated and bloated. It was also barely used.
Most users don't even know that mplayer manages the playlist as tree,
or how to use it. The most obscure features was probably specifying a
tree on command line (with '{' and '}' to create/close tree nodes). It
filled the player code with complexity and confused users with weird
slave commands like pt_up.
Replace the playtree with a simple flat playlist. Playlist parsers that
actually return trees are changed to append all files to the playlist
pre-order.
It used to be the responsibility of the playtree code to change per-file
config options. Now this is done by the player core, and the playlist
code is free of such details.
Options are not per-file by default anymore. This was a very obscure and
complicated feature that confused even experienced users. Consider the
following command line:
mplayer file1.mkv file2.mkv --no-audio file3.mkv
This will disable the audio for file2.mkv only, because options are
per-file by default. To make the option affect all files, you're
supposed to put it before the first file.
This is bad, because normally you don't need per-file options. They are
very rarely needed, and the only reasonable use cases I can imagine are
use of the encode backend (mplayer encode branch), or for debugging. The
normal use case is made harder, and the feature is perceived as bug.
Even worse, correct usage is hard to explain for users.
Make all options global by default. The position of an option isn't
significant anymore (except for options that compensate each other,
consider --shuffle --no-shuffle).
One other important change is that no options are reset anymore if a
new file is started. If you change settings with slave mode commands,
they will not be changed by playing a new file. (Exceptions include
settings that are too file specific, like audio/subtitle stream
selection.)
There is still some need for per-file options. Debugging and encoding
are use cases that profit from per-file options. Per-file profiles (as
well as per-protocol and per-VO/AO options) need the implementation
related mechanisms to backup and restore options when the playback file
changes.
Simplify the save-slot stuff, which is possible because there is no
hierarchical play tree anymore. Now there's a simple backup field.
Add a way to specify per-file options on command line. Example:
mplayer f1.mkv -o0 --{ -o1 f2.mkv -o2 f3.mkv --} f4.mkv -o3
will have the following options per file set:
f1.mkv, f4.mkv: -o0 -o3
f2.mkv, f3.mkv: -o0 -o3 -o1 -o2
The options --{ and --} start and end per-file options. All files inside
the { } will be affected by the options equally (similar to how global
options and multiple files are handled). When playback of a file starts,
the per-file options are set according to the command line. When
playback ends, the per-file options are restored to the values when
playback started.
2012-07-31 19:33:26 +00:00
|
|
|
> playlist_next # skip to next file
|
commands: add choice type to input commands
Allow using the choice type (as it used for command line) for arguments
of input commands. Change the magic integer arguments of some commands
(like seek) to use choices instead. The old numeric values are still
allowed (but only those which made sense before, not arbitrary
integers).
In order to do this, remove the input.c specific types (like
MP_CMD_ARG_INT) completely and specify commands using the m_option
types.
Also, add the special choice "-" to some arguments. It's supposed to
signify the default value, so arguments can be easily skipped. Maybe the
choice option should recognize this and not change the previous value,
but we'll leave this for later.
For now, leave compatibility integer values for all new choice
arguments, e.g. "0" maps to 0. We could let the choice option type do
this automatically, but we don't, because we want user input values and
internal mplayer values decoupled in general. The compatibility options
will be removed one day, too.
Also, remove optional args for strings - would require either annoying
additional code, or copying strings twice. It's not used, so remove it.
2012-09-24 19:57:43 +00:00
|
|
|
ENTER playlist_next force # skip to next file or quit
|
mplayer: turn playtree into a list, and change per-file option handling
Summary:
- There is no playtree anymore. It's reduced to a simple list.
- Options are now always global. You can still have per-file options,
but these are optional and require special syntax.
- The slave command pt_step has been removed, and playlist_next
and playlist_prev added. (See etc/input.conf changes.)
This is a user visible incompatible change, and will break slave-mode
applications.
- The pt_clear slave command is renamed to playlist_clear.
- Playtree entries could have multiple files. This is not the case
anymore, and playlist entries have always exactly one entry. Whenever
something adds more than one file (like ASX playlists or dvd:// or
dvdnav:// on the command line), all files are added as separate
playlist entries.
Note that some of the changes are quite deep and violent. Expect
regressions.
The playlist parsing code in particular is of low quality. I didn't try
to improve it, and merely spent to least effort necessary to keep it
somehow working. (Especially ASX playlist handling.)
The playtree code was complicated and bloated. It was also barely used.
Most users don't even know that mplayer manages the playlist as tree,
or how to use it. The most obscure features was probably specifying a
tree on command line (with '{' and '}' to create/close tree nodes). It
filled the player code with complexity and confused users with weird
slave commands like pt_up.
Replace the playtree with a simple flat playlist. Playlist parsers that
actually return trees are changed to append all files to the playlist
pre-order.
It used to be the responsibility of the playtree code to change per-file
config options. Now this is done by the player core, and the playlist
code is free of such details.
Options are not per-file by default anymore. This was a very obscure and
complicated feature that confused even experienced users. Consider the
following command line:
mplayer file1.mkv file2.mkv --no-audio file3.mkv
This will disable the audio for file2.mkv only, because options are
per-file by default. To make the option affect all files, you're
supposed to put it before the first file.
This is bad, because normally you don't need per-file options. They are
very rarely needed, and the only reasonable use cases I can imagine are
use of the encode backend (mplayer encode branch), or for debugging. The
normal use case is made harder, and the feature is perceived as bug.
Even worse, correct usage is hard to explain for users.
Make all options global by default. The position of an option isn't
significant anymore (except for options that compensate each other,
consider --shuffle --no-shuffle).
One other important change is that no options are reset anymore if a
new file is started. If you change settings with slave mode commands,
they will not be changed by playing a new file. (Exceptions include
settings that are too file specific, like audio/subtitle stream
selection.)
There is still some need for per-file options. Debugging and encoding
are use cases that profit from per-file options. Per-file profiles (as
well as per-protocol and per-VO/AO options) need the implementation
related mechanisms to backup and restore options when the playback file
changes.
Simplify the save-slot stuff, which is possible because there is no
hierarchical play tree anymore. Now there's a simple backup field.
Add a way to specify per-file options on command line. Example:
mplayer f1.mkv -o0 --{ -o1 f2.mkv -o2 f3.mkv --} f4.mkv -o3
will have the following options per file set:
f1.mkv, f4.mkv: -o0 -o3
f2.mkv, f3.mkv: -o0 -o3 -o1 -o2
The options --{ and --} start and end per-file options. All files inside
the { } will be affected by the options equally (similar to how global
options and multiple files are handled). When playback of a file starts,
the per-file options are set according to the command line. When
playback ends, the per-file options are restored to the values when
playback started.
2012-07-31 19:33:26 +00:00
|
|
|
< playlist_prev # skip to previous file
|
2012-01-17 01:49:27 +00:00
|
|
|
o osd # cycle through OSD mode
|
2012-09-15 00:04:57 +00:00
|
|
|
I show_text "${filename}" # display filename in osd
|
|
|
|
P show_progress
|
2012-09-22 04:15:36 +00:00
|
|
|
z add sub-delay -0.1 # subtract 100 ms delay from subs
|
|
|
|
x add sub-delay +0.1 # add
|
|
|
|
9 add volume -1
|
|
|
|
/ add volume -1
|
|
|
|
0 add volume 1
|
|
|
|
* add volume 1
|
|
|
|
( add balance -0.1 # adjust audio balance in favor of left
|
|
|
|
) add balance 0.1 # right
|
|
|
|
m cycle mute
|
|
|
|
1 add contrast -1
|
|
|
|
2 add contrast 1
|
|
|
|
3 add brightness -1
|
|
|
|
4 add brightness 1
|
2013-03-01 13:53:49 +00:00
|
|
|
5 add gamma -1
|
|
|
|
6 add gamma 1
|
2012-09-22 04:15:36 +00:00
|
|
|
7 add saturation -1
|
|
|
|
8 add saturation 1
|
|
|
|
d cycle framedrop # cycle through framedrop modes
|
2012-01-17 01:49:27 +00:00
|
|
|
# toggle deinterlacer; requires either vdpau output, -vf yadif or kerndeint
|
2012-09-22 04:15:36 +00:00
|
|
|
D cycle deinterlace
|
|
|
|
c cycle colormatrix
|
2012-01-17 01:49:27 +00:00
|
|
|
# Next 3 currently only work with --no-ass
|
2012-09-22 04:15:36 +00:00
|
|
|
r add sub-pos -1 # move subtitles up
|
|
|
|
t add sub-pos +1 # down
|
|
|
|
v cycle sub-visibility
|
2012-01-17 01:49:27 +00:00
|
|
|
# stretch SSA/ASS subtitles with anamorphic videos to match historical
|
2012-09-22 04:15:36 +00:00
|
|
|
V cycle ass-vsfilter-aspect-compat
|
|
|
|
j cycle sub # cycle through subtitles
|
2012-10-12 07:21:26 +00:00
|
|
|
J cycle sub down # ...backwards
|
2012-09-22 04:15:36 +00:00
|
|
|
F cycle sub-forced-only
|
|
|
|
SHARP cycle audio # switch audio streams
|
|
|
|
_ cycle video
|
|
|
|
TAB cycle program
|
|
|
|
T cycle ontop # toggle video window ontop of other windows
|
|
|
|
f cycle fullscreen # toggle fullscreen
|
2012-10-20 21:58:02 +00:00
|
|
|
s screenshot # take a screenshot
|
|
|
|
S screenshot video # ...without subtitles
|
|
|
|
Alt+s screenshot - each-frame # automatically screenshot every frame
|
2012-09-22 04:15:36 +00:00
|
|
|
w add panscan -0.1 # zoom out with -panscan 0 -fs
|
|
|
|
e add panscan +0.1 # in
|
2012-01-17 01:49:27 +00:00
|
|
|
POWER quit
|
2012-09-22 04:15:36 +00:00
|
|
|
MENU cycle osd
|
|
|
|
PLAY cycle pause
|
|
|
|
PAUSE cycle pause
|
|
|
|
PLAYPAUSE cycle pause
|
2012-01-17 01:49:27 +00:00
|
|
|
STOP quit
|
|
|
|
FORWARD seek 60
|
|
|
|
REWIND seek -60
|
mplayer: turn playtree into a list, and change per-file option handling
Summary:
- There is no playtree anymore. It's reduced to a simple list.
- Options are now always global. You can still have per-file options,
but these are optional and require special syntax.
- The slave command pt_step has been removed, and playlist_next
and playlist_prev added. (See etc/input.conf changes.)
This is a user visible incompatible change, and will break slave-mode
applications.
- The pt_clear slave command is renamed to playlist_clear.
- Playtree entries could have multiple files. This is not the case
anymore, and playlist entries have always exactly one entry. Whenever
something adds more than one file (like ASX playlists or dvd:// or
dvdnav:// on the command line), all files are added as separate
playlist entries.
Note that some of the changes are quite deep and violent. Expect
regressions.
The playlist parsing code in particular is of low quality. I didn't try
to improve it, and merely spent to least effort necessary to keep it
somehow working. (Especially ASX playlist handling.)
The playtree code was complicated and bloated. It was also barely used.
Most users don't even know that mplayer manages the playlist as tree,
or how to use it. The most obscure features was probably specifying a
tree on command line (with '{' and '}' to create/close tree nodes). It
filled the player code with complexity and confused users with weird
slave commands like pt_up.
Replace the playtree with a simple flat playlist. Playlist parsers that
actually return trees are changed to append all files to the playlist
pre-order.
It used to be the responsibility of the playtree code to change per-file
config options. Now this is done by the player core, and the playlist
code is free of such details.
Options are not per-file by default anymore. This was a very obscure and
complicated feature that confused even experienced users. Consider the
following command line:
mplayer file1.mkv file2.mkv --no-audio file3.mkv
This will disable the audio for file2.mkv only, because options are
per-file by default. To make the option affect all files, you're
supposed to put it before the first file.
This is bad, because normally you don't need per-file options. They are
very rarely needed, and the only reasonable use cases I can imagine are
use of the encode backend (mplayer encode branch), or for debugging. The
normal use case is made harder, and the feature is perceived as bug.
Even worse, correct usage is hard to explain for users.
Make all options global by default. The position of an option isn't
significant anymore (except for options that compensate each other,
consider --shuffle --no-shuffle).
One other important change is that no options are reset anymore if a
new file is started. If you change settings with slave mode commands,
they will not be changed by playing a new file. (Exceptions include
settings that are too file specific, like audio/subtitle stream
selection.)
There is still some need for per-file options. Debugging and encoding
are use cases that profit from per-file options. Per-file profiles (as
well as per-protocol and per-VO/AO options) need the implementation
related mechanisms to backup and restore options when the playback file
changes.
Simplify the save-slot stuff, which is possible because there is no
hierarchical play tree anymore. Now there's a simple backup field.
Add a way to specify per-file options on command line. Example:
mplayer f1.mkv -o0 --{ -o1 f2.mkv -o2 f3.mkv --} f4.mkv -o3
will have the following options per file set:
f1.mkv, f4.mkv: -o0 -o3
f2.mkv, f3.mkv: -o0 -o3 -o1 -o2
The options --{ and --} start and end per-file options. All files inside
the { } will be affected by the options equally (similar to how global
options and multiple files are handled). When playback of a file starts,
the per-file options are set according to the command line. When
playback ends, the per-file options are restored to the values when
playback started.
2012-07-31 19:33:26 +00:00
|
|
|
NEXT playlist_next
|
|
|
|
PREV playlist_prev
|
2012-09-22 04:15:36 +00:00
|
|
|
VOLUME_UP add volume 1
|
|
|
|
VOLUME_DOWN add volume -1
|
|
|
|
MUTE cycle mute
|
2012-01-17 01:49:27 +00:00
|
|
|
CLOSE_WIN quit
|
2012-09-14 15:51:26 +00:00
|
|
|
CLOSE_WIN {encode} quit
|
2012-09-22 04:15:36 +00:00
|
|
|
! add chapter -1 # skip to previous chapter
|
|
|
|
@ add chapter 1 # next
|
|
|
|
E cycle edition # next edition
|
|
|
|
A cycle angle
|
2012-01-17 01:49:27 +00:00
|
|
|
U stop
|
2002-03-01 21:55:26 +00:00
|
|
|
|
2012-01-17 01:49:27 +00:00
|
|
|
# TV
|
2002-03-01 21:55:26 +00:00
|
|
|
h tv_step_channel 1
|
2012-01-17 01:49:27 +00:00
|
|
|
k tv_step_channel -1
|
2002-03-01 21:55:26 +00:00
|
|
|
n tv_step_norm
|
2012-01-17 01:49:27 +00:00
|
|
|
u tv_step_chanlist
|
2002-03-01 21:55:26 +00:00
|
|
|
|
2012-01-17 01:49:27 +00:00
|
|
|
#
|
|
|
|
# Joystick section
|
|
|
|
# WARNING: joystick support has to be explicitly enabled at
|
|
|
|
# compiletime with --enable-joystick
|
|
|
|
#
|
2006-11-30 08:47:29 +00:00
|
|
|
|
2012-01-17 01:49:27 +00:00
|
|
|
JOY_AXIS0_PLUS seek 10
|
|
|
|
JOY_AXIS0_MINUS seek -10
|
|
|
|
JOY_AXIS1_MINUS seek 60
|
|
|
|
JOY_AXIS1_PLUS seek -60
|
2012-09-22 04:15:36 +00:00
|
|
|
JOY_BTN0 cycle pause
|
|
|
|
JOY_BTN1 cycle osd
|
|
|
|
JOY_BTN2 add volume 1
|
|
|
|
JOY_BTN3 add volume -1
|
2006-11-30 08:47:29 +00:00
|
|
|
|
2012-01-17 01:49:27 +00:00
|
|
|
#
|
|
|
|
# Not assigned by default
|
|
|
|
# (not an exhaustive list of unbound commands)
|
|
|
|
#
|
2008-05-18 12:19:51 +00:00
|
|
|
|
2012-09-22 04:15:36 +00:00
|
|
|
#? add sub-scale +0.1 # increase subtitle font size
|
|
|
|
#? add sub-scale -0.1 # decrease subtitle font size
|
2012-10-28 20:16:07 +00:00
|
|
|
#? sub_step -1 # immediately display next subtitle
|
|
|
|
#? sub_step +1 # previous
|