A few months ago, frei0r-plugins was posted to the list.  By teaching
mlt to use these plugins, I can get kdenlive to do colour correction
properly.  Enclosed is the patch to mlt so that it can use the proper
plugin values.  (kdenlive needs no patch: it detects it via mlt.)

This requires the graphics/frei0r-plugins as earlier posted.
? mlt.frei0r.patch
Index: Makefile
===================================================================
RCS file: /cvs/ports/multimedia/mlt/Makefile,v
retrieving revision 1.17
diff -u -p -r1.17 Makefile
--- Makefile	29 Jul 2018 15:05:35 -0000	1.17
+++ Makefile	9 Dec 2018 14:14:33 -0000
@@ -55,6 +55,7 @@ LIB_DEPENDS-gpl2 =	${BUILD_PKGPATH},-mai
 			x11/qt5/qtsvg \
 			devel/sdl2 \
 			audio/libsamplerate \
+			graphics/frei0r-plugins \
 			graphics/libexif
 
 MAKE_FLAGS =		soversion=${LIBmlt_VERSION}
@@ -65,7 +66,6 @@ USE_GMAKE =		Yes
 CONFIGURE_STYLE =	simple
 CONFIGURE_ARGS =	--mandir=${PREFIX}/man \
 			--disable-dv \
-			--disable-frei0r \
 			--disable-kino \
 			--disable-swfdec \
 			--enable-gpl
Index: pkg/PLIST-gpl2
===================================================================
RCS file: /cvs/ports/multimedia/mlt/pkg/PLIST-gpl2,v
retrieving revision 1.3
diff -u -p -r1.3 PLIST-gpl2
--- pkg/PLIST-gpl2	29 Jul 2018 15:05:35 -0000	1.3
+++ pkg/PLIST-gpl2	9 Dec 2018 14:14:33 -0000
@@ -1,4 +1,5 @@
 @comment $OpenBSD: PLIST-gpl2,v 1.3 2018/07/29 15:05:35 rsadowski Exp $
+lib/mlt/libmltfrei0r.so
 lib/mlt/libmltlinsys.so
 lib/mlt/libmltmotion_est.so
 lib/mlt/libmltnormalize.so
@@ -8,6 +9,10 @@ lib/mlt/libmltresample.so
 lib/mlt/libmltsdl2.so
 lib/mlt/libmltvideostab.so
 lib/mlt/libmltxine.so
+share/mlt/frei0r/
+share/mlt/frei0r/blacklist.txt
+share/mlt/frei0r/not_thread_safe.txt
+share/mlt/frei0r/param_name_map.yaml
 share/mlt/linsys/
 share/mlt/linsys/consumer_sdi.yml
 share/mlt/motion_est/

Reply via email to