aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2005-04-10 00:01:57 +0000
committerMichael Johnson <ahze@FreeBSD.org>2005-04-10 00:01:57 +0000
commit2c98a5eea941232bd2743eb2a07cdae5338368de (patch)
tree59363445f4a1bd797efad2793239eb61e95d8bd3 /multimedia
parent24b218a95c35e75f0be87a767058ef8c366a93c9 (diff)
downloadports-2c98a5eea941232bd2743eb2a07cdae5338368de.tar.gz
ports-2c98a5eea941232bd2743eb2a07cdae5338368de.zip
Notes
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/Makefile1
-rw-r--r--multimedia/mjpegtools-yuvfilters/Makefile46
-rw-r--r--multimedia/mjpegtools-yuvfilters/distinfo8
-rw-r--r--multimedia/mjpegtools-yuvfilters/pkg-descr22
4 files changed, 77 insertions, 0 deletions
diff --git a/multimedia/Makefile b/multimedia/Makefile
index 20408cb132d5..5beeca4faebc 100644
--- a/multimedia/Makefile
+++ b/multimedia/Makefile
@@ -93,6 +93,7 @@
SUBDIR += lsdvd
SUBDIR += lxdvdrip
SUBDIR += mjpegtools
+ SUBDIR += mjpegtools-yuvfilters
SUBDIR += mkvtoolnix
SUBDIR += mkxvcd
SUBDIR += mmpython
diff --git a/multimedia/mjpegtools-yuvfilters/Makefile b/multimedia/mjpegtools-yuvfilters/Makefile
new file mode 100644
index 000000000000..48a1dbec90ea
--- /dev/null
+++ b/multimedia/mjpegtools-yuvfilters/Makefile
@@ -0,0 +1,46 @@
+# New ports collection makefile for: mjpegtools-yuvfilters
+# Date created: 2005-04-09
+# Whom: Michael Johnson <ahze@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mjpegtools-yuvfilters
+PORTVERSION= 1.0
+CATEGORIES= multimedia
+MASTER_SITES= http://silicontrip.net/~mark/lavtools/ \
+ ${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR= ahze
+DISTFILES= ${CFILES:S/$/.c/}
+
+MAINTAINER= ahze@FreeBSD.org
+COMMENT= Mjpeg-tools YUV video stream processing tools
+
+LIB_DEPENDS= lavjpeg-1.6.2:${PORTSDIR}/multimedia/mjpegtools
+
+CFILES= yuvdeinterlace yuvafps yuvfade yuvwater
+PLIST_FILES= ${CFILES:S|^|bin/|}
+
+CPPFLAGS= -I${LOCALBASE}/include/mjpegtools -DHAVE_INTTYPES_H
+LDFLAGS= -L${LOCALBASE}/lib -lmjpegutils
+
+.include <bsd.port.pre.mk>
+
+do-extract:
+ @${MKDIR} ${WRKSRC}
+.for f in ${CFILES:S/$/.c/}
+ @${CP} -f ${DISTDIR}/${f} ${WRKSRC}
+.endfor
+
+do-build:
+.for f in ${CFILES}
+ ${CC} ${WRKSRC}/${f}.c ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} \
+ -o ${WRKSRC}/${f}
+.endfor
+
+do-install:
+.for f in ${CFILES}
+ ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin
+.endfor
+
+.include <bsd.port.post.mk>
diff --git a/multimedia/mjpegtools-yuvfilters/distinfo b/multimedia/mjpegtools-yuvfilters/distinfo
new file mode 100644
index 000000000000..e75b68ad613d
--- /dev/null
+++ b/multimedia/mjpegtools-yuvfilters/distinfo
@@ -0,0 +1,8 @@
+MD5 (yuvdeinterlace.c) = cc385764a4862a3f72c35f658a98bb3c
+SIZE (yuvdeinterlace.c) = 8199
+MD5 (yuvafps.c) = 1784adc39f2e32c1d9831593e1a68dbf
+SIZE (yuvafps.c) = 12496
+MD5 (yuvfade.c) = 8389b22f3b35b6653ff23021153148cc
+SIZE (yuvfade.c) = 7330
+MD5 (yuvwater.c) = c40f730cdae80e06c610e29fc40dc2fa
+SIZE (yuvwater.c) = 9066
diff --git a/multimedia/mjpegtools-yuvfilters/pkg-descr b/multimedia/mjpegtools-yuvfilters/pkg-descr
new file mode 100644
index 000000000000..d62c796af744
--- /dev/null
+++ b/multimedia/mjpegtools-yuvfilters/pkg-descr
@@ -0,0 +1,22 @@
+Mjpegtools YUV video stream processing tools
+
+yuvdeinterlace:
+ A non destructive deinterlacer. Converts to a double frame rate, alf height,
+ progressive yuv stream for further processing by temporal based filters.
+ Then re-interlaced before encoding. The reinterlacer doesn't exist at this
+ time.
+
+yuvafps:
+ A linear frame averaging, frame rate converter. Does a better job than the
+ frame dropping/duplicating converters.
+
+yuvfade:
+ Will fade the video to black after X number of frames. Uses a trial and
+ error method of fading to black
+
+yuvwater:
+ Attempts to detect and remove semi-transperant watermarks from the source.
+ Produces a PGM file of the detected watermark which is used to remove or
+ reduce the effect.
+
+WWW: http://silicontrip.net/~mark/lavtools/