Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2011-01-22 11:17:57

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

[HOWTO] Install ffmpeg/yamdi/qt-fastart for Adult Script Pro on CentOS

This HOWTO is now outdated. Please use the documentation on the ffmpeg wiki to get ffmpeg compiled. https://trac.ffmpeg.org/wiki/CompilationGuide contains howtos for compiling ffmpeg on any distribution or unix system.

#################################
Hi,

Here is a quick howto on install ffmpeg with support for x263, amr, faac, vpx, lame and xvidcore, qt-fastart and yamdi for Adult Script Pro
on CentOS 5.x (x86 or x86_64). You will need ssh root access to do the installation:

Ok...seems like this post is incomplete...will finish this howto later today sad

UPDATE: Check below!


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

Offline

#2 2011-05-02 06:20:36

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

Re: [HOWTO] Install ffmpeg/yamdi/qt-fastart for Adult Script Pro on CentOS

Hi,

Here's the howto on installing ffmpeg (http://www.ffmpeg.org), qt-faststart (http://www.ffmpeg.org) and yamdi (http://yamdi.sourceforge.net/) on CentOS 5.x (x86 and x86_64).

First we need to install the DAG/RPMFORGE repository:

For x86:

rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm

For x86_64:

rpm -Uhv http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS//rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm

Once installed we need to install a few dependencies for ffmpeg:

yum install xvidcore-devel yasm faac-devel faad2-devel lame-devel libjpeg-devel libpng-devel libungif-devel git opencore-amr-devel

Install x264 from source (latest available version):

wget -c ftp://ftp.videolan.org/pub/x264/snapshots/last_x264.tar.bz2
tar xjf last_x264.tar.bz2
ls -la | grep x264
cd x264-snapshot-VERSION-FROM-ABOVE-LS-LA-GREP
./configure --prefix=/usr/local --enable-shared --enable-pic
make
make install
cd ..

Enable ld for /usr/local:

echo "/usr/local/lib" >> /etc/ld.so.conf.d/local.conf

Update libraries for /usr/local:

ldconfig

Install libvpx:

wget -c http://webm.googlecode.com/files/libvpx-v0.9.6.tar.bz2
tar xjf libvpx-v0.9.6.tar.bz2
cd libvpx-v0.9.6
./configure --prefix=/usr/local --enable-shared --enable-pic
make
make install
cd ..
ldconfig

Install ffmpeg from git:

git clone git://git.videolan.org/ffmpeg.git ffmpeg
cd ffmpeg
./configure --prefix=/usr/local --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-postproc \
    --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb \
    --enable-libvpx --enable-libx264 --enable-libxvid 
make
make install

Install qt-faststart:

make tools/qt-faststart
cp tools/qt-faststart /usr/local/bin/
cd ..

Install yamdi:

wget -c "http://downloads.sourceforge.net/project/yamdi/yamdi/1.8/yamdi-1.8.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fyamdi%2Ffiles%2F&ts=1304316900&use_mirror=garr"
tar -zxf yamdi-1.8.tar.gz
cd yamdi-1.8
make
cp yamdi /usr/local/bin/

Thats it, now you should have:

/usr/local/bin/ffmpeg
/usr/local/bin/qt-faststart
/usr/local/bin/yamdi

Let me know if you find any bugs or if you have any questions/sugestions.


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

Offline

#3 2011-05-02 11:21:09

Eri
Member
Registered: 2011-03-18
Posts: 977

Re: [HOWTO] Install ffmpeg/yamdi/qt-fastart for Adult Script Pro on CentOS

Everything is fine with the installation but when i go to admin/index.php?q=tools/check nothing works. Nothing is executable by the web server.


Best Adult Affilitate Network:
ExoClick
Best Deals on Dedicated Servers - CDN
INXY

Offline

#4 2011-05-02 15:25:17

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

Re: [HOWTO] Install ffmpeg/yamdi/qt-fastart for Adult Script Pro on CentOS

Do you have open_basedir or safe_mode enabled?


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

Offline

#5 2011-09-17 22:38:06

Coscast
Member
From: Germany
Registered: 2010-10-03
Posts: 546

Re: [HOWTO] Install ffmpeg/yamdi/qt-fastart for Adult Script Pro on CentOS

Hey!

I want to give something back to all you helped me.
Thank you AGAIN Adrian, without your PHP-Knowledge my site won't work.

The Debian Way:
1. Add in your /etc/apt/sources.list (Actual Stable aka SQUEEZE<-- WTF THAT SOUNDS SEXY):

