Adult Script Pro Community Forums

Create, help and share your ideas with the community!

You are not logged in.

#1 2010-12-22 21:32:55

symtab
Administrator
Registered: 2010-08-23
Posts: 7,495
Website

[HOWTO] Install ffmpeg/qt-faststart/yamdi for AdultScriptPro on Ubuntu

Hi,

This small HOWTO will explain how to install ffmpeg, yamdi and qt-faststart to work with Adult Script Pro on Ubuntu Maverick Meerkat 10.10  (server or desktop). You will need ssh root access for the installation.

Remove installed ffmpeg/x264:

sudo apt-get remove ffmpeg x264 x264-devel

Install requirements:

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

Install X264:

cd
git clone git://git.videolan.org/x264.git
cd x264
./configure
make
sudo checkinstall --pkgname=x264 --pkgversion "2:0.`grep X264_BUILD x264.h -m1 | \
    cut -d' ' -f3`.`git rev-list HEAD | wc -l`+git`git rev-list HEAD -n 1 | \
    head -c 7`" --backup=no --deldoc=yes --fstrans=no --default

Install ffmpeg:

cd
svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk 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-libvpx --enable-libx264 --enable-libxvid --enable-x11grab
make
sudo checkinstall --pkgname=ffmpeg --pkgversion "4:SVN-r`LANG=C svn info | \
    grep Revision | awk '{ print $NF }'`" --backup=no --deldoc=yes --fstrans=no \
    --default
hash x264 ffmpeg ffplay

Install qt-faststart:

cd ~/ffmpeg
make tools/qt-faststart
sudo checkinstall --pkgname=qt-faststart --pkgversion "4:SVN-r`LANG=C svn info | \
    grep Revision | awk '{ print $NF }'`" --backup=no --deldoc=yes --fstrans=no \
    --default install -D -m755 tools/qt-faststart /usr/local/bin/qt-faststart

Install yamdi:

apt-get install yamdi

Applications will be installed in the following locations:
ffmpeg: /usr/local/bin/ffmpeg
yamdi: /usr/bin/yamdi
qt-faststart: /usr/local/bin/qt-faststart

For older versions of Ubuntu please see this url: http://ubuntuforums.org/showthread.php?t=786095

You can also buy our Server Setup service (49$) if you dont have time to or dont want to use
ssh, from here: http://www.adultscriptpro.com/services/ … setup.html.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

Board footer

Powered by FluxBB