Whatbox Logo

Wiki > Ffmpeg

Installing FFmpeg

This guide outlines the steps to install FFmpeg, a comprehensive tool for handling multimedia files, on your seedbox.


  • Basic development tools like make and gcc should be available on your seedbox.

Installation Steps

  1. SSH into Your Seedbox: Connect to your seedbox using SSH:

    ssh yourusername@yourseedboxaddress

    Replace yourusername and yourseedboxaddress with your actual username and seedbox address.

  2. Create a Build Directory for FFmpeg: Create a directory for FFmpeg:

    mkdir -p ~/ffmpeg_build
  3. Download the FFmpeg Source Code: Download the latest version of FFmpeg:

    wget https://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2

    This URL points to the latest snapshot of FFmpeg.

  4. Extract the FFmpeg Source: Extract the downloaded source code:

    tar xjvf ffmpeg-snapshot.tar.bz2

    This command is tailored to the .tar.bz2 file from the provided link.

  5. Compile FFmpeg: Navigate to the source directory and compile:

    cd ffmpeg
    ./configure --prefix="$HOME/ffmpeg_build" --extra-cflags="-I$HOME/ffmpeg_build/include" --extra-ldflags="-L$HOME/ffmpeg_build/lib" --bindir="$HOME/bin"
    make install

    ffmpeg is the directory extracted from the tarball.

  6. Update Your PATH Environment: Add the path to the FFmpeg binaries to your PATH variable:

    echo 'export PATH="$HOME/bin:$PATH"' >> ~/.bashrc
    source ~/.bashrc
  7. Verify the Installation: Check the installation:

    ffmpeg -version


For issues during installation, check for any missed dependencies or typographical errors. For more detailed information, consult the FFmpeg Compilation Guide.