on windows i use the filter drawtext with the command:
ffmpeg -i input.mp4 -vf “drawtext=fontfile=’Times New Roman‘:text=’Stack Overflow’:fontcolor=white:fontsize=24:box=1:boxcolor=black@0.5:boxborderw=5:x=(w-text_w)/2:y=(h-text_h)/2” -codec:a copy output.mp4
i it works flawlessly if i install version 5.1 (static build from gyan).
i now installed the gyan.ffmpeg.shared package with winget. it installa v7.1.1
with that package drawtext is broken and there is a error message about not finding the configuration file (null).
is this an error or did the api changed?
i also saw it does not work with v7.0.x