Install FFMPEG from source, Debian Jessie

Follow

My favourite

  • Opencv tutorial people detection
  • Head people cascade download
  • Opencv tutorial optical flow
  • Opencv Video stabilization
  • Opencv car dataset download
  • Opencv tutorial Transparent mask
  • Opencv videowriter
  • Opencv FFMPEG
  • Opencv Canny edge and hough lines
  • Debian FFMPEG instalation 

    One day, my server Debian is upgraded to Jessie. Nice name but FFMPEG packages and Media repos are missing. This is not something special but i will be enthusiastic to have this script few days ago. Here is a script to download and make, install FFMPEG on linux Debian system from source.

    Debian FFMPEG instalation 


    You need to install some prerequisites.

    sudo apt-get -y install git make nasm pkg-config libx264-dev libxext-dev libxfixes-dev zlib1g-dev
    

    Download FFMPEG from the website

     sudo wget -O ffmpeg-2.8.tar.bz2 "https://www.ffmpeg.org/releases/ffmpeg-2.8.tar.bz2"

    Unzip and remove if you like

    sudo tar -xvf ffmpeg-2.8.tar.bz2
    sudo rm -Rf ffmpeg-2.8.tar.bz2 
    Run configuretion in source Folder 

    ./configure --enable-nonfree --enable-gpl --enable-libx264 --enable-x11grab --enable-zlib

    Note here. -J2 depends on your number of processor cores. If you have 20 cores intel machine. Lets Run make -j20 

    make -j2

    Install and configure FFMPEG sudo make install sudo ldconfig -v

    No comments:

    Post a Comment

    ad

    Follow by Email

    Powered by Blogger.