Site, Server Genel » Genel Makaleler

FFMPEG Installation Advanced

http://forum.whmdestek.com/

Go Back   WHM/cPanel Support Platform » Türkçe » Site, Sunucu Sorunlarınız ve Çözümleri » Site, Server Genel » Genel Makaleler
 


Reply
 
LinkBack (3) Thread Tools Display Modes
  3 links from elsewhere to this Post. Click to view. #1  
Old 28.06.07, 02:35
Onursal's Avatar
fshbcr
 
Join Date: Jun 2007
Location: Çorlu
Age: 28
Posts: 638
Rep Power: 1092
Onursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond repute
Send a message via MSN to Onursal
FFMPEG Installation Advanced

FFMPEG KURULUM

Kurulumun desteklediği işletim sistemleri: Fedora Core 4+/RHE, Centos 4+

Kurulum Özeti
download edin ve yükleyin aşağıdakileri:
libffac, libffad2,nasm, x264,amr, xvid, libogg, libvorbis, mp3lame, 3gp, ffmpeg

Yükleme klasörö oluşturun ve paketleri indirin
1)ssh a girin
2) cd /usr/src && mkdir install && cd install

3) Paketleri kontrol edin
rpm -qa automake autoconf libtool m4 gcc-c++ libogg-devel libvorbis-devel ncurses nasm subversion

4) Eksik paketleri yükleyin

Tüm paketlerin yüklü olduğundan emin olun aksi takdirde kurulum başarısız olacaktır

yum install automake autoconf libtool m4 gcc-c++ libogg-devel libvorbis-devel ncurses nasm subversion

4a) *Fedora Core/Centos Kullanıcılarının dikkatine*
Eğer dries repo linkteki rpm leriniz yüklü ise manuel olarak download etmek yerine yum paket yükleyiciyi kullanabilirsiniz.

yum install libogg-devel libvorbis-devel x264-devel lame-devel faad2-devel faac-devel xvidcore-devel.i386 a52dec-devel.i386 amrnb-devel.i386

eğer bu komut çalışır ise 12. adıma geçiniz.

5) Video kodeklerini download ediniz

wget SourceForge.net: Downloading ...
wget SourceForge.net: Downloading ...
wget http://mesh.dl.sourceforge.net/sourc...me-3.97.tar.gz
wget http://downloads.xvid.org/downloads/...e-1.1.2.tar.gz
svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
svn co svn://svn.videolan.org/x264/trunk x264

6) Tüm paketlerin tar'larını açınız
tar -zxvf faac-1.24.tar.gz
tar -zxvf faad2-2.0.tar.gz
tar -zxvf lame-3.97.tar.gz
tar -zxvf xvidcore-1.1.2.tar.gz

eğer eksik var ise basit bir şekilde şu komutu kullanınız yum install (paket ismi) eğer bir paket yöneticiniz yok ise hemen edinin.size hem zaman kazandırır hem de başağrılarından kurtulursunuz.

7)Faac ı yükleyin

# cd faac
# sh bootstrap
# ./configure
# make; make install && cd ..

8) Faad2 yi yükleyin

# cd faad2
bu paketde 2 adet açık var.bu yüzden manuel olarak düzeltmeniz gerekiyor.
# nano Makefile.am
dosyayı aşağıdaki gibi görünecek şekilde düzenleyin

Quote:
SUBDIRS = libfaad common frontend plugins
EXTRA_DIST = faad2.spec

# cd common/mp4ff && nano mp4ffint.h

şu satırı bulun void mp4ff_track_add(mp4ff_t *f);

ve şu şekilde görünecek biçimde düzeltin
Quote:
//void mp4ff_track_add(mp4ff_t *f);


dosyayı kayıt edin

# cd ../..
# autoreconf -vif
# ./configure
# make;make install
# cd ..

9)Audi için LAME yükleyin

# cd lame*
# ./configure; make;make install
# cd ..

10) Xvid i yükleyin

# cd xvid*/build/generic/
# ./configure; make; make install;
# cd ../../..

11) x264 ü yükleyin

# cd x264
# ./configure --enable-shared
# make;make install
# cd ..

12) 3gp desteğini ayarlayın

# cd ffmpeg/libavcodec
# wget http://www.3gpp.org/ftp/Specs/2004-0.../26073-530.zip
# wget http://www.3gpp.org/ftp/Specs/2004-0.../26104-540.zip
# mkdir amr amr_float && cd amr
# unzip ../26073-530.zip
# unzip 26073-530_ANSI_C_source_code.zip
# mv c-code/* .
# cd ../amr_float
# unzip ../26104-540.zip
# unzip 26104-540_ANSI_C_source_code.zip
# mv c-code/* .
# cd ../..

13) Ayarlama devamı

nano libavcodec/amr/makefile

68. satır civarında bulunun şu satırı bulun #CFLAGS = -Wall -pedantic-errors -I. $(CFLAGS_$(MODE)) -D$(VAD)


satırı şu şekilde olacak biçimde düzenleyin

Quote:
CFLAGS = -Wall -DMMS_IO -I. $(CFLAGS_$(MODE)) -D$(VAD)


# dosyayı kayıt edin

14) Lib leri ayarlayın


# cat /etc/ld.so.conf

şu satır (/usr/local/lib exist) var ise alttaki komutları girin yok ise devam edin


# echo /usr/local/lib >>/etc/ld.so.conf
# ldconfig

17) FFmpeg ayarları
# ./configure --enable-shared --enable-xvid --enable-libvorbis --enable-libogg --enable-libmp3lame --enable-gpl --enable-libfaad --enable-libfaac --enable-x264 --enable-amr_nb-fixed --enable-pp

# make
# make install

eğer kurulum sorunsuz bitti ise

komutu çalıştırın

ldd /usr/local/bin/ffmpeg

bu komut eksik bir dosya var mı kontrol edecektir

genellikle ortaya çıkan bir hata

eğer tmpdir hakkında böyle bir mesaj var ise

Unable to create and execute files in /tmp. Set the TMPDIR environment.........

şu komutları yazınız

mkdir /home/tmp
TMPDIR="/home/tmp"
export TMPDIR="/home/tmp"
chmod 777 /home/tmp

eğer x264 hakkında bir hata var ise o zaman manuel olarak rpm den yüklemeyi deneyin

wget http://dag.wieers.com/packages/x264/...l4.rf.i386.rpm (Fedora core4 içindir.distronuza uygun olanı seçmeyi unutmayınız)
wget http://dag.wieers.com/packages/x264/...l4.rf.i386.rpm (Fedora core4 içindir.distronuza uygun olanı seçmeyi unutmayınız)

svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
rpm -ivh x264-0.0.0-0.3.20061214.el4.rf.i386.rpm
rpm -ivh x264-devel-0.0.0-0.3.20061214.el4.rf.i386.rpm

eğer kütüphaneler bulunamadı ise şu komutları yazınız

./configure --disable-shared --enable-xvid --enable-libvorbis --enable-libogg --enable-libmp3lame --enable-gpl --enable-libfaad --enable-libfaac --enable-x264 --enable-amr_nb --enable-pp --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib

make
make install


başarılar.
__________________
Deizm Agnostik

Last edited by Onursal; 28.10.07 at 13:18. Reason: Rep vermeyenin evi yıkılsın :p
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old 28.06.07, 21:20
CaLViN's Avatar
Sevgi güçtür.
 
Join Date: Apr 2007
Location: Outta nation
Age: 27
Posts: 1,797
Rep Power: 100000
CaLViN has a reputation beyond reputeCaLViN has a reputation beyond reputeCaLViN has a reputation beyond reputeCaLViN has a reputation beyond reputeCaLViN has a reputation beyond reputeCaLViN has a reputation beyond reputeCaLViN has a reputation beyond reputeCaLViN has a reputation beyond reputeCaLViN has a reputation beyond reputeCaLViN has a reputation beyond reputeCaLViN has a reputation beyond repute
tercüme edildi.
__________________
1.)Lütfen destek talebinde bulunmak için msn messenger üzerinden iletişime geçmeyiniz.
2.)Ücretsiz destek almak için forum sayfalarımızı kullanmanız aynı sorunu yaşayan diğer üyelerin cevaplara en kısa sürede ulaşabilmesi ve sizlere yardımcı olmak isteyen bizlerin ve diğer üyelerimizin zaman kazanmaları açısından çok önemlidir.
3.)Forumlarımızda sorunlarınızı anlatırken mümkün olduğunca çok detay vermeniz en kısa sürede sorununuza çözüm bulmanız açısından mühimdir.

Daha çok öğrenmek ve öğretmek dileğiyle..
Sevgiler..
The Platform.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old 20.07.07, 06:35
Atari
 
Join Date: Jul 2007
Posts: 1
Rep Power: 0
sempaty is on a distinguished road
güzel kaynak teşekkürler.

benim bir sorunum var sanırım. ilk adımda /usr/local/src yok dedi de kaldım öylece :/ kullanılan sistem FreeBSD. ffmpeg i freebds de nasıl kurabilirim
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old 20.07.07, 12:43
sinangunay's Avatar
FULL DESTEK SUNUCULAR
 
Join Date: Jul 2007
Location: biLi biLi boP
Age: 28
Posts: 1,664
Rep Power: 1073
sinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond repute
Selam,
bu sistem FreeBSD üzerinde çalışmaz.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old 21.07.07, 23:06
onat55
Misafir
 
