bytedeco/javacpp-presets

ffmpeg6+ drawtext filter support

bmaassenee opened this issue · 3 comments

It seems that from release 6.1+ of ffmpeg the requirements for the drawtext filter has changed:

Where in 6.0 the docs state: https://github.com/FFmpeg/FFmpeg/blob/release/6.0/doc/filters.texi#L12064-L12069

To enable compilation of this filter, you need to configure FFmpeg with @code{--enable-libfreetype}.

While in 6.1 it has changed to: https://github.com/FFmpeg/FFmpeg/blob/release/6.1/doc/filters.texi#L12368-L12373

To enable compilation of this filter, you need to configure FFmpeg with @code{--enable-libfreetype} and @code{--enable-libharfbuzz}.

This has not been updated in the ffmpeg/cppbuild.sh and as a result the filter is not usable

Contributions are welcome!

Sorry for the duplicate, did a search for drawtext and found nothing. Am considering having a go at it, unfortunately i'm a windows user, which i'm afraid is the hardest env to do these builds :(