[FFmpeg-devel] [PATCH] avfilter/vf_subtitles: add an option to choose sub stream by language

Michael Niedermayer michael at niedermayer.cc
Wed Apr 20 21:25:29 EEST 2022


On Tue, Apr 19, 2022 at 02:58:29AM +0200, James Darnley wrote:
> ---
>  doc/filters.texi           |  5 +++++
>  libavfilter/vf_subtitles.c | 23 ++++++++++++++++++++---
>  2 files changed, 25 insertions(+), 3 deletions(-)
> 
> diff --git a/doc/filters.texi b/doc/filters.texi
> index a161754233..cfbc807f16 100644
> --- a/doc/filters.texi
> +++ b/doc/filters.texi
> @@ -21160,6 +21160,11 @@ Override default style or script info parameters of the subtitles. It accepts a
>  string containing ASS style format @code{KEY=VALUE} couples separated by ",".
>  @end table
>  
> + at item language
> +Use first stream with the given language, ISO language code. @code{subtitles}
> +filter only. Requires the language metadata to be read from the file.
> + at end table

that @end table looks a bit like its not matched 

thx

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

If the United States is serious about tackling the national security threats 
related to an insecure 5G network, it needs to rethink the extent to which it
values corporate profits and government espionage over security.-Bruce Schneier
-------------- 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/20220420/51aab325/attachment.sig>


More information about the ffmpeg-devel mailing list