Posts: n/a
tüm kurulumları uyguladım ve sorun yok ancak ffmpeg-php yi kurmayı bi türlü başaramadım.SSH de şöyle bir hata var:



FFMPEG-PHP yi kuramadığımdan kurmak istediğim bi video scripti de böyle bir hata veriyor:




Bu sorunları nasıl çözebilirim acaba ???
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old 21.07.07, 23:18
sinangunay's Avatar
FULL DESTEK SUNUCULAR
 
Join Date: Jul 2007
Location: biLi biLi boP
Age: 28
Posts: 1,664
Rep Power: 1073
sinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond repute
Merhaba,

scripti kurmaya çalışırken aldığınız hata, FFMPEG'i kurmadığınız için çıkıyor.

FFMPEG'i kurarken aldığınız hata, gerekli paketleri tam olarak kurmadığınızdan dolayı çıkıyor. Hepsi birbirine bağlantılı ve komplike gibi görünen ama basit işlemler..
__________________
-----------------------------------------------------------------------------------------
>> LÜTFEN ÜCRETSİZ DESTEK TALEP ETMEK İÇİN MSN ADRESLERİMİZİ EKLEMEYİNİZ. HER TÜRLÜ ÜCRETSİZ DESTEK İÇİN FORUMLARIMIZI KULLANINIZ. TEŞEKKÜRLER <<
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old 21.07.07, 23:29
onat55
Misafir
 
Posts: n/a
basit ama nedense bi türlü olmadı.birçok yerdeki kurulum dökümanlarını denedim beceremiyorum sanırım
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old 22.07.07, 00:35
Onursal's Avatar
fshbcr
 
Join Date: Jun 2007
Location: Çorlu
Age: 28
Posts: 638
Rep Power: 1092
Onursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond repute
Send a message via MSN to Onursal
bulunduğun dizinde dosyayı bulamıyor.

dir
yaz enterla ilgili dizinde dosya olduğuna emin ol. eğer dosya yok ilgili dosyaları yükleyip oraya kopyala olmazsa
__________________
Deizm Agnostik
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old 22.07.07, 13:16
onat55
Misafir
 
Posts: n/a
gerekli herşey var ama olmadı yine lütfen biriniz bana tam olarak yazabilir mi adımları lütfenn
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old 22.07.07, 13:39
Onursal's Avatar
fshbcr
 
Join Date: Jun 2007
Location: Çorlu
Age: 28
Posts: 638
Rep Power: 1092
Onursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond repute
Send a message via MSN to Onursal
Code:
cd /usr/local/src
wget superb-west.dl.sourceforge.net/sourceforge/ffmpeg-php/ffmpeg-php-0.5.0.tbz2
tar jxvf ffmpeg-php-0.5.0.tbz2
cd /usr/local/src/ffmpeg-php-0.5.0/
phpize
./configure
make
make install
en sonda /usr/local/lib/php/extensions/no-debug-non-zts-20020429/ffmpeg.so diye bir satır çıkması lazım. eğer aynen böyleyse ve zend kullıyorsan

echo 'extension=/usr/local/lib/php/extensions/no-debug-non-zts-20020429/ffmpeg.so' >> /usr/local/Zend/etc/php.ini

yapacaksın. zend kullanmıyorsan kodu kendine göre düzenle php.ini dosya yolunun doğru olduğuna emin ol.

olmasa extension=/usr/local/lib/php/extensions/no-debug-non-zts-20020429/ffmpeg.so
kodu al pico nano kullanarak php.ini dosyanı aç. ekle ve apache resetle çık içinde.
service httpd restart


Halende olmuyorsa yapabilecek başka bişeyim yok. Çünkü kendi sunucuma kurmadım. Bir video sitesi host edeceğim diye bu kadar modulun sunucda çalışmasına göz yumamam ben çünkü.
yinede yapamazsan root bilgilerini gönder boş bir anımda bakarım.
__________________
Deizm Agnostik

Last edited by Onursal; 22.07.07 at 13:50.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

LinkBacks (?)
LinkBack to this Thread: http://forum.whmdestek.com/site-server-genel-makaleleri/170-ffmpeg-installation-advanced.html
Posted By For Type Date
FFMPEG Kurulumu - Webmaster Forum This thread Refback 12.07.07 19:48
süper Video Sitesi scripti - Webmaster Zone This thread Refback 06.07.07 19:19
gdlib ve ffmpeg-php - Webmaster Zone This thread Pingback 30.06.07 11:15


Sign up for PayPal and start accepting credit card payments instantly.

Navigasyon
Menü