On 08/20/18 11:23, Raphael Graf wrote:
Frei0r is a minimalistic plugin API for video effects. Potential users of this are ffmpeg, mlt, lives, gstreamer and maybe others. I have sucessfully tested some filter using ffmpeg (built with --enable-frei0r, see diff below). For example: $ ffmpeg -i in.jpg -vf "frei0r=pixeliz0r:0.1:0.1" out.jpg I didn't manage to get the filters 'facebl0r' and 'facedetect' to work without crashing (they use opencv), so these are disabled for now.
Any reason not to use the tarballs on https://files.dyne.org/frei0r/releases/ ?
Then you can do something like DISTNAME = frei0r-plugins-1.6.1 PKGNAME = ${DISTNAME:S/-plugins//} ~Brian
ffmpeg diff (for testing): Index: Makefile =================================================================== RCS file: /cvs/ports/graphics/ffmpeg/Makefile,v retrieving revision 1.169 diff -u -p -u -p -r1.169 Makefile --- Makefile 23 Jul 2018 10:34:40 -0000 1.169 +++ Makefile 17 Aug 2018 10:29:01 -0000 @@ -32,7 +32,8 @@ WANTLIB= SDL X11 Xext Xv ass bz2 c crypt vorbisenc vpx>=5 x264 x265>=2 xcb xcb-shape xcb-shm xcb-xfixes \ xvidcore z -BUILD_DEPENDS= textproc/texi2html +BUILD_DEPENDS= textproc/texi2html \ + graphics/frei0r .if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" BUILD_DEPENDS+= devel/yasm .endif @@ -90,6 +91,7 @@ CONFIGURE_ARGS+= --enable-shared \ --disable-vfp \ --enable-avresample \ --enable-fontconfig \ + --enable-frei0r \ --enable-gpl \ --enable-libass \ --enable-libfreetype \