0% found this document useful (0 votes)
825 views4 pages

Detailed Server Requirements Install Xstreamer Lite: Libx264 Libfdk-Aac Libvpx Ffmpeg

To install xStreamer Lite, follow these steps: 1. Install prerequisite packages like PHP 5.5.9, Yasm, libx264, libfdk-aac, libvpx. 2. Compile and install FFmpeg from source instead of using the pre-built package. 3. Download, compile and install dependencies like Yasm, x264, fdk-aac, libvpx. 4. Compile and install the latest FFmpeg source while specifying dependencies.

Uploaded by

Roy Kuchy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
825 views4 pages

Detailed Server Requirements Install Xstreamer Lite: Libx264 Libfdk-Aac Libvpx Ffmpeg

To install xStreamer Lite, follow these steps: 1. Install prerequisite packages like PHP 5.5.9, Yasm, libx264, libfdk-aac, libvpx. 2. Compile and install FFmpeg from source instead of using the pre-built package. 3. Download, compile and install dependencies like Yasm, x264, fdk-aac, libvpx. 4. Compile and install the latest FFmpeg source while specifying dependencies.

Uploaded by

Roy Kuchy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Detailed server requirements install xStreamer Lite

1. PHP version >= 5.5.9


2. Install FFmpeg and just install the packages as below for FFmpeg:
- Yasm
- libx264
- libfdk-aac
- libvpx
- ffmpeg

(*) Note: Not install FFmpeg with command apt-get install ffmpeg (Ubuntu) or yum
install ffmpeg (Centos). Because this ffmpeg can not execute command ffmpeg for
source xStreamer Lite.

You can follow by instructs to install ffmpeg for Ubuntu:


https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu

sudo apt-get update

sudo apt-get -y install autoconf automake build-essential libass-dev libfreetype6-dev \


libsdl1.2-dev libtheora-dev libtool libva-dev libvdpau-dev libvorbis-dev libxcb1-dev
libxcb-shm0-dev \
libxcb-xfixes0-dev pkg-config texinfo zlib1g-dev

mkdir ~/ffmpeg_sources

cd ~/ffmpeg_sources
wget http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz
tar xzvf yasm-1.3.0.tar.gz
cd yasm-1.3.0
./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin"
make
make install
make distclean

cd ~/ffmpeg_sources
wget http://download.videolan.org/pub/x264/snapshots/last_x264.tar.bz2
tar xjvf last_x264.tar.bz2
cd x264-snapshot*
PATH="$HOME/bin:$PATH" ./configure --prefix="$HOME/ffmpeg_build"
--bindir="$HOME/bin" --enable-static --disable-opencl
PATH="$HOME/bin:$PATH" make
make install
make distclean
cd ~/ffmpeg_sources
wget -O fdk-aac.tar.gz https://github.com/mstorsjo/fdk-aac/tarball/master
tar xzvf fdk-aac.tar.gz
cd mstorsjo-fdk-aac*
autoreconf -fiv
./configure --prefix="$HOME/ffmpeg_build" --disable-shared
make
make install
make distclean

cd ~/ffmpeg_sources
wget
http://storage.googleapis.com/downloads.webmproject.org/releases/webm/libvpx-1.6.0.tar.bz
2
tar xjvf libvpx-1.6.0.tar.bz2
cd libvpx-1.6.0
PATH="$HOME/bin:$PATH" ./configure --prefix="$HOME/ffmpeg_build" --disable-examples
--disable-unit-tests
PATH="$HOME/bin:$PATH" make
make install
make clean

cd ~/ffmpeg_sources
wget http://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2
tar xjvf ffmpeg-snapshot.tar.bz2
cd ffmpeg
PATH="$HOME/bin:$PATH" PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig"
./configure \
--prefix="$HOME/ffmpeg_build" \
--pkg-config-flags="--static" \
--extra-cflags="-I$HOME/ffmpeg_build/include" \
--extra-ldflags="-L$HOME/ffmpeg_build/lib" \
--bindir="$HOME/bin" \
--enable-gpl \
--enable-libfdk-aac \
--enable-libvpx \
--enable-libx264 \
--enable-nonfree
PATH="$HOME/bin:$PATH" make
make install
make distclean
hash -r

ln -s /root/bin/ffmpeg /usr/local/bin/ffmpeg
You can follow by instructs to install ffmpeg for Centos:
https://trac.ffmpeg.org/wiki/CompilationGuide/Centos

yum install autoconf automake bzip2 cmake freetype-devel gcc gcc-c++ git libtool make
mercurial nasm pkgconfig zlib-devel

mkdir ~/ffmpeg_sources

cd ~/ffmpeg_sources
git clone --depth 1 git://github.com/yasm/yasm.git
cd yasm
autoreconf -fiv
./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin"
make
make install
echo

cd ~/ffmpeg_sources
git clone --depth 1 git://git.videolan.org/x264
cd x264
PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure
--prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin" --enable-static
make
make install
echo

cd ~/ffmpeg_sources
git clone --depth 1 git://git.code.sf.net/p/opencore-amr/fdk-aac
cd fdk-aac
autoreconf -fiv
./configure --prefix="$HOME/ffmpeg_build" --disable-shared
make
make install
echo

cd ~/ffmpeg_sources
git clone --depth 1 https://chromium.googlesource.com/webm/libvpx.git
cd libvpx
./configure --prefix="$HOME/ffmpeg_build" --disable-examples
make
make install
echo

cd ~/ffmpeg_sources
curl -O http://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2
tar xjvf ffmpeg-snapshot.tar.bz2
cd ffmpeg
PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure
--prefix="$HOME/ffmpeg_build" --extra-cflags="-I$HOME/ffmpeg_build/include"
--extra-ldflags="-L$HOME/ffmpeg_build/lib -ldl" --bindir="$HOME/bin"
--pkg-config-flags="--static" --enable-gpl --enable-nonfree --enable-libfdk_aac --enable-libvpx
--enable-libx264
make
make install
hash -r

ln -s /root/bin/ffmpeg /usr/local/bin/ffmpeg

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy