Thursday, March 29, 2007

converting 3gp movies to flv in Ubuntu 6.06 (dapper)

in first part i used an debian unstable server now i will show the steps used
converting 3gp movies to flv in ubuntu dapper (compiling required software)

sudo su

apt-get install libgsm1-dev toolame  libgsm1-dev libvorbis-dev  libogg-dev
apt-get install libfaad2-dev
apt-get install subversion
apt-get install  libgsm1-dev libgsmme-dev
apt-get install unzip
apt-get install liba52-0.7.4-dev

wget http://downloads.xvid.org/downloads/xvidcore-1.1.2.tar.bz2
tar -jxf xvidcore-1.1.2.tar.bz2
wget http://mesh.dl.sourceforge.net/sourceforge/lame/lame-3.97.tar.gz
tar -zxvf lame-3.97.tar.gz
cd lame-3.97
./configure --prefix=/usr;make;make install
cd ..
cd xvidcore-1.1.2/build/generic/
./configure --prefix=/usr;make;make install
cd ../../../

svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
cd ffmpeg/libavcodec/
mkdir amrwb_float
cd amrwb_float
wget http://www.3gpp.org/ftp/Specs/archive/26_series/26.204/26204-510.zip
unzip 26204-510.zip
unzip 26204-510_ANSI-C_source_code.zip
cd ..
mkdir amr_float
cd amr_float
wget http://www.3gpp.org/ftp/Specs/archive/26_series/26.104/26104-510.zip
unzip 26104-510.zip
unzip 26104-510_ANSI_C_source_code.zip
cd ../../
./configure --prefix=/opt/ffmpeg --enable-amr_nb --enable-amr_wb --enable-libogg --enable-libvorbis --enable-libgsm --enable-xvid --enable-liba52 --enable-libmp3lame --enable-gpl
make ; make install
cd ..
wget http://www2.mplayerhq.hu/MPlayer/releases/MPlayer-1.0rc1.tar.bz2
wget http://www2.mplayerhq.hu/MPlayer/releases/codecs/essential-20061022.tar.bz2
tar -jxvf essential-20061022.tar.bz2
mkdir /usr/lib/codecs/
cd essential-20061022
mv * /usr/lib/codecs/
cd ..
cd MPlayer-1.0rc1/
./configure --prefix=/opt/mplayer
make; make install

Mariuz's Blog: converting 3gp movies to flv

technorati tags:, , , , , ,

Blogged with Flock

No comments: