NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ffmpeg6 drawtext option question



On Tue, 28 May 2024, Michael Lowery Wilson wrote:

However, I get the below result instead:

[AVFilterGraph @ 0x7eb5fb57f580] No such filter: 'drawtext'
[vost#0:0/libx264 @ 0x7eb5fb53a500] Error initializing a simple filtergraph
Error opening output file timestamped-recording.mp4.


That error message is correct; there's no `drawtext' filter compiled in:

$ ffmpeg6 -filters 2>&1 | fgrep drawtext
$

Which points toward an issue with the drawtext filter. I have checked and my version of ffmpeg6 is compiled with the --enable-libfreetype flag by default, which is required for the drawtext filter:

https://ayosec.github.io/ffmpeg-filters-docs/3.3.9/Filters/Video/drawtext.html


According to the current docs. you also need `--enable-libharfbuzz' now:

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

Can you recompile with libharfbuzz added, then tell the pkgsrc folks if that
works?

-RVP


Home | Main Index | Thread Index | Old Index