Pacpl

De MochilaWiki
Revisão de 11h46min de 22 de outubro de 2011 por Banto Palmarino (discussão | contribs)
Ir para navegaçãoIr para pesquisar

Perl Audio Converter

Página do projeto

instalando

wget http://pub.nkosi.org/atrpms.repo
mv atrpms.repo /etc/yum.repos.d
yum install faac faad sox ffmpeg speex faad faac mplayer lame mppdec mppenc
yum install perl-CPAN
yum install -y perl-Inline perl-Test-Inline perl-Parse-RecDescent flac-devel libvorbis-devel perl-CDDB
cpan install Ogg::Vorbis::Header
cpan install Audio::Musepack
cpan install Audio::WMA
cpan install MP3::Tag
cpan install MP4::Info
cpan install Audio::FLAC::Header
wget -c http://ufpr.dl.sourceforge.net/project/pacpl/pacpl/4.0.5/pacpl-4.0.5.tar.bz2
tar jxvf pacpl-4.0.5.tar.bz2 
cd pacpl-4.0.5/
./configure --prefix=/usr
make
make install
wget http://ftp.pucpr.br/CPAN/authors/id/R/RG/RGARCIA/Switch-2.16.tar.gz
tar zxvf Switch-2.16.tar.gz
cd Switch-2.16/
perl Makefile.PL
make
make install

talvez precise instalar

wget http://search.cpan.org/CPAN/authors/id/F/FO/FOOF/libvorbis-perl-0.05.tar.gz
tar -zxf libvorbis-perl-0.05.tar.gz
cd libvorbis-perl-0.05
perl Makefile.PL
make
wget http://search.cpan.org/CPAN/authors/id/D/DB/DBP/Ogg-Vorbis-Header-0.03.tar.gz
tar -zxf Ogg-Vorbis-Header-0.03.tar.gz
cd Ogg-Vorbis-Header-0.03
perl Makefile.PL
cpan install Inline::MakeMaker
cpan install CDDB_get

usando

pacpl -to mp3 arquivo.flv

extraindo áudio em mp3 de vários arquivos flv de uma vez

for i in *.flv; do pacpl -to mp3 "$i"; done

referências