[FFmpeg-devel] [FFmpeg-cvslog] avfilter/vf_subtitles: add wrap_unicode option

Gyan Doshi ffmpeg at gyani.pro
Thu May 25 10:14:13 EEST 2023



On 2023-05-25 09:05 am, Zhao Zhili wrote:
> ffmpeg | branch: master | Zhao Zhili <zhilizhao at tencent.com> | Tue May 23 13:22:25 2023 +0800| [43ace8f2bc29faf335e31b9893e6b8928ba3f541] | committer: Zhao Zhili
>
> avfilter/vf_subtitles: add wrap_unicode option
>
> So CJK can be wrapped automatically.
>
> Signed-off-by: Zhao Zhili <zhilizhao at tencent.com>
>
>> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=43ace8f2bc29faf335e31b9893e6b8928ba3f541
> ---
>
>   doc/filters.texi           |  7 +++++++
>   libavfilter/version.h      |  2 +-
>   libavfilter/vf_subtitles.c | 18 ++++++++++++++++++
>   3 files changed, 26 insertions(+), 1 deletion(-)
>
> diff --git a/doc/filters.texi b/doc/filters.texi
> index 76d9f11edc..6c5b61d763 100644
> --- a/doc/filters.texi
> +++ b/doc/filters.texi
> @@ -22440,6 +22440,13 @@ Set subtitles stream index. @code{subtitles} filter only.
>   @item force_style
>   Override default style or script info parameters of the subtitles. It accepts a
>   string containing ASS style format @code{KEY=VALUE} couples separated by ",".
> +
> + at item wrap_unicode
> +Break lines according to the Unicode Line Breaking Algorithm. Only available
> +since libass version 0x01600010, and whether it's usable depends on the built
> +of libass.

Added details about version requirements in 944243477b

Regards,
Gyan



More information about the ffmpeg-devel mailing list