Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Sep 2007 18:08:39 GMT
From:      Alex Kozlov <spam@rm-rf.kiev.ua>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/116446: [new port] multimedia/flv2mpeg4: Fast and less lossy FLV to MPEG4(AVI/MOV/MP4/MP3/3GP) converter
Message-ID:  <200709181808.l8II8d33073998@www.freebsd.org>
Resent-Message-ID: <200709181810.l8IIA2hI066401@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         116446
>Category:       ports
>Synopsis:       [new port] multimedia/flv2mpeg4: Fast and less lossy FLV to MPEG4(AVI/MOV/MP4/MP3/3GP) converter
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 18 18:10:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Alex Kozlov
>Release:        FreeBSD 6.2
>Organization:
private
>Environment:
>Description:
Add new multimedia/flv2mpeg4 port.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	flv2mpeg4
#	flv2mpeg4/Makefile
#	flv2mpeg4/files
#	flv2mpeg4/files/Makefile.bsd
#	flv2mpeg4/pkg-descr
#
echo c - flv2mpeg4
mkdir -p flv2mpeg4 > /dev/null 2>&1
echo x - flv2mpeg4/Makefile
sed 's/^X//' >flv2mpeg4/Makefile << 'END-of-flv2mpeg4/Makefile'
X# New ports collection makefile for:   flv2mpeg4
X# Date created:			22 August 2007
X# Whom:					spam@rm-rf.kiev.ua
X#
X# $FreeBSD$
X#
X
XPORTNAME=		flv2mpeg4
XDISTVERSION=	20061129
XCATEGORIES=		multimedia
XMASTER_SITES=	${MASTER_SITE_LOCAL}
X
XMAINTAINER=		spam@rm-rf.kiev.ua
XCOMMENT=		Fast and less lossy FLV to MPEG4(AVI/MOV/MP4/MP3/3GP) converter
X
XLIB_DEPENDS=	avformat:${PORTSDIR}/multimedia/ffmpeg
X
XUSE_BZIP2=		yes
X
XMAKEFILE=		${FILESDIR}/Makefile.bsd
X
XPLIST_FILES=	bin/flv2mpeg4
X
XWRKSRC=			${WRKDIR}/${PORTNAME}/src
X
XSVNROOT=		https://vixynet.svn.sourceforge.net/svnroot/vixynet
X
Xgen-dist:
X	@if [ ! -f ${LOCALBASE}/bin/svn ]; then \
X		${ECHO_CMD}	"ERROR: You need to install devel/subversion for gen-dist target"; \
X		${FALSE}; \
X	fi
X	@if [ ! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \
X		${MKDIR} ${WRKDIR}/svn; \
X		cd ${WRKDIR}/svn &&	svn co ${SVNROOT} vixynet; \
X		cd ${WRKDIR}/svn/vixynet/trunk && \
X		${TAR} cfj ${_DISTDIR}${DISTFILES} flv2mpeg4; \
X		cd ${WRKDIR} && ${RM} -rf svn; \
X		cd ${.CURDIR} && ${MAKE} ${__softMAKEFLAGS} makesum; \
X	fi
X
X.include <bsd.port.mk>
END-of-flv2mpeg4/Makefile
echo c - flv2mpeg4/files
mkdir -p flv2mpeg4/files > /dev/null 2>&1
echo x - flv2mpeg4/files/Makefile.bsd
sed 's/^X//' >flv2mpeg4/files/Makefile.bsd << 'END-of-flv2mpeg4/files/Makefile.bsd'
XPREFIX?=	/usr/local
XBINDIR?=	$(PREFIX)/bin
X
XSRCS=		avformat_writer.c dcprediction.c flv2mpeg4.c fetch.c flvdecoder.c\
X			m4vencode.c mp3header.c
XLDADD+=		-lpthread -lavformat -lavcodec -lavutil
XCFLAGS+=	-O2
XCFLAGS+=	-I/usr/local/include/ffmpeg
XLDADD+=		-L/usr/local/lib
XPROG=		flv2mpeg4
XNO_MAN=		yes
X
X.include <bsd.prog.mk>
END-of-flv2mpeg4/files/Makefile.bsd
echo x - flv2mpeg4/pkg-descr
sed 's/^X//' >flv2mpeg4/pkg-descr << 'END-of-flv2mpeg4/pkg-descr'
Xflv2mpeg4 allows you convert a Flash Video / FLV file (YouTube's videos,etc)
Xto MPEG4 (AVI/MOV/MP4/MP3/3GP) file online. It is using a compressed domain
Xtranscoder technology (outline in Japanese). It converts FLV to MPEG4 faster
Xand less lossy than a typical transcoder.
END-of-flv2mpeg4/pkg-descr
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709181808.l8II8d33073998>