deb http://www.debian-multimedia.org squeeze main non-free

2.

wget http://www.debian-multimedia.org/pool/main/d/debian-multimedia-keyring/debian-multimedia-keyring_2010.12.26_all.deb

3. Install the debian-multimedia-keyring package with

dpkg -i debian-multimedia-keyring_2008.12.26_all.deb

(click on the link above to download the package).
4.

apt-get update

5.

apt-get install libxvidcore4-dev yasm faac libfaad-dev libfaad2  lame libjpeg62-dev libpng12-dev libafterimage-dev git libopencore-amrnb-dev libopencore-amrwb-dev

I know this is a quicky, BUT: The packages Names are different from Centos Names. So: My apt-get command WILL install all the needed libraries for ASP.
If you have questions: Please ask here, i WILL answer. smile

Last edited by Coscast (2011-10-09 12:00:17)


sgt-halfsize-banner.jpg

Offline

#6 2011-09-17 22:58:52

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

Re: [HOWTO] Install ffmpeg/yamdi/qt-fastart for Adult Script Pro on CentOS

Can you please create a separate topic with this howto? Or if you allow me i will create one with your post. Thanks for contributing, btw.


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

Offline

#7 2011-09-17 23:21:18

Coscast
Member
From: Germany
Registered: 2010-10-03
Posts: 546

Re: [HOWTO] Install ffmpeg/yamdi/qt-fastart for Adult Script Pro on CentOS

Yes, Adrian: My HOWTO is Copyleft smile Do whatever you want smile


sgt-halfsize-banner.jpg

Offline

#8 2011-10-09 09:14:25

magicdream
Member
Registered: 2011-09-25
Posts: 15

Re: [HOWTO] Install ffmpeg/yamdi/qt-fastart for Adult Script Pro on CentOS

Coscast wrote:

Yes, Adrian: My HOWTO is Copyleft smile Do whatever you want smile

Hi Coscast,
Did it worked for you?
I have a Linux Debian (6) squeeze server, and when I use your tuto I get this error:

root@debian:/var# dpkg -i debian-multimedia-keyring_2008.10.16_all.deb
dpkg : erreur de traitement de debian-multimedia-keyring_2008.10.16_all.deb (--i                                nstall) :
 ne peut pas accéder à l'archive: Aucun fichier ou dossier de ce type
Des erreurs ont été rencontrées pendant l'exécution :
 debian-multimedia-keyring_2008.10.16_all.deb

That means when I try to dpkg the downloaded file I get errors

Offline

#9 2011-10-09 11:59:43

Coscast
Member
From: Germany
Registered: 2010-10-03
Posts: 546

Re: [HOWTO] Install ffmpeg/yamdi/qt-fastart for Adult Script Pro on CentOS

Uhm. Yes thats wrong. The filename is NOT:

debian-multimedia-keyring_2008.10.16_all.deb

It is named:

debian-multimedia-keyring_2010.12.26_all.deb

So you have to use

dpkg -i debian-multimedia-keyring_2010.12.26_all.deb

Last edited by Coscast (2011-10-09 12:01:32)


sgt-halfsize-banner.jpg

Offline

#10 2012-01-07 19:39:00

ful2fun.com
Member
From: GB
Registered: 2011-09-16
Posts: 1,040
Website

Re: [HOWTO] Install ffmpeg/yamdi/qt-fastart for Adult Script Pro on CentOS

symtab wrote:

Hi,

Here's the howto on installing ffmpeg (http://www.ffmpeg.org), qt-faststart (http://www.ffmpeg.org) and yamdi (http://yamdi.sourceforge.net/) on CentOS 5.x (x86 and x86_64).

First we need to install the DAG/RPMFORGE repository:

For x86:

rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm

For x86_64:

rpm -Uhv http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS//rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm

Once installed we need to install a few dependencies for ffmpeg:

yum install xvidcore-devel yasm faac-devel faad2-devel lame-devel libjpeg-devel libpng-devel libungif-devel git opencore-amr-devel

Install x264 from source (latest available version):

wget -c ftp://ftp.videolan.org/pub/x264/snapshots/last_x264.tar.bz2
tar xjf last_x264.tar.bz2
ls -la | grep x264
cd x264-snapshot-VERSION-FROM-ABOVE-LS-LA-GREP
./configure --prefix=/usr/local --enable-shared --enable-pic
make
make install
cd ..

Enable ld for /usr/local:

echo "/usr/local/lib" >> /etc/ld.so.conf.d/local.conf

Update libraries for /usr/local:

ldconfig

Install libvpx:

wget -c http://webm.googlecode.com/files/libvpx-v0.9.6.tar.bz2
tar xjf libvpx-v0.9.6.tar.bz2
cd libvpx-v0.9.6
./configure --prefix=/usr/local --enable-shared --enable-pic
make
make install
cd ..
ldconfig

Install ffmpeg from git:

git clone git://git.videolan.org/ffmpeg.git ffmpeg
cd ffmpeg
./configure --prefix=/usr/local --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-postproc \
    --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb \
    --enable-libvpx --enable-libx264 --enable-libxvid 
make
make install

Install qt-faststart:

make tools/qt-faststart
cp tools/qt-faststart /usr/local/bin/
cd ..

Install yamdi:

wget -c "http://downloads.sourceforge.net/project/yamdi/yamdi/1.8/yamdi-1.8.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fyamdi%2Ffiles%2F&ts=1304316900&use_mirror=garr"
tar -zxf yamdi-1.8.tar.gz
cd yamdi-1.8
make
cp yamdi /usr/local/bin/

Thats it, now you should have:

/usr/local/bin/ffmpeg
/usr/local/bin/qt-faststart
/usr/local/bin/yamdi

Let me know if you find any bugs or if you have any questions/sugestions.



I Tried qt-faststart in centos 6.2 (final) but it is not working and i tried and installed site with localhost it installed but mass embed not working or ftp uploadd not means it installed but not working how can i  make it work


ful2fun.com
livesexpirates.com

Offline

#11 2012-01-07 21:49:20

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

Re: [HOWTO] Install ffmpeg/yamdi/qt-fastart for Adult Script Pro on CentOS

Did qt-faststart failed to compile?


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

Offline

#12 2012-04-22 11:19:33

pxoxrxn
Member
Registered: 2011-12-01
Posts: 67
Website

Re: [HOWTO] Install ffmpeg/yamdi/qt-fastart for Adult Script Pro on CentOS

I followed these steps but still not getting any ticks. What could I be doing wrong?

Offline

#13 2012-04-24 11:52:04

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

Re: [HOWTO] Install ffmpeg/yamdi/qt-fastart for Adult Script Pro on CentOS

It doesnt work? Or it fails to compile?


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

Offline

#14 2012-04-24 17:27:58

Jeff
Member
Registered: 2012-02-14
Posts: 39

Re: [HOWTO] Install ffmpeg/yamdi/qt-fastart for Adult Script Pro on CentOS

If I want to update the ffmpeg, do I proceed the following code only?

I tried it, but I got git command not found message.

Install ffmpeg from git:

git clone git://git.videolan.org/ffmpeg.git ffmpeg
cd ffmpeg
./configure --prefix=/usr/local --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-postproc \
    --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb \
    --enable-libvpx --enable-libx264 --enable-libxvid 
make
make install

Offline

#15 2012-04-27 06:39:54

pxoxrxn
Member
Registered: 2011-12-01
Posts: 67
Website

Re: [HOWTO] Install ffmpeg/yamdi/qt-fastart for Adult Script Pro on CentOS

It compiles and everything, just no green ticks

Offline

#16 2012-04-27 13:35:23

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

Re: [HOWTO] Install ffmpeg/yamdi/qt-fastart for Adult Script Pro on CentOS

You need to make sure you have git installed. It is recommended you update both, x264 and ffmpeg. Either from GIT or latest public releases.


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

Offline

#17 2012-04-27 18:19:02

Jeff
Member
Registered: 2012-02-14
Posts: 39

Re: [HOWTO] Install ffmpeg/yamdi/qt-fastart for Adult Script Pro on CentOS

I purchased the installation package, so I should have the git installed?
If I don't, where can I get git? is there instruction for this?
One more question, do I type the commands from any directory, or in certain directory?

Offline

#18 2012-04-27 18:48:25

ionut
Moderator
Registered: 2012-03-12
Posts: 32

Re: [HOWTO] Install ffmpeg/yamdi/qt-fastart for Adult Script Pro on CentOS

Jeff wrote:

I purchased the installation package, so I should have the git installed?
If I don't, where can I get git? is there instruction for this?
One more question, do I type the commands from any directory, or in certain directory?

Usually we install latest released stable version of ffmpeg.
git is a program that helps you get the bleeding edge source code for a specific project, in your case ffmpeg.

you should understand that getting the code straight from git means that ffmpeg can be unstable.

to install git, just do yum install git.

you can create a directory called sources and use that to store sources but it doesn't matter.

Offline

#19 2012-06-30 02:14:18

Mitomind
Member
Registered: 2012-06-27
Posts: 166

Re: [HOWTO] Install ffmpeg/yamdi/qt-fastart for Adult Script Pro on CentOS

Can't seem to get this line working:

wget -c ftp://ftp.videolan.org/pub/x264/snapsho … 64.tar.bz2

Keeps giving me the error below.  Retries and then eventually gives up.

--2012-06-29 22:07:10--  ftp://ftp.videolan.org/pub/x264/snapsho … 64.tar.bz2
  (try:13) => `last_x264.tar.bz2'
Connecting to ftp.videolan.org|88.191.250.2|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /pub/x264/snapshots ... done.
==> SIZE last_x264.tar.bz2 ... 554057
==> PASV ... couldn't connect to 88.191.250.2 port 39041: Connection timed out
Retrying.

Last edited by Mitomind (2012-06-30 02:15:07)

Offline

#20 2012-06-30 05:50:56

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

Re: [HOWTO] Install ffmpeg/yamdi/qt-fastart for Adult Script Pro on CentOS

Maybe their server is down right now. Just go to http://www.videolan.org/developers/x264.html and download.


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

Offline

#21 2012-07-04 16:17:18

Tenche
Member
Registered: 2012-06-30
Posts: 46

Re: [HOWTO] Install ffmpeg/yamdi/qt-fastart for Adult Script Pro on CentOS

pornopowered wrote:

Can't seem to get this line working:

wget -c ftp://ftp.videolan.org/pub/x264/snapsho … 64.tar.bz2

Keeps giving me the error below.  Retries and then eventually gives up.

--2012-06-29 22:07:10--  ftp://ftp.videolan.org/pub/x264/snapsho … 64.tar.bz2
  (try:13) => `last_x264.tar.bz2'
Connecting to ftp.videolan.org|88.191.250.2|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /pub/x264/snapshots ... done.
==> SIZE last_x264.tar.bz2 ... 554057
==> PASV ... couldn't connect to 88.191.250.2 port 39041: Connection timed out
Retrying.

Use http:// mirrors and not ftp://. I had the same problem.


So I have a question about this. The script looks for ffmpeg in /usr/bin, not /usr/local. I COULD create symlinks, but I wanted to be sure I wasn't missing something painfully obvious.

Last edited by Tenche (2012-07-04 16:18:30)

Offline

#22 2012-07-04 16:56:50

Mitomind
Member
Registered: 2012-06-27
Posts: 166

Re: [HOWTO] Install ffmpeg/yamdi/qt-fastart for Adult Script Pro on CentOS

Tenche wrote:
pornopowered wrote:

Can't seem to get this line working:

wget -c ftp://ftp.videolan.org/pub/x264/snapsho … 64.tar.bz2

Keeps giving me the error below.  Retries and then eventually gives up.

--2012-06-29 22:07:10--  ftp://ftp.videolan.org/pub/x264/snapsho … 64.tar.bz2
  (try:13) => `last_x264.tar.bz2'
Connecting to ftp.videolan.org|88.191.250.2|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /pub/x264/snapshots ... done.
==> SIZE last_x264.tar.bz2 ... 554057
==> PASV ... couldn't connect to 88.191.250.2 port 39041: Connection timed out
Retrying.

Use http:// mirrors and not ftp://. I had the same problem.


So I have a question about this. The script looks for ffmpeg in /usr/bin, not /usr/local. I COULD create symlinks, but I wanted to be sure I wasn't missing something painfully obvious.

You have to use the http instead of ftp.

Not sure what I exactly did... but I think I replaced the ftp:// with http://

I got it working in the end with the above mod.  There were some other modifications to the how to also, mostly with update of files... versions.

Offline

#23 2012-07-04 20:39:54

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

Re: [HOWTO] Install ffmpeg/yamdi/qt-fastart for Adult Script Pro on CentOS

You can define the path for ffmpeg in Admin -> Video -> Config -> Conversion


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

Offline

#24 2012-07-27 20:09:23

DuttyRock
Member
Registered: 2011-11-05
Posts: 740

Re: [HOWTO] Install ffmpeg/yamdi/qt-fastart for Adult Script Pro on CentOS

How do i update ffmegg and x264?

Offline

#25 2012-07-28 06:49:04

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

Re: [HOWTO] Install ffmpeg/yamdi/qt-fastart for Adult Script Pro on CentOS

Exactly the same as you install it. Please check the howto in this topic.


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

Offline

Board footer

Powered by FluxBB