#10705: drawtext filter is missing
-------------------------------------+-------------------------------------
             Reporter:  Leo Butler   |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:  drawtext     |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 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

 }}}
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10705>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to