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.
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
UPDATE: Check below!
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
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
Offline
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
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.
Last edited by Coscast (2011-10-09 12:00:17)
Offline
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
Offline
Yes, Adrian: My HOWTO is Copyleft Do whatever you want
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
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)
Offline
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
Offline
Did qt-faststart failed to compile?
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
It doesnt work? Or it fails to compile?
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
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
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
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
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
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
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
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
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
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
How do i update ffmegg and x264?
Offline
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