summaryrefslogtreecommitdiffstats
path: root/DOCS/man/en/mplayer.1
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2010-12-15 01:09:47 +0200
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-12-20 19:02:16 +0200
commitf0649f13d698eb6aeffeaacd6801b666c4366caf (patch)
tree809200e48f70f5a13e8a1d27f688f7b92348a744 /DOCS/man/en/mplayer.1
parent23f598e0ee2151923a44077f510cd484f239480b (diff)
downloadmpv-f0649f13d698eb6aeffeaacd6801b666c4366caf.tar.bz2
mpv-f0649f13d698eb6aeffeaacd6801b666c4366caf.tar.xz
core: add support for precise non-keyframe-limited seeks
Add support for seeking to an arbitrary non-keyframe position by decoding video starting from the previous keyframe. Whether to use this functionality when seeking is controlled by the new option -hr-seek and a new third argument to the "seek" command. The default is to use it for absolute seeks (like chapter seeks) but not for relative ones. Because there's currently no support for cutting encoded audio some desync is expected if encoded audio passthrough is used. Currently precise seeks always go to the first frame with timestamp equal to or greater than the target position; there's no support for "matching or earlier" backwards seeks at frame level.
Diffstat (limited to 'DOCS/man/en/mplayer.1')
-rw-r--r--DOCS/man/en/mplayer.121
1 files changed, 21 insertions, 0 deletions
diff --git a/DOCS/man/en/mplayer.1 b/DOCS/man/en/mplayer.1
index a6c103ce25..95ef58de81 100644
--- a/DOCS/man/en/mplayer.1
+++ b/DOCS/man/en/mplayer.1
@@ -909,6 +909,27 @@ mplayer \-heartbeat\-cmd "gnome\-screensaver\-command \-p" file
.PD 1
.
.TP
+.B \-hr\-seek off|absolute|always
+Select when to use precise seeks that are not limited to keyframes.
+Such seeks require decoding video from the previous keyframe up to the target
+position and so can take some time depending on decoding performance.
+For some video formats precise seeks are disabled. This option selects the
+default choice to use for seeks; it's possible to explicitly override that
+default in the definition of key bindings and in slave mode commands.
+.PD 0
+.RSs
+.IPs off
+Never use precise seeks.
+.IPs absolute
+Use precise seeks if the seek is to an absolute position in the file,
+such as a chapter seek, but not for relative seeks like the default
+behavior of arrow keys (default).
+.IPs always
+Use precise seeks whenever possible.
+.RE
+.PD 1
+.
+.TP
.B \-identify
Shorthand for \-msglevel identify=4.
Show file parameters in an easily parseable format.