aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2007-09-25 05:36:23 +0800
committeredwin <edwin@FreeBSD.org>2007-09-25 05:36:23 +0800
commite6fbfcbb52e5ab48d57475976d54fafc81294428 (patch)
tree4e9d253ee357338e2dcae66584855f710c81881a
parent07c1a0e5fd9e173adea09bb4a48317f60e16f173 (diff)
downloadfreebsd-ports-gnome-e6fbfcbb52e5ab48d57475976d54fafc81294428.tar.gz
freebsd-ports-gnome-e6fbfcbb52e5ab48d57475976d54fafc81294428.tar.zst
freebsd-ports-gnome-e6fbfcbb52e5ab48d57475976d54fafc81294428.zip
[new port] multimedia/flv2mpeg4: Fast and less lossy FLV to
MPEG4(AVI/MOV/MP4/MP3/3GP) converter flv2mpeg4 allows you convert a Flash Video / FLV file (YouTube's videos,etc) to MPEG4 (AVI/MOV/MP4/MP3/3GP) file online. It is using a compressed domain transcoder technology (outline in Japanese). It converts FLV to MPEG4 faster and less lossy than a typical transcoder. PR: ports/116446 Submitted by: Alex Kozlov <spam@rm-rf.kiev.ua>
-rw-r--r--multimedia/Makefile1
-rw-r--r--multimedia/flv2mpeg4/Makefile42
-rw-r--r--multimedia/flv2mpeg4/distinfo3
-rw-r--r--multimedia/flv2mpeg4/files/Makefile.bsd13
-rw-r--r--multimedia/flv2mpeg4/pkg-descr4
5 files changed, 63 insertions, 0 deletions
diff --git a/multimedia/Makefile b/multimedia/Makefile
index 77214d250d42..bac708bee723 100644
--- a/multimedia/Makefile
+++ b/multimedia/Makefile
@@ -37,6 +37,7 @@
SUBDIR += etoile-multimediakit
SUBDIR += exportvideo
SUBDIR += ffmpeg
+ SUBDIR += flv2mpeg4
SUBDIR += freevo
SUBDIR += fxtv
SUBDIR += gaupol
diff --git a/multimedia/flv2mpeg4/Makefile b/multimedia/flv2mpeg4/Makefile
new file mode 100644
index 000000000000..58d72e49efd1
--- /dev/null
+++ b/multimedia/flv2mpeg4/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for: flv2mpeg4
+# Date created: 22 August 2007
+# Whom: spam@rm-rf.kiev.ua
+#
+# $FreeBSD$
+#
+
+PORTNAME= flv2mpeg4
+DISTVERSION= 20061129
+CATEGORIES= multimedia
+MASTER_SITES= http://src4.narod.ru/
+
+MAINTAINER= spam@rm-rf.kiev.ua
+COMMENT= Fast and less lossy FLV to MPEG4(AVI/MOV/MP4/MP3/3GP) converter
+
+LIB_DEPENDS= avformat:${PORTSDIR}/multimedia/ffmpeg
+
+USE_BZIP2= yes
+
+MAKEFILE= ${FILESDIR}/Makefile.bsd
+
+PLIST_FILES= bin/flv2mpeg4
+
+WRKSRC= ${WRKDIR}/${PORTNAME}/src
+
+SVNROOT= https://vixynet.svn.sourceforge.net/svnroot/vixynet
+
+gen-dist:
+ @if [ ! -f ${LOCALBASE}/bin/svn ]; then \
+ ${ECHO_CMD} "ERROR: You need to install devel/subversion for gen-dist target"; \
+ ${FALSE}; \
+ fi
+ @if [ ! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \
+ ${MKDIR} ${WRKDIR}/svn; \
+ cd ${WRKDIR}/svn && svn co ${SVNROOT} vixynet; \
+ cd ${WRKDIR}/svn/vixynet/trunk && \
+ ${TAR} cfj ${_DISTDIR}${DISTFILES} flv2mpeg4; \
+ cd ${WRKDIR} && ${RM} -rf svn; \
+ cd ${.CURDIR} && ${MAKE} ${__softMAKEFLAGS} makesum; \
+ fi
+
+.include <bsd.port.mk>
diff --git a/multimedia/flv2mpeg4/distinfo b/multimedia/flv2mpeg4/distinfo
new file mode 100644
index 000000000000..fd40ec609b8e
--- /dev/null
+++ b/multimedia/flv2mpeg4/distinfo
@@ -0,0 +1,3 @@
+MD5 (flv2mpeg4-20061129.tar.bz2) = f757e1b0b2aa17db9551df32df39b1d9
+SHA256 (flv2mpeg4-20061129.tar.bz2) = 84dee9767969b5166f1f72dc7e48370d621b048eb6f99250a4334354e16d1303
+SIZE (flv2mpeg4-20061129.tar.bz2) = 154190
diff --git a/multimedia/flv2mpeg4/files/Makefile.bsd b/multimedia/flv2mpeg4/files/Makefile.bsd
new file mode 100644
index 000000000000..6581f50587b5
--- /dev/null
+++ b/multimedia/flv2mpeg4/files/Makefile.bsd
@@ -0,0 +1,13 @@
+PREFIX?= /usr/local
+BINDIR?= $(PREFIX)/bin
+
+SRCS= avformat_writer.c dcprediction.c flv2mpeg4.c fetch.c flvdecoder.c\
+ m4vencode.c mp3header.c
+LDADD+= -lpthread -lavformat -lavcodec -lavutil
+CFLAGS+= -O2
+CFLAGS+= -I/usr/local/include/ffmpeg
+LDADD+= -L/usr/local/lib
+PROG= flv2mpeg4
+NO_MAN= yes
+
+.include <bsd.prog.mk>
diff --git a/multimedia/flv2mpeg4/pkg-descr b/multimedia/flv2mpeg4/pkg-descr
new file mode 100644
index 000000000000..34be363b46d1
--- /dev/null
+++ b/multimedia/flv2mpeg4/pkg-descr
@@ -0,0 +1,4 @@
+flv2mpeg4 allows you convert a Flash Video / FLV file (YouTube's videos,etc)
+to MPEG4 (AVI/MOV/MP4/MP3/3GP) file online. It is using a compressed domain
+transcoder technology (outline in Japanese). It converts FLV to MPEG4 faster
+and less lossy than a typical transcoder.