bytedeco / javacpp-presets

The missing Java distribution of native C++ libraries
Other
2.68k stars 744 forks source link

ffmpeg6+ drawtext filter support #1470

Closed bmaassenee closed 9 months ago

bmaassenee commented 9 months ago

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

saudet commented 9 months ago

Duplicate of https://github.com/bytedeco/javacv/issues/2153

saudet commented 9 months ago

Contributions are welcome!

bmaassenee commented 9 months ago

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