Opened 12 months ago

Closed 12 months ago

Last modified 12 months ago

#10705 closed defect (invalid)

drawtext filter is missing

Reported by: Leo Butler Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords: drawtext
Cc: Leo Butler Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
Hello,

The static build is compiled with --enable-libfreetype but barfs on a drawtext filter. I am attaching the log file.

According to:

https://ffmpeg.org/ffmpeg-all.html#drawtext-1

the libfreetype library should be sufficient.

See also:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056597

Leo

ffmpeg started on 2023-11-28 at 14:36:48
Report written to "ffmpeg-20231128-143648.log"
Log level: 48
Command line:
./ffmpeg -y -report -f lavfi -i "testsrc=duration=5.1:size=hd720:rate=10" -filter_complex "drawtext=fontsize=30:fontfile=FreeSerif.ttf:text=\"hello world\":x=(w-text_w)/2:y=(h-text_h)/2" -f mpegts out.ts
ffmpeg version 6.1-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 8 (Debian 8.3.0-6)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libfribidi --enable-libass --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg
  libavutil      58. 29.100 / 58. 29.100
  libavcodec     60. 31.102 / 60. 31.102
  libavformat    60. 16.100 / 60. 16.100
  libavdevice    60.  3.100 / 60.  3.100
  libavfilter     9. 12.100 /  9. 12.100
  libswscale      7.  5.100 /  7.  5.100
  libswresample   4. 12.100 /  4. 12.100
  libpostproc    57.  3.100 / 57.  3.100
Splitting the commandline.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'lavfi'.
Reading option '-i' ... matched as output url with argument 'testsrc=duration=5.1:size=hd720:rate=10'.
Reading option '-filter_complex' ... matched as option 'filter_complex' (create a complex filtergraph) with argument 'drawtext=fontsize=30:fontfile=FreeSerif.ttf:text="hello world":x=(w-text_w)/2:y=(h-text_h)/2'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'mpegts'.
Reading option 'out.ts' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option y (overwrite output files) with argument 1.
Applying option report (generate a report) with argument 1.
Applying option filter_complex (create a complex filtergraph) with argument drawtext=fontsize=30:fontfile=FreeSerif.ttf:text="hello world":x=(w-text_w)/2:y=(h-text_h)/2.
[AVFilterGraph @ 0xd6a6640] Setting 'fontsize' to value '30'
[AVFilterGraph @ 0xd6a6640] Setting 'fontfile' to value 'FreeSerif.ttf'
[AVFilterGraph @ 0xd6a6640] Setting 'text' to value '"hello world"'
[AVFilterGraph @ 0xd6a6640] Setting 'x' to value '(w-text_w)/2'
[AVFilterGraph @ 0xd6a6640] Setting 'y' to value '(h-text_h)/2'
[AVFilterGraph @ 0xd6a6640] No such filter: 'drawtext'
Failed to set value 'drawtext=fontsize=30:fontfile=FreeSerif.ttf:text="hello world":x=(w-text_w)/2:y=(h-text_h)/2' for option 'filter_complex': Filter not found
Error parsing global options: Filter not found

Change History (2)

comment:1 by Cigaes, 12 months ago

Resolution: invalid
Status: newclosed

Hi. We did not provide that binary and therefore do not provide support for it.

comment:2 by Leo Butler, 12 months ago

Please remove the links from the project website. You just made me waste an hour of valuable time trying to be a good citizen.

Note: See TracTickets for help on using tickets.