summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-03-06 04:07:37 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-03-06 04:07:37 +0000
commit7e18115a19c75ee1d52d81c3c928d0fdee66c701 (patch)
tree1971010779cb37b616adf9245418804ac9bca788 /audio
parentOops, wrong version of this patch committed, fixed. (diff)
add rebler 1.0
A program to convert mpeg2 and ac3 into DivX with ac3 audio
Notes
Notes: svn path=/head/; revision=55615
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile1
-rw-r--r--audio/rebler/Makefile35
-rw-r--r--audio/rebler/distinfo1
-rw-r--r--audio/rebler/files/patch-rebler.cpp43
-rw-r--r--audio/rebler/pkg-comment1
-rw-r--r--audio/rebler/pkg-descr18
-rw-r--r--audio/rebler/pkg-plist1
7 files changed, 100 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 79436219103f..d343132dfe2f 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -174,6 +174,7 @@
SUBDIR += quelcom
SUBDIR += radio
SUBDIR += raproxy
+ SUBDIR += rebler
SUBDIR += replay
SUBDIR += rio
SUBDIR += rio500
diff --git a/audio/rebler/Makefile b/audio/rebler/Makefile
new file mode 100644
index 000000000000..cc0439e31570
--- /dev/null
+++ b/audio/rebler/Makefile
@@ -0,0 +1,35 @@
+# ex:ts=8
+# New ports collection makefile for: rebler
+# Date created: Nov 3, 2001
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= rebler
+PORTVERSION= 1.0
+CATEGORIES= audio
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= ports@FreeBSD.org
+
+LIB_DEPENDS= mpeg2:${PORTSDIR}/graphics/libmpeg2 \
+ aviplay:${PORTSDIR}/graphics/avifile \
+ popt:${PORTSDIR}/devel/popt
+
+USE_BZIP2= yes
+AVIFILE_CONFIG?= ${LOCALBASE}/bin/avifile-config
+CFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} \
+ `${AVIFILE_CONFIG} --cflags`
+LIBS+= -L${LOCALBASE}/lib -lm -lmpeg2 ${PTHREAD_LIBS} \
+ `${AVIFILE_CONFIG} --libs` -lpopt
+
+do-build:
+ @(cd ${WRKSRC} ; \
+ ${CXX} ${CXXFLAGS} rebler.cpp -o rebler ${LIBS})
+
+do-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/rebler ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/audio/rebler/distinfo b/audio/rebler/distinfo
new file mode 100644
index 000000000000..27bd44a5c389
--- /dev/null
+++ b/audio/rebler/distinfo
@@ -0,0 +1 @@
+MD5 (rebler-1.0.tar.bz2) = a68de698cc4aa8a04951116287bbd899
diff --git a/audio/rebler/files/patch-rebler.cpp b/audio/rebler/files/patch-rebler.cpp
new file mode 100644
index 000000000000..bd529f8c7549
--- /dev/null
+++ b/audio/rebler/files/patch-rebler.cpp
@@ -0,0 +1,43 @@
+--- rebler.cpp.orig Mon Aug 6 21:59:36 2001
++++ rebler.cpp Wed Mar 6 12:03:42 2002
+@@ -29,6 +29,7 @@
+ ******************************************************************************/
+
+
++#include <vector>
+ #include <string>
+ #include <iostream>
+ #include <fstream>
+@@ -281,8 +282,8 @@
+ void dumpCodec( const CodecInfo* ci )
+ {
+ cerr << "-------------------------------------------" << endl;
+- cerr << "Name : " << ci->text << endl;
+- cerr << "About : " << ci->about << endl;
++ cerr << "Name : " << ci->GetName() << endl;
++ cerr << "About : " << ci->GetAbout() << endl;
+ cerr << "Win32DLL : " << ci->dll << endl;
+ // cerr << "GUID : " << ci->guid << endl;
+ cerr << "module name: " << ci->modulename << endl;
+@@ -325,8 +326,8 @@
+ iter != ci->encoder_info.end();
+ iter++)
+ {
+- cerr << " " << "name : " << iter->name << endl;
+- cerr << " " << "about : " << iter->about << endl;
++ cerr << " " << "name : " << iter->GetName() << endl;
++ cerr << " " << "about : " << iter->GetAbout() << endl;
+ cerr << " " << "kind : ";
+ switch(iter->kind)
+ {
+@@ -338,8 +339,8 @@
+ {
+ cerr << "Select from: ";
+ for( std::vector<std::string>::const_iterator i =
+- iter->options.begin();
+- i != iter->options.end();
++ (std::vector<std::string>::const_iterator)iter->options.begin();
++ i != (std::vector<std::string>::const_iterator)iter->options.end();
+ i++ )
+ {
+ cerr << *i << " ";
diff --git a/audio/rebler/pkg-comment b/audio/rebler/pkg-comment
new file mode 100644
index 000000000000..671dccb86747
--- /dev/null
+++ b/audio/rebler/pkg-comment
@@ -0,0 +1 @@
+A program to convert mpeg2 and ac3 into DivX with ac3 audio
diff --git a/audio/rebler/pkg-descr b/audio/rebler/pkg-descr
new file mode 100644
index 000000000000..3bae2c9d4062
--- /dev/null
+++ b/audio/rebler/pkg-descr
@@ -0,0 +1,18 @@
+A program to convert mpeg2 and ac3 into DivX with ac3 audio multiplexed
+into it.
+
+rebler is mainly intended for people to digitize their home handy cam videos
+and preserve them online. For example tapes of weddings and other times that
+one might wish to watch over and over. Though there may be other uses for
+rebler than this.
+
+Some examples of usage:
+
+./rebler --input-ac3=music.ac3 --output-avi=snakes.avi \
+--output-fourcc=DIV3 </tmp/silly-big-pgppipe-file
+
+mpeg2dec -o pgmpipe -s /store/Jan2001Holiday.mpg | ./rebler \
+--input-ac3=classic-music.ac3 --output-avi=Jan2001Holiday.avi \
+--output-fourcc=DIV3
+
+WWW: http://sourceforge.net/projects/rebler/
diff --git a/audio/rebler/pkg-plist b/audio/rebler/pkg-plist
new file mode 100644
index 000000000000..a6bc89549c44
--- /dev/null
+++ b/audio/rebler/pkg-plist
@@ -0,0 +1 @@
+bin/rebler