[FFmpeg-devel] [PATCH v15 10/16] avfilter/textmod: Add textmod, censor and show_speaker filters

Michael Niedermayer michael at niedermayer.cc
Thu Nov 25 18:14:04 EET 2021


On Thu, Nov 25, 2021 at 12:48:38AM +0000, Soft Works wrote:
> - textmod {S -> S)
>   Modify subtitle text in a number of ways
> 
> - censor {S -> S)
>   Censor subtitles using a word list
> 
> - show_speaker {S -> S)
>   Prepend speaker names from ASS subtitles to the visible text lines
> 
> Signed-off-by: softworkz <softworkz at hotmail.com>
> ---
>  doc/filters.texi         | 206 ++++++++++++
>  libavfilter/Makefile     |   5 +
>  libavfilter/allfilters.c |   3 +
>  libavfilter/sf_textmod.c | 697 +++++++++++++++++++++++++++++++++++++++
>  4 files changed, 911 insertions(+)
>  create mode 100644 libavfilter/sf_textmod.c

I cant test this as it does not apply

Applying: avfilter/textmod: Add textmod, censor and show_speaker filters
.git/rebase-apply/patch:108: trailing whitespace.
Replace one or more characters. Requires the find and replace parameters to be specified. 
.git/rebase-apply/patch:112: trailing whitespace.
Remove certain characters. Requires the find parameter to be specified. 
.git/rebase-apply/patch:115: trailing whitespace.
Replace one or more words. Requires the find and replace parameters to be specified. Multiple words must be separated by the delimiter char specified vie the separator parameter (default: ','). 
.git/rebase-apply/patch:119: trailing whitespace.
Remove certain words. Requires the find parameter to be specified. Multiple words must be separated by the delimiter char specified vie the separator parameter (default: ','). 
.git/rebase-apply/patch:158: trailing whitespace.
Renders graphic subtitles as video frames. 
error: sha1 information is lacking or useless (doc/filters.texi).
error: could not build fake ancestor
Patch failed at 0001 avfilter/textmod: Add textmod, censor and show_speaker filters
Use 'git am --show-current-patch' to see the failed patch
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".



[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

During times of universal deceit, telling the truth becomes a
revolutionary act. -- George Orwell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20211125/4cb7b1d3/attachment.sig>


More information about the ffmpeg-devel mailing list