From 7001c2d994457e49b6c330319987649eadbdcb80 Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Fri, 26 Nov 2010 16:56:05 +0200 Subject: 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 . --- DOCS/man/en/mplayer.1 | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'DOCS/man/en') 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 +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 Changes the colorkey to an RGB value of your choice. 0x000000 is black and 0xffffff is white. -- cgit v1.2.3