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

Nicolas George george at nsup.org
Wed Dec 6 22:20:12 EET 2023


Stefano Sabatini (12023-11-30):
> 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

Hi.

I had kept this mail to point that this would greatly benefit from using
AVWriter instead of BPrint, since it is a much more elegant API with the
early design mistakes fixed, and to propose to work together to make it
happen.

But right now, anything feels more appealing than working on FFmpeg.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20231206/e83a4866/attachment.sig>


More information about the ffmpeg-devel mailing list