Saturday, April 30, 2011

FFmpeg compiling and installing in Linux Ubuntu Natty Narwhal 11.04

9 comments
1) Open your gnome-terminal or konsole

2) For deactivating previous settings that made by user...

   sudo apt-get remove ffmpeg x264 libx264-dev

3) To get the dependencies and system stuff...

  sudo apt-get update

sudo apt-get install build-essential git-core checkinstall yasm texi2html \
    libfaac-dev libjack-jackd2-dev libmp3lame-dev libopencore-amrnb-dev \
    libopencore-amrwb-dev libsdl1.2-dev libtheora-dev libva-dev libvdpau-dev \
    libvorbis-dev libx11-dev libxfixes-dev libxvidcore-dev zlib1g-dev

4) To get x264 and installin it...

   cd
 
git clone git://git.videolan.org/x264
 
cd x264

./configure

make

sudo checkinstall --pkgname=x264 --pkgversion="3:$(./version.sh | \
    awk -F'[" ]' '/POINT/{print $4"+git"$5}')" --backup=no --deldoc=yes \
    --fstrans=no --default


5) To get FFmpeg....

   cd
  
git clone git://git.videolan.org/ffmpeg

cd ffmpeg
  
./configure --enable-gpl --enable-version3 --enable-nonfree --enable-postproc \
    --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb \
    --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis \
    --enable-libx264 --enable-libxvid --enable-x11grab

make
  
sudo checkinstall --pkgname=ffmpeg --pkgversion="5:$(date +%Y%m%d%H%M)-git" --backup=no \
    --deldoc=yes --fstrans=no --default


hash x264 ffmpeg ffplay ffprobe

6) Now it's all done .. Now you can do your convertions via terminal codes.. I have mentioned them in a another post.. they are same for this distribution too..  If you are not ok with the terminal enter following code in terminal. It's a user friendly GUI for FFmpeg... Try it..


sudo apt-get install winff

9 comments:

Post a Comment

Keep a comment if you like this.. Thank you :)