summaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-04-18 04:53:53 +0000
committerlioux <lioux@FreeBSD.org>2002-04-18 04:53:53 +0000
commit0b91b67ad84c8484e88046d81c0c41502c3b8c07 (patch)
treece750dd50ad4a0c2717a9b841a524436284917cf /multimedia
parent504ee60f7da38927e114736d3b18dcb862fc32c0 (diff)
downloadFreeBSD-ports-0b91b67ad84c8484e88046d81c0c41502c3b8c07.zip
FreeBSD-ports-0b91b67ad84c8484e88046d81c0c41502c3b8c07.tar.gz
o Update to 0.6.0 pre4
o Remove patches either already applied in distribution or turned into perl regexp(s) o Update both COMMENT and DESCR o Add several WITH_* options PR: 37138 Submitted by: MAINTAINER, Michael Nottebrock <michaelnottebrock@gmx.net> Approved by: MAINTAINER
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/transcode/Makefile275
-rw-r--r--multimedia/transcode/distinfo2
-rw-r--r--multimedia/transcode/files/patch-aa34
-rw-r--r--multimedia/transcode/files/patch-ab10
-rw-r--r--multimedia/transcode/files/patch-ac14
-rw-r--r--multimedia/transcode/files/patch-ad44
-rw-r--r--multimedia/transcode/files/patch-ae10
-rw-r--r--multimedia/transcode/files/patch-af19
-rw-r--r--multimedia/transcode/files/patch-ag22
-rw-r--r--multimedia/transcode/pkg-comment2
-rw-r--r--multimedia/transcode/pkg-descr27
-rw-r--r--multimedia/transcode/pkg-plist110
12 files changed, 325 insertions, 244 deletions
diff --git a/multimedia/transcode/Makefile b/multimedia/transcode/Makefile
index 6a9a377..4e5d43e 100644
--- a/multimedia/transcode/Makefile
+++ b/multimedia/transcode/Makefile
@@ -6,87 +6,266 @@
#
PORTNAME= transcode
-PORTVERSION= 0.6.0
-PORTREVISION= 1
+PORTVERSION= 0.6.0.4
CATEGORIES= graphics
MASTER_SITES= http://www.theorie.physik.uni-goettingen.de/~ostreich/transcode/pre/
-DISTNAME= ${PORTNAME}-${PORTVERSION}pre1
+DISTNAME= ${PORTNAME}-${PORTVERSION:S/.4$//g}pre4
EXTRACT_SUFX= .tgz
MAINTAINER= hendrik@scholz.net
-.if !defined(WITHOUT_LAME)
-BUILD_DEPENDS+= mp3rtp:${PORTSDIR}/audio/lame-devel
-CONFIGURE_ARGS+= --with-lame
-PLIST_SUB+= WITH_LAME=""
+LIB_DEPENDS= dvdread.2:${PORTSDIR}/graphics/libdvdread \
+ gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
+
+USE_XLIB= yes
+USE_GLIB= yes
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib -lgnugetopt" \
+ SDL_CONFIG="${LOCALBASE}/bin/sdl11-config"
+
+MAN1= transcode.1 tccat.1 avisplit.1 avimerge.1 avifix.1
+
+.include <bsd.port.pre.mk>
+
+.if exists(${LOCALBASE}/lib/libMagick.so)
+WITH_IMAGEMAGICK= yes
+.endif
+
+.if exists(${LOCALBASE}/bin/nasm)
+WITH_NASM= yes
+.endif
+
+.if exists(${LOCALBASE}/lib/libaviplay.so)
+WITH_AVIFILE= yes
+.endif
+
+.if exists(${LOCALBASE}/lib/libSDL-1.1.so)
+WITH_SDL= yes
+.endif
+
+.if exists(${LOCALBASE}/lib/libxml2.so)
+WITH_LIBXML2= yes
+.endif
+
+.if exists(${LOCALBASE}/bin/ffmpeg)
+WITH_FFMPEG= yes
+.endif
+
+.if exists(${LOCALBASE}/lib/libdv.so)
+WITH_LIBDV= yes
+.endif
+
+.if exists(${LOCALBASE}/lib/libopenquicktime.so)
+WITH_OPENQUICKTIME= yes
+.endif
+
+.if exists(${LOCALBASE}/lib/libmpeg2.so)
+WITH_LIBMPEG2= yes
+.endif
+
+.if exists(${LOCALBASE}/lib/libfame.so)
+WITH_LIBFAME= yes
+.endif
+
+.if exists(${LOCALBASE}/lib/libxvidcore.so)
+WITH_XVID= yes
+.endif
+
+.if exists(${LOCALBASE}/lib/liba52.so)
+WITH_LIBA52= yes
+.endif
+
+.if exists(${LOCALBASE}/lib/libmp3lame.so)
+WITH_LAME= yes
+.endif
+
+.if defined(WITH_IMAGEMAGICK)
+LIB_DEPENDS+= Magick.5:${PORTSDIR}/graphics/ImageMagick
+PLIST_SUB+= WITH_IMAGEMAGICK=""
.else
-PLIST_SUB+= WITH_LAME="@comment "
+CONFIGURE_ARGS+= --with-magick-mods=no
+PLIST_SUB+= WITH_IMAGEMAGICK="@comment "
+.endif
+
+.if defined(WITH_NASM)
+BUILD_DEPENDS+= ${LOCALBASE}/bin/nasm:${PORTSDIR}/devel/nasm
+ONLY_FOR_ARCHS= i386
.endif
+
+.if defined(WITH_AVIFILE)
+LIB_DEPENDS+= aviplay.6:${PORTSDIR}/graphics/avifile
+PLIST_SUB+= WITH_AVIFILE=""
+.else
+CONFIGURE_ARGS+= --with-avifile-mods=no \
+ --enable-avifile6=no
+PLIST_SUB+= WITH_AVIFILE="@comment "
+WITHOUT_FFMPEG= YES
+.endif
+
+.if defined(WITH_SDL)
+LIB_DEPENDS+= SDL-1.1.4:${PORTSDIR}/devel/sdl12
+WITH_LIBDV= yes
+PLIST_SUB+= WITH_SDL=""
+.else
+PLIST_SUB+= WITH_SDL="@comment "
+.endif
+
+.if defined(WITH_LIBXML2)
+LIB_DEPENDS+= xml2.5:${PORTSDIR}/textproc/libxml2
+PLIST_SUB+= WITH_LIBXML2=""
+.else
+PLIST_SUB+= WITH_LIBXML2="@comment "
+.endif
+
+.if defined(WITH_FFMPEG)
+BUILD_DEPENDS+= ${LOCALBASE}/bin/ffmpeg:${PORTSDIR}/graphics/ffmpeg
+PLIST_SUB+= WITH_FFMPEG=""
+.else
+PLIST_SUB+= WITH_FFMPEG="@comment "
+.endif
+
.if defined(WITH_LIBDV)
-BUILD_DEPENDS+= encodedv:${PORTSDIR}/graphics/libdv
-CONFIGURE_ARGS+= --with-dv --with-dv-includes=${LOCALBASE} --with-dv-libs=${LOCALBASE}
+LIB_DEPENDS+= dv.1:${PORTSDIR}/graphics/libdv
PLIST_SUB+= WITH_LIBDV=""
.else
+CONFIGURE_ARGS+= --with-dv=no
PLIST_SUB+= WITH_LIBDV="@comment "
.endif
-.if defined(WITH_LIBA52)
-BUILD_DEPENDS+= a52dec:${PORTSDIR}/audio/liba52
-CONFIGURE_ARGS+= --with-a52
-PLIST_SUB+= WITH_LIBA52=""
+
+.if defined(WITH_OPENQUICKTIME)
+LIB_DEPENDS+= openquicktime.0:${PORTSDIR}/graphics/openquicktime
.else
-PLIST_SUB+= WITH_LIBA52="@comment "
+CONFIGURE_ARGS+= --with-openqt=no
.endif
-.if defined(WITH_NASM)
-BUILD_DEPENDS+= nasm:${PORTSDIR}/devel/nasm
+
+.if defined(WITH_LIBMPEG2)
+LIB_DEPENDS+= mpeg2.0:${PORTSDIR}/graphics/libmpeg2
.endif
-.if !defined(WITHOUT_AVIFILE)
-BUILD_DEPENDS+= avifile-config:${PORTSDIR}/graphics/avifile
-CONFIGURE_ARGS+= --enable-avifile6
+.if defined(WITH_FAME)
+LIB_DEPENDS+= fame.8:${PORTSDIR}/graphics/libfame
.endif
-LIB_DEPENDS+= lthread.2:${PORTSDIR}/devel/linuxthreads:install
+.if defined(WITH_XVID)
+LIB_DEPENDS+= xvidcore.0:${PORTSDIR}/graphics/xvid
+PLIST_SUB+= WITH_XVID=""
+WITH_NASM= YES
+.else
+PLIST_SUB+= WITH_XVID="@comment "
+.endif
-USE_GLIB= yes
-GNU_CONFIGURE= yes
-CONFIGURE_ENV= LDFLAGS=-L${LOCALBASE}/lib CFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include"
+.if defined(WITH_LIBA52)
+LIB_DEPENDS+= a52.0:${PORTSDIR}/audio/liba52
+CONFIGURE_ARGS+= --enable-liba52=yes
+PLIST_SUB+= WITH_LIBA52=""
+.else
+CONFIGURE_ARGS+= --with-a52=no \
+ --enable-liba52=no
+PLIST_SUB+= WITH_LIBA52="@comment "
+.endif
-pre-extract:
-.if defined(WITHOUT_LAME)
- @${ECHO_MSG}
- @${ECHO_MSG} "You disabled lame support !"
+.if defined(WITH_LAME)
+LIB_DEPENDS+= mp3lame.0:${PORTSDIR}/audio/lame
+PLIST_SUB+= WITH_LAME=""
.else
+CONFIGURE_ARGS+= --with-lame=no
+PLIST_SUB+= WITH_LAME="@comment "
+.endif
+
+pre-everything::
+.if !defined(WITH_OPTIMIZED_CFLAGS)
@${ECHO_MSG}
- @${ECHO_MSG} "lame support is enabled. Disable with WITHOUT_LAME"
- LAME= true
+ @${ECHO_MSG} "You can enable extra optimizations by defining"
+ @${ECHO_MSG} "WITH_OPTIMIZED_CFLAGS."
.endif
-.if !defined(WITH_LIBDV)
+.if !defined(WITH_IMAGEMAGICK)
@${ECHO_MSG}
- @${ECHO_MSG} "You can enable libdv support by defining WITH_LIBDV"
-.else
+ @${ECHO_MSG} "You can enable ImageMagick-dependent modules by defining"
+ @${ECHO_MSG} "WITH_IMAGEMAGICK."
+.endif
+.if !defined(WITH_SDL)
@${ECHO_MSG}
- @${ECHO_MSG} "You enabled libdv support by defining WITH_LIBDV"
+ @${ECHO_MSG} "You can enable realtime-previewing by defining WITH_SDL."
+ @${ECHO_MSG} "This implies WITH_LIBDV."
.endif
-.if !defined(WITH_LIBA52)
+.if !defined(WITH_LIBXML2)
@${ECHO_MSG}
- @${ECHO_MSG} "You can enable liba52 support by defining WITH_LIBA52"
-.else
+ @${ECHO_MSG} "You can enable libxml2-dependent modules by defining WITH_LIBXML2."
+.endif
+.if !defined(WITH_FFMPEG)
@${ECHO_MSG}
- @${ECHO_MSG} "You enabled liba52 support by defining WITH_LIBA52"
+ @${ECHO_MSG} "You can enable ffmpeg-dependent modules by defining WITH_FFMPEG."
.endif
-.if defined(WITHOUT_AVIFILE)
+.if !defined(WITH_LAME)
@${ECHO_MSG}
- @${ECHO_MSG} "You disabled avifile support !"
-.else
+ @${ECHO_MSG} "You can enable lame-dependent modules by defining WITH_LAME."
+ @${ECHO_MSG} "You will probably want to enable this, if you plan to"
+ @${ECHO_MSG} "rip DVDs or dub videos."
+.endif
+.if !defined(WITH_LIBDV)
@${ECHO_MSG}
- @${ECHO_MSG} "avifile support is enabled. Disable with WITHOUT_AVIFILE"
+ @${ECHO_MSG} "You can enable libdv-support by defining WITH_LIBDV."
+ @${ECHO_MSG} "You will probably want to enable this, if you plan to"
+ @${ECHO_MSG} "transcode DV data from a digital videocamera."
+.endif
+.if !defined(WITH_LIBA52)
+ @${ECHO_MSG}
+ @${ECHO_MSG} "You can enable liba52-support by defining WITH_LIBA52."
+ @${ECHO_MSG} "You will probably want to enable this, if you plan to"
+ @${ECHO_MSG} "rip DVDs."
+.endif
+.if !defined(WITH_AVIFILE)
+ @${ECHO_MSG}
+ @${ECHO_MSG} "You can enable avifile-dependent modules by defining WITH_AVIFILE."
.endif(WITH_AVIFILE)
-
.if !defined(WITH_NASM)
@${ECHO_MSG}
- @${ECHO_MSG} "You can enable the nasm dependent modules by defining WITH_NASM"
-.else
- @${ECHO_MSG}
- @${ECHO_MSG} "You enabled nasm support by defining WITH_NASM"
+ @${ECHO_MSG} "You can enable nasm dependent modules by defining WITH_NASM."
+ @${ECHO_MSG} "This turns this into an i386-only port."
.endif(WITH_NASM)
+.if !defined(WITH_OPENQUICKTIME)
+ @${ECHO_MSG}
+ @${ECHO_MSG} "You can enable openquicktime-dependent modules by defining WITH_OPENQUICKTIME."
+.endif
+.if !defined(WITH_FAME)
+ @${ECHO_MSG}
+ @${ECHO_MSG} "You can enable libfame-support by defining WITH_LIBFAME."
+.endif
+.if !defined(WITH_LIBMPEG2)
+ @${ECHO_MSG}
+ @${ECHO_MSG} "You can enable libmpeg2-dependent modules by defining WITH_LIBMPEG2."
+ @${ECHO_MSG} "You will probably want to enable this, if you plan to"
+ @${ECHO_MSG} "rip DVDs."
+.endif
+.if !defined(WITH_XVID)
+ @${ECHO_MSG}
+ @${ECHO_MSG} "You can enable xvid support by defining WITH_XVID."
+ @${ECHO_MSG} "This implies WITH_NASM and turns this into an i386-only port."
+ @${ECHO_MSG} "You will probably want to enable this, if you plan to"
+ @${ECHO_MSG} "rip DVDs."
+.endif
+
+post-patch:
+.if ${OSVERSION} <= 500027
+ @${FIND} ${WRKSRC} -type f | ${XARGS} -n 10 -x ${PERL} -pi \
+ -e 's|<stdint.h>|<inttypes.h>|'
+.endif
+.if !defined(WITH_OPTIMIZED_CFLAGS)
+ @${FIND} ${WRKSRC} -type f | ${XARGS} -n 10 -x ${PERL} -pi \
+ -e 's|-O[236]|${CFLAGS}|'
+.endif
+ @${PERL} -pi -e 's|(seek)64|\1|' ${WRKSRC}/avilib/avidump.c
+ @${PERL} -pi -e 's|<SDL/|<|' ${WRKSRC}/filter/preview/display.h
+
+pre-configure:
+ @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
+ @${PERL} -pi -e 's|-ldl||g' ${WRKSRC}/configure
+
+post-install:
+.if defined(WITH_XVID)
+ @${LN} -sf ${LOCALBASE}/lib/libxvidcore.so \
+ ${PREFIX}/lib/transcode/libxvidcore.so
+.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/multimedia/transcode/distinfo b/multimedia/transcode/distinfo
index a179eb5..3ffa297 100644
--- a/multimedia/transcode/distinfo
+++ b/multimedia/transcode/distinfo
@@ -1 +1 @@
-MD5 (transcode-0.6.0pre1.tgz) = 1ba5e116e34be2e3132148e539d7fc54
+MD5 (transcode-0.6.0pre4.tgz) = c0f9fdf944ed17312f224d3e5ac7d2b1
diff --git a/multimedia/transcode/files/patch-aa b/multimedia/transcode/files/patch-aa
deleted file mode 100644
index 7dd09b3..0000000
--- a/multimedia/transcode/files/patch-aa
+++ /dev/null
@@ -1,34 +0,0 @@
---- configure Thu Dec 13 20:17:56 2001
-+++ configure Sun Dec 16 01:48:02 2001
-@@ -5177,11 +5177,11 @@
- case "$target" in
- *-*-freebsd*)
- pthread_cflags="-D_REENTRANT -D_THREAD_SAFE"
-- pthread_lib="-pthread"
-+ pthread_lib="-llthread"
- ;;
- *)
- pthread_cflags="-D_REENTRANT"
-- pthread_lib="-lpthread"
-+ pthread_lib="-llthread"
- ;;
- esac
- LIBS="$pthread_lib $LIBS"
-@@ -5193,7 +5193,7 @@
- #line 5193 "configure"
- #include "confdefs.h"
-
-- #include <pthread.h>
-+ #include <pthread/linuxthreads/pthread.h>
-
- int
- main ()
-@@ -10604,7 +10604,7 @@
- qt_libs=""
- fi;
-
--EXTRA_LIBS="-lpng -lz -lpthread -lglib -ldl -lm"
-+EXTRA_LIBS="-lpng -lz -llthread -lglib -ldl -lm"
-
- if test x$with_qt = "x"yes ; then
-
diff --git a/multimedia/transcode/files/patch-ab b/multimedia/transcode/files/patch-ab
deleted file mode 100644
index d3e6f3e..0000000
--- a/multimedia/transcode/files/patch-ab
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/transcode.h Sun Dec 16 19:31:29 2001
-+++ src/transcode.h Sun Dec 16 19:31:59 2001
-@@ -39,6 +39,7 @@
- #include <string.h>
-
- #ifdef NET_STREAM
-+#include <sys/socket.h>
- #include <netinet/in.h>
- #include <netdb.h>
- #endif
diff --git a/multimedia/transcode/files/patch-ac b/multimedia/transcode/files/patch-ac
deleted file mode 100644
index 143bbf5..0000000
--- a/multimedia/transcode/files/patch-ac
+++ /dev/null
@@ -1,14 +0,0 @@
---- libmp3lame/rtp.c Sun Dec 16 19:42:01 2001
-+++ libmp3lame/rtp.c Sun Dec 16 19:42:17 2001
-@@ -1,10 +1,10 @@
- #include <stdlib.h>
- #include <string.h>
-+#include <sys/types.h>
- #include <netinet/in.h>
- #include <unistd.h>
- #include <stdlib.h>
- #include <stdio.h>
--#include <sys/types.h>
- #include <sys/socket.h>
- #include <arpa/inet.h>
-
diff --git a/multimedia/transcode/files/patch-ad b/multimedia/transcode/files/patch-ad
deleted file mode 100644
index 86b58cd..0000000
--- a/multimedia/transcode/files/patch-ad
+++ /dev/null
@@ -1,44 +0,0 @@
---- export/divx4_vbr.c.orig Sun Dec 16 19:53:45 2001
-+++ export/divx4_vbr.c Sun Dec 16 19:54:09 2001
-@@ -42,8 +42,6 @@
- #include <dlfcn.h>
- #include <math.h>
-
--#include <stdint.h>
--
- #include "config.h"
- #include "transcode.h"
- #include "vbr.h"
---- export/export_divx4.c.orig Sun Dec 16 19:53:25 2001
-+++ export/export_divx4.c Sun Dec 16 19:53:35 2001
-@@ -35,8 +35,6 @@
- #include <dlfcn.h>
- #include <math.h>
-
--#include <stdint.h>
--
- #include "divx4_encore2.h"
- #include "transcode.h"
- #include "avilib.h"
---- export/export_xvid.c.orig Sun Dec 16 19:53:51 2001
-+++ export/export_xvid.c Sun Dec 16 19:54:20 2001
-@@ -33,8 +33,6 @@
- #include <dlfcn.h>
- #include <math.h>
-
--#include <stdint.h>
--
- #include "xvid_encore2.h"
- #include "encore_ext.h"
-
---- export/xvid_vbr.c.orig Sun Dec 16 19:53:57 2001
-+++ export/xvid_vbr.c Sun Dec 16 19:54:30 2001
-@@ -42,8 +42,6 @@
- #include <dlfcn.h>
- #include <math.h>
-
--#include <stdint.h>
--
- #include "config.h"
- #include "transcode.h"
- #include "vbr.h"
diff --git a/multimedia/transcode/files/patch-ae b/multimedia/transcode/files/patch-ae
deleted file mode 100644
index a3fd04c..0000000
--- a/multimedia/transcode/files/patch-ae
+++ /dev/null
@@ -1,10 +0,0 @@
---- export/export_net.c.orig Sun Dec 16 20:00:01 2001
-+++ export/export_net.c Sun Dec 16 20:00:18 2001
-@@ -23,6 +23,7 @@
-
- #include <stdio.h>
- #include <stdlib.h>
-+#include <sys/types.h>
- #include <netinet/in.h>
- #include <netdb.h>
-
diff --git a/multimedia/transcode/files/patch-af b/multimedia/transcode/files/patch-af
deleted file mode 100644
index 26fca47..0000000
--- a/multimedia/transcode/files/patch-af
+++ /dev/null
@@ -1,19 +0,0 @@
---- import/nuv/rtjpeg_plugin.c.orig Fri Nov 30 19:52:41 2001
-+++ import/nuv/rtjpeg_plugin.c Sun Dec 16 20:10:54 2001
-@@ -23,7 +23,6 @@
-
- #define _LARGEFILE64_SOURCE 1
-
--#include <features.h>
- #include <stdio.h>
- #include <stdlib.h>
- #include <unistd.h>
-@@ -99,7 +98,7 @@
- regions[0].end = -1;
- }
-
-- rtjpeg_file=open(tplorg, O_RDONLY|O_LARGEFILE);
-+ rtjpeg_file=open(tplorg, O_RDONLY);
-
- if (rtjpeg_file == -1) {
- fprintf(stderr, "File not found: %s\n", tplorg);
diff --git a/multimedia/transcode/files/patch-ag b/multimedia/transcode/files/patch-ag
deleted file mode 100644
index 7249bc0..0000000
--- a/multimedia/transcode/files/patch-ag
+++ /dev/null
@@ -1,22 +0,0 @@
---- configure Thu Dec 13 13:17:56 2001
-+++ configure Wed Apr 3 12:42:10 2002
-@@ -10724,8 +10724,8 @@
- dv_libs=""
- fi;
-
--EXTRA_LIBS="$LIBS $GLIB_LIBS -ldl -lm"
--DV_EXTRA_LIBS="$GLIB_LIBS -ldl -lm"
-+EXTRA_LIBS="$LIBS $GLIB_LIBS -lm"
-+DV_EXTRA_LIBS="$GLIB_LIBS -lm"
-
- if test x$with_dv = "x"yes ; then
-
-@@ -10747,7 +10747,7 @@
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- ac_check_lib_save_LIBS=$LIBS
--LIBS="-ldv -L$with_dv_l -ldv ${EXTRA_LIBS} $LIBS"
-+LIBS="-ldv -L$with_dv_l -ldv ${EXTRA_LIBS} $LIBS -llthread"
- cat >conftest.$ac_ext <<_ACEOF
- #line 10752 "configure"
- #include "confdefs.h"
diff --git a/multimedia/transcode/pkg-comment b/multimedia/transcode/pkg-comment
index 3dc1315..eaac354 100644
--- a/multimedia/transcode/pkg-comment
+++ b/multimedia/transcode/pkg-comment
@@ -1 +1 @@
-Text-console based utility for video stream processing
+A text-console utility for video stream processing
diff --git a/multimedia/transcode/pkg-descr b/multimedia/transcode/pkg-descr
index 08de3d1..917d57a 100644
--- a/multimedia/transcode/pkg-descr
+++ b/multimedia/transcode/pkg-descr
@@ -1,12 +1,21 @@
-transcode is a text-console utility for video stream processing.
-It supports elementary video and audio frame transformations, including
-de-interlacing or fast resizing of video frames and loading of external filters.
+transcode is a text-console utility for video stream processing,
+running on a platform that supports shared libraries and threads.
+Decoding and encoding is done by loading modules that are responsible
+for feeding transcode with raw video/audio streams (import modules)
+and encoding the frames (export modules).
-A number of modules are included to enable import of DVDs on-the-fly,
-MPEG elementary (ES) or program streams (VOB), MPEG video, Digital Video (DV),
-YUV4MPEG streams, NuppelVideo file format and raw or compressed (pass-through)
-video frames and export modules for writing DivX;-), OpenDivX, DivX 4.xx or
-uncompressed AVI files with MPEG, AC3 (pass-through) or PCM audio.
-(Taken from the Website)
+It supports elementary video and audio frame transformations,
+including de-interlacing or fast resizing of video frames and loading
+of external filters. A number of modules are included to enable
+import of DVDs on-the-fly, MPEG elementary (ES) or program streams
+(VOB), MPEG video, Digital Video (DV), YUV4MPEG streams, NuppelVideo
+file format and raw or compressed (pass-through) video frames and
+export modules for writing DivX;-), OpenDivX, DivX 4.xx or uncompressed
+AVI files with MPEG, AC3 (pass-through) or PCM audio. Additional
+export modules to write single frames (PPM) or YUV4MPEG streams are
+available, as well as an interface import module to the avifile
+library. It's modular concept is intended to provide flexibility
+and easy user extensibility to include other video/audio codecs or
+filetypes.
WWW: http://www.theorie.physik.uni-goettingen.de/~ostreich/transcode/
diff --git a/multimedia/transcode/pkg-plist b/multimedia/transcode/pkg-plist
index becc409..796dd79 100644
--- a/multimedia/transcode/pkg-plist
+++ b/multimedia/transcode/pkg-plist
@@ -1,4 +1,3 @@
-bin/transcode
bin/tcmplex
bin/tcextract
bin/tcdecode
@@ -10,69 +9,116 @@ bin/avimerge
bin/avisplit
bin/avifix
bin/avisync
-lib/transcode/export_null.so
-lib/transcode/export_null.la
-lib/transcode/export_wav.so
-lib/transcode/export_wav.la
-lib/transcode/export_opendivx.so
-lib/transcode/export_opendivx.la
-lib/transcode/export_raw.so
-lib/transcode/export_raw.la
-lib/transcode/export_divx4.so
-lib/transcode/export_divx4.la
-lib/transcode/export_ppm.so
-lib/transcode/export_ppm.la
-lib/transcode/export_yuv4mpeg.so
-lib/transcode/export_yuv4mpeg.la
-lib/transcode/export_xvid.so
-lib/transcode/export_xvid.la
-lib/transcode/export_net.so
-lib/transcode/export_net.la
-lib/transcode/export_af6.conf
+bin/transcode
lib/transcode/import_nuv.so
lib/transcode/import_nuv.la
+%%WITH_AVIFILE%%lib/transcode/import_af6.so
+%%WITH_AVIFILE%%lib/transcode/import_af6.la
lib/transcode/import_net.so
lib/transcode/import_net.la
lib/transcode/import_avi.so
lib/transcode/import_avi.la
lib/transcode/import_mpeg2.so
lib/transcode/import_mpeg2.la
+lib/transcode/import_vdrac3.so
+lib/transcode/import_vdrac3.la
lib/transcode/import_ac3.so
lib/transcode/import_ac3.la
+lib/transcode/import_dv.so
+lib/transcode/import_dv.la
lib/transcode/import_vob.so
lib/transcode/import_vob.la
lib/transcode/import_raw.so
lib/transcode/import_raw.la
lib/transcode/import_yuv4mpeg.so
lib/transcode/import_yuv4mpeg.la
+lib/transcode/import_lav.so
+lib/transcode/import_lav.la
lib/transcode/import_null.so
lib/transcode/import_null.la
+lib/transcode/import_divx.so
+lib/transcode/import_divx.la
+%%WITH_LIBA52%%lib/transcode/a52_decore.so
+%%WITH_LIBA52%%lib/transcode/a52_decore.la
+%%WITH_LAME%%lib/transcode/import_mp3.so
+%%WITH_LAME%%lib/transcode/import_mp3.la
lib/transcode/import_dvd.so
lib/transcode/import_dvd.la
-lib/transcode/filter_subtitler.so
-lib/transcode/filter_subtitler.la
+%%WITH_IMAGEMAGICK%%lib/transcode/import_im.so
+%%WITH_IMAGEMAGICK%%lib/transcode/import_im.la
+%%WITH_IMAGEMAGICK%%lib/transcode/import_imlist.so
+%%WITH_IMAGEMAGICK%%lib/transcode/import_imlist.la
+lib/transcode/import_mjpeg.so
+lib/transcode/import_mjpeg.la
+lib/transcode/af6_decore.so
+lib/transcode/af6_decore.la
+%%WITH_LIBXML2%%lib/transcode/import_xml.so
+%%WITH_LIBXML2%%lib/transcode/import_xml.la
lib/transcode/filter_null.so
lib/transcode/filter_null.la
lib/transcode/filter_32detect.so
lib/transcode/filter_32detect.la
lib/transcode/filter_yuy2toyv12.so
lib/transcode/filter_yuy2toyv12.la
-lib/transcode/filter_dilyuvmmx.so
-lib/transcode/filter_dilyuvmmx.la
lib/transcode/filter_skip.so
lib/transcode/filter_skip.la
+lib/transcode/filter_astat.so
+lib/transcode/filter_astat.la
lib/transcode/filter_cut.so
lib/transcode/filter_cut.la
lib/transcode/filter_dnr.so
lib/transcode/filter_dnr.la
+lib/transcode/filter_xsharpen.so
+lib/transcode/filter_xsharpen.la
+lib/transcode/filter_smartdeinter.so
+lib/transcode/filter_smartdeinter.la
lib/transcode/filter_testframe.so
lib/transcode/filter_testframe.la
-%%WITH_LAME%%lib/transcode/export_mpeg.so
-%%WITH_LAME%%lib/transcode/export_mpeg.la
-%%WITH_LAME%%lib/transcode/import_mp3.la
-%%WITH_LAME%%lib/transcode/import_mp3.so
-%%WITH_LIBA52%%lib/transcode/a52_decore.la
-%%WITH_LIBA52%%lib/transcode/a52_decore.so
-%%WITH_LIBDV%%lib/transcode/import_dv.la
-%%WITH_LIBDV%%lib/transcode/import_dv.so
+lib/transcode/filter_dilyuvmmx.so
+lib/transcode/filter_dilyuvmmx.la
+lib/transcode/filter_divxkey.so
+lib/transcode/filter_divxkey.la
+lib/transcode/filter_extsub.so
+lib/transcode/filter_extsub.la
+lib/transcode/filter_resample.so
+lib/transcode/filter_resample.la
+lib/transcode/filter_test.so
+lib/transcode/filter_test.la
+%%WITH_SDL%%lib/transcode/filter_preview.so
+%%WITH_SDL%%lib/transcode/filter_preview.la
+lib/transcode/filter_subtitler.so
+lib/transcode/filter_subtitler.la
+lib/transcode/export_null.so
+lib/transcode/export_null.la
+lib/transcode/export_wav.so
+lib/transcode/export_wav.la
+%%WITH_AVIFILE%%lib/transcode/export_af6.so
+%%WITH_AVIFILE%%lib/transcode/export_af6.la
+lib/transcode/export_opendivx.so
+lib/transcode/export_opendivx.la
+lib/transcode/export_raw.so
+lib/transcode/export_raw.la
+lib/transcode/export_divx4.so
+lib/transcode/export_divx4.la
+lib/transcode/export_divx4raw.so
+lib/transcode/export_divx4raw.la
+lib/transcode/export_ppm.so
+lib/transcode/export_ppm.la
+lib/transcode/export_xvid.so
+lib/transcode/export_xvid.la
+lib/transcode/export_xvidcvs.so
+lib/transcode/export_xvidcvs.la
+lib/transcode/export_net.so
+lib/transcode/export_net.la
+%%WITH_LIBDV%%lib/transcode/export_dvraw.so
+%%WITH_LIBDV%%lib/transcode/export_dvraw.la
+%%WITH_LIBDV%%lib/transcode/export_dv.so
+%%WITH_LIBDV%%lib/transcode/export_dv.la
+lib/transcode/export_mpeg.so
+lib/transcode/export_mpeg.la
+%%WITH_IMAGEMAGICK%%lib/transcode/export_im.so
+%%WITH_IMAGEMAGICK%%lib/transcode/export_im.la
+lib/transcode/export_af6.conf
+%%WITH_XVID%%lib/transcode/libxvidcore.so
@dirrm lib/transcode
+
OpenPOWER on IntegriCloud