summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-26 16:56:05 +0200
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-26 16:58:10 +0200
commit7001c2d994457e49b6c330319987649eadbdcb80 (patch)
tree888d6a91caa80addaa215dd2f5b94fc022d55f2b /DOCS
parent90d8bbb2257d2638f98b8c6fcfcabc778d9696ff (diff)
downloadmpv-7001c2d994457e49b6c330319987649eadbdcb80.tar.bz2
mpv-7001c2d994457e49b6c330319987649eadbdcb80.tar.xz
core: ordered chapters: add heuristic for merging inaccurate chapters
Some Matroska files have inaccurate ordered chapter endpoints, and so parts where one chapter should end and the next begin at the same timestamp were not merged. This resulted in an unnecessary seek over a minimal distance. Add a heuristic to merge parts with a minimal gap or overlap between them. Based on patch by Hector Martin <hector@marcansoft.com>.
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/man/en/mplayer.111
1 files changed, 11 insertions, 0 deletions
diff --git a/DOCS/man/en/mplayer.1 b/DOCS/man/en/mplayer.1
index 29c1ba9eba..5de2a32749 100644
--- a/DOCS/man/en/mplayer.1
+++ b/DOCS/man/en/mplayer.1
@@ -798,6 +798,17 @@ With this option MPlayer will also ignore frame duration when playing
only video (you can think of that as infinite fps).
.
.TP
+.B \-chapter\-merge\-threshold <number>
+Threshold for merging almost consecutive ordered chapter parts
+in milliseconds (default: 100).
+Some Matroska files with ordered chapters have inaccurate chapter
+end timestamps, causing a small gap between the end of one chapter and
+the start of the next one when they should match.
+If the end of one playback part is less than the given threshold away
+from the start of the next one then keep playing video normally over the
+chapter change instead of doing a seek.
+.
+.TP
.B \-colorkey <number>
Changes the colorkey to an RGB value of your choice.
0x000000 is black and 0xffffff is white.