[FFmpeg-user] Drawtext and filter_complex_script no longer work (At least not on OSx)
Paul B Mahol
onemda at gmail.com
Fri Jun 21 16:25:02 EEST 2024
On Fri, Jun 21, 2024 at 2:59 PM Bouke / Videotoolshed <
bouke at videotoolshed.com> wrote:
> On 21 Jun 2024, at 13:51, Paul B Mahol <onemda at gmail.com> wrote:
> >
> >> That was my idea as well, however, it is in the list published for
> compile
> >> options, and another (older, working) version of FFmpeg also does not
> show
> >> it, but it seems included anyways.
> >>
> >
> > Really, what 'ffmpeg -h filter=drawtext' shows?
>
>
> Hi Paul,
>
> Working version:
>
> bouke at Boukes-iMac ~ %
> /Volumes/Data/PycharmProjects/ffmpeg-20200831-4a11a6f-macos64-static/bin/ffmpeg
> -h filter=drawtext
> ffmpeg version git-2020-08-31-4a11a6f Copyright (c) 2000-2020 the FFmpeg
> developers
> built with Apple clang version 11.0.0 (clang-1100.0.33.8)
> configuration: --enable-gpl --enable-version3 --enable-sdl2
> --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass
> --enable-libdav1d --enable-libbluray --enable-libfreetype
> --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
> --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy
> --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame
> --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264
> --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma
> --enable-zlib --enable-gmp --enable-libvidstab --enable-libvmaf
> --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa
> --enable-libspeex --enable-libxvid --enable-libaom --enable-libgsm
> --enable-librav1e --enable-libsvtav1 --enable-appkit --enable-avfoundation
> --enable-coreimage --enable-audiotoolbox
> libavutil 56. 58.100 / 56. 58.100
> libavcodec 58.101.101 / 58.101.101
> libavformat 58. 51.101 / 58. 51.101
> libavdevice 58. 11.101 / 58. 11.101
> libavfilter 7. 87.100 / 7. 87.100
> libswscale 5. 8.100 / 5. 8.100
> libswresample 3. 8.100 / 3. 8.100
> libpostproc 55. 8.100 / 55. 8.100
> Filter drawtext
> Draw text on top of video frames using libfreetype library.
> Inputs:
> #0: default (video)
> Outputs:
> #0: default (video)
>
> No sign of libharfbuz, but it works obviously.
>
> Then, the latest build / snapshot from evermeet:
>
> ffmpeg version 6.1.1-tessus https://evermeet.cx/ffmpeg/ Copyright (c)
> 2000-2023 the FFmpeg developers
> built with Apple clang version 11.0.0 (clang-1100.0.33.17)
> configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg
> --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl
> --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d
> --enable-libfreetype --enable-libgsm --enable-libmodplug
> --enable-libmp3lame --enable-libmysofa --enable-libopencore-amrnb
> --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg
> --enable-libopus --enable-librubberband --enable-libshine
> --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora
> --enable-libtwolame --enable-libvidstab --enable-libvmaf
> --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwebp
> --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxml2
> --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi
> --enable-version3 --pkg-config-flags=--static --disable-ffplay
> 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
> Unknown filter 'drawtext'.
>
> So yes, it’s not my command line, it’s either the build or an FFmpeg
> problem, but I’m not the one who can judge.
> It is however a bit annoying, as I’m not supposed to distribute binaries,
> so I let the end users download from within my work. And thus I rely on
> stuff not breaking too often. (I do have a couple of thousand users for my
> products, most of them use FFmpeg somewhere.)
>
>
Newer ffmpeg version needs for drawtext filter libharfbuz lib support to
get improved rendering.
Why you not build ffmpeg by self?
> Bouke
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>
More information about the ffmpeg-user
mailing list