1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

add rebler 1.0

A program to convert mpeg2 and ac3 into DivX with ac3 audio
This commit is contained in:
Ying-Chieh Liao 2002-03-06 04:07:37 +00:00
parent 564fbcb2a6
commit 7e18115a19
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=55615
7 changed files with 100 additions and 0 deletions

View File

@ -174,6 +174,7 @@
SUBDIR += quelcom
SUBDIR += radio
SUBDIR += raproxy
SUBDIR += rebler
SUBDIR += replay
SUBDIR += rio
SUBDIR += rio500

35
audio/rebler/Makefile Normal file
View File

@ -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>

1
audio/rebler/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (rebler-1.0.tar.bz2) = a68de698cc4aa8a04951116287bbd899

View File

@ -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 << " ";

1
audio/rebler/pkg-comment Normal file
View File

@ -0,0 +1 @@
A program to convert mpeg2 and ac3 into DivX with ac3 audio

18
audio/rebler/pkg-descr Normal file
View File

@ -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/

1
audio/rebler/pkg-plist Normal file
View File

@ -0,0 +1 @@
bin/rebler