Pacpl
De MochilaWiki
Revisão de 00h17min de 26 de outubro de 2011 por Banto Palmarino (discussão | contribs) (→instalando)
Perl Audio Converter
Página do projeto
instalando
Pré-configuração: Build-essential fedora
yum install faac faad sox ffmpeg speex faad faac mplayer lame mppdec mppenc id3lib-devel flac-devel libvorbis-devel
yum install -y perl-Inline perl-Test-Inline perl-Parse-RecDescent perl-CDDB perl-CPAN
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