From acbe3ce54a411ccb77e6ffb20cfb19664b5afc20 Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Mon, 24 Sep 2007 21:36:23 +0000 Subject: [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 --- multimedia/Makefile | 1 + multimedia/flv2mpeg4/Makefile | 42 +++++++++++++++++++++++++++++++++ multimedia/flv2mpeg4/distinfo | 3 +++ multimedia/flv2mpeg4/files/Makefile.bsd | 13 ++++++++++ multimedia/flv2mpeg4/pkg-descr | 4 ++++ 5 files changed, 63 insertions(+) create mode 100644 multimedia/flv2mpeg4/Makefile create mode 100644 multimedia/flv2mpeg4/distinfo create mode 100644 multimedia/flv2mpeg4/files/Makefile.bsd create mode 100644 multimedia/flv2mpeg4/pkg-descr (limited to 'multimedia') 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 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 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. -- cgit v1.2.3