[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 14:09:11 EEST 2024


On Fri, Jun 21, 2024 at 12:28 PM Bouke / Videotoolshed <
bouke at videotoolshed.com> wrote:

> My version (from evermeet.cx)
> 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
> Hyper fast Audio and Video encoder
> usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options]
> outfile}...
>
>
> Filter_complex_script fails:
> Ffmpeg -threads 0 -i /Users/bouke/Downloads/test.mov -map 0:0
> -filter_complex_script
> /var/folders/sk/b6vcwqd93z70pfcdvhhq90rh0000gn/T/_vtsTmp_complex.txt -an
> -timecode 01:00:09:13 -metadata:s:v:0 reel_name=test -c:v prores -profile:v
> 0 -vendor ap10 -pix_fmt yuv422p10le -shortest
> /Users/bouke/Downloads/Out/./test.mov -y
> [AVFilterGraph @ 0x7f9696c0f400] No such filter: 'drawtext'
> Failed to set value
> '/var/folders/sk/b6vcwqd93z70pfcdvhhq90rh0000gn/T/_vtsTmp_complex.txt' for
> option 'filter_complex_script': Filter not found
> Error parsing global options: Filter not found
>
> Then, same stuff but without the script file, now drawtext fails.
>
> Ffmpeg -threads 0 -i /Users/bouke/Downloads/2024-06-19 17-12-35 ALTER
> LTC.mov -map 0:0 -filter_complex
> [0:0]drawtext=timecode='01\:00\:09\:13':fontfile='/Volumes/Data/PycharmProjects/LTC_convert/src/main/resources/base/courbd.ttf':r=24:x=(w
> * 0.02):
> y=h-(2*lh):fontsize=108.0:fontcolor=white:borderw=5.4:bordercolor=#101010 at 0.8
> -an -timecode 01:00:09:13 -metadata:s:v:0 reel_name=2024-06-19 17-12-35
> ALTER LTC -c:v prores -profile:v 0 -vendor ap10 -pix_fmt yuv422p10le
> -shortest /Users/bouke/Downloads/Out/./2024-06-19 17-12-35 ALTER LTC.mov -y
> [AVFilterGraph @ 0x7fc93cd04ac0] No such filter: 'drawtext'
> Failed to set value
> '[0:0]drawtext=timecode='01\:00\:09\:13':fontfile='/Volumes/Data/PycharmProjects/LTC_convert/src/main/resources/base/courbd.ttf':r=24:x=(w
> * 0.02):
> y=h-(2*lh):fontsize=108.0:fontcolor=white:borderw=5.4:bordercolor=#101010 at 0.8'
> for option 'filter_complex': Filter not found
> Error parsing global options: Filter not found
>
> Anything I’m missing? Is this a compile error? Has something changed so my
> command line isn’t good anymore?
>

You have no drawtext filter.
Probably missing libharfbuz flag at compile time.


>
> 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