Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/LAVFilters.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2012-07-03 11:50:36 +0400
committerHendrik Leppkes <h.leppkes@gmail.com>2012-07-03 18:33:16 +0400
commitcc36f0839bf932693716bcc2a9331d78475709c7 (patch)
treee94f26fc72ad67640b3d9d969ee08d2351944ecd /README.txt
parent8aa64d3a6fe925c284f0795cc9933afda43a87a6 (diff)
Add support for "Normal", "Impaired" and "NOT" subtitle selector tokens.
Support for more advanced subtitle selectors has been added which allows selecting hearing impaired streams, as well as explicitly selecting streams without special flags ("Normal" streams). The Hearing Impaired selector "h" works exactly like the existing "d" and "f" selectors, and will only select streams which are properly flagged as hearing impaired. The "n" selector for Normal Streams basically has the meaning of "all streams which are not default, forced or impaired", allowing to build combinations like "*|nfd" which will select any streams that are either normal, forced or default, but not hearing impaired. Additionally, to complement the logic, a negation operator has been added. The negation operator "!" has to be placed at the beginning of the flags, and when its present it negates the meaning of the flags. A combination like "*|!dfh" then means "not default, forced or hearing impaired", which in turn translates to "*|n", which has the same semantical meaning. Fixes issue 233.
Diffstat (limited to 'README.txt')
-rw-r--r--README.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/README.txt b/README.txt
index 771d06a6..81ecfda2 100644
--- a/README.txt
+++ b/README.txt
@@ -73,7 +73,9 @@ The "off" flag is only valid for the subtitle language, and it instructs LAV Spl
So "eng:off" means that when the audio is english, the subtitles will be deactivated.
Additionally to the syntax above, two flags are supported to enhance the subtitle selection.
-Specifically, LAV Splitter understands the flag "d" for default subtitles, and the flag "f" for forced subtitles.
+Specifically, LAV Splitter understands the flag "d" for default subtitles, the flag "f" for forced subtitles,
+the flag "h" for hearing impaired, and the flag "n" for normal streams (not default, forced, or impaired).
+In addition, flags can be negated with a leading "!" before the whole flags block - "!h" becomes "dfn", etc.
Flags are appended to the subtitle language, separated by a pipe symbol ("|"). Example: "*:*|f"
This token specifys that on any audio language, you want any subtitle that is flagged forced.