mpv/DOCS/man
wm4 a4eb8f75c0 sub: add an option to filter subtitles by regex
Works as ad-filter. I had some more plans, for example replacing
matching text with different text, but for now it's dropping matches
only. There's a big warning in the manpage that I might change
semantics. For example, I might turn it into a primitive sed.

In a sane world, you'd probably write a simple script that processes
downloaded subtitles before giving them to mpv, and avoid all this
complexity. But we don't live in a sane world, and the sooner you learn
this, the happier you will be. (But I also want to run this on muxed
subtitles.)

This is pretty straightforward. We use POSIX regexes, which are readily
available without additional pain or dependencies. This also means it's
(apparently) not available on win32 (MinGW). The regex list is because I
hate big monolithic regexes, and this makes it slightly better.

Very superficially tested.
2020-02-16 02:07:24 +01:00
..
af.rst
ao.rst
changes.rst
console.rst
encode.rst manpage: explain deprecated usage of multiple items with *-add 2020-01-07 18:13:12 +01:00
input.rst manpage: fix typo on sub-end 2020-02-12 19:13:05 +01:00
ipc.rst
javascript.rst DOCS: js: minor update for require 2020-02-07 19:24:00 +02:00
libmpv.rst
lua.rst manpage: fix a case of broken indentation 2020-02-15 20:01:20 +01:00
mpv.rst manpage: clarify --player-operation-mode 2020-02-14 12:58:45 +01:00
options.rst sub: add an option to filter subtitles by regex 2020-02-16 02:07:24 +01:00
osc.rst
stats.rst
vf.rst vf_format: add w, h parameters 2020-02-09 18:23:22 +01:00
vo.rst