Information
ffmpeg is better opensource tool to convert videos from one format to another format. This tool supports almost all the video formats. It is based on video codecs and audio codec libs.
Prerequisites
It requires the following libs need to be installed before compiling ffmpeg,
sudo apt-get install libavcodec-extra-52 libtheora0 libtheora-dev libvorbis0 libvorbis-dev libxvidcore-dev libxvidcore4 libfaac0 libfaad2 libavcodec52 libavformat52 libavidemux0 libavcodec-dev libavformat-dev libavutil49 libavutil-dev
Installing FFMPEG
Download the ffmpeg source from the following linkhttp://www.ffmpeg.org/releases/ffmpeg-0.8.1.tar.bz2
Compiling
bunzip2 ffmpeg-0.8.1.tar.bz2
tar xvf ffmpeg-0.8.1.tar
cd ffmpeg-0.8.1
./configure –prefix=/usr –enable-libvorbis –enable-libtheora –enable-libfaac –enable-libxvid –disable-debug –enable-gpl –enable-nonfree –disable-yasm
make
sudo make install
Converting videos
FLV to 3GP
ffmpeg -i youtube.flv -s qcif -vcodec h263 -acodec libfaac -ac 1 -ar 8000 -r 25 -ab 32 -y youtube.3gp
Support
If you need any help please ask me..will help to convert your videos into required format.