[FFmpeg-devel] [PATCH 1/2] lavfi: introduce textutils

Stefano Sabatini stefasab at gmail.com
Sat Dec 16 17:35:36 EET 2023


On date Saturday 2023-12-09 19:12:29 +0100, Stefano Sabatini wrote:
> On date Sunday 2023-12-03 16:05:40 +0100, Stefano Sabatini wrote:
> > On date Thursday 2023-11-30 01:49:13 +0100, Stefano Sabatini wrote:
> > > Generalize drawtext utilities to make them usable in other filters.
> > > This will be needed to introduce the QR code source and filter without
> > > duplicating functionality.
> > > ---
> > >  libavfilter/Makefile      |   2 +-
> > >  libavfilter/textutils.c   | 379 +++++++++++++++++++++++++++
> > >  libavfilter/textutils.h   | 182 +++++++++++++
> > >  libavfilter/vf_drawtext.c | 533 ++++++++++----------------------------
> > >  4 files changed, 693 insertions(+), 403 deletions(-)
> > >  create mode 100644 libavfilter/textutils.c
> > >  create mode 100644 libavfilter/textutils.h
> > 
> > Updated (with more doc and a more genric ff_print_formatted_eval_expr
> > function).
> 
> Rev 3.

> From d9d033dcb8c3a8a473fd08db209f782f99a65780 Mon Sep 17 00:00:00 2001
> From: Stefano Sabatini <stefasab at gmail.com>
> Date: Mon, 20 Nov 2023 01:13:17 +0100
> Subject: [PATCH 1/2] lavfi: introduce textutils
> 
> Generalize drawtext utilities to make them usable in other filters.
> This will be needed to introduce the QR code source and filter without
> duplicating functionality.
> ---
>  libavfilter/Makefile      |   2 +-
>  libavfilter/textutils.c   | 382 +++++++++++++++++++++++++++
>  libavfilter/textutils.h   | 229 ++++++++++++++++
>  libavfilter/vf_drawtext.c | 533 ++++++++++----------------------------
>  4 files changed, 743 insertions(+), 403 deletions(-)
>  create mode 100644 libavfilter/textutils.c
>  create mode 100644 libavfilter/textutils.h

Ping, if there are no objections or comments I plan to push this in a
week or something.


More information about the ffmpeg-devel mailing list