Go Back   Web Server Hosting Forum by BODHost > Support > Linux Server Hosting
 

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 01-13-10, 14:45
BOD Member
 
Join Date: Jan 2009
Posts: 195
Default FFMPEG on Linux Dedicated Servers

I have heard that it is better to consider a Linux dedicated server hosting for FFMPEG instead of any other hosting package or server. Is there any specific reason for the same ? Also, is it easy to install FFMPEG on a Linux dedicated server ?
Reply With Quote
  #2 (permalink)  
Old 01-13-10, 15:21
BOD Member
 
Join Date: Dec 2009
Location: Newark
Posts: 59
Default

It is always advised to use a Dedicated Server for Live Streaming Videos as it requires high resources for Live Streaming, so if you are on a Shared Server your account may get suspended if it overloads the server resources.

Also on a Dedicated Server, you get a dedicated environment, ie: your server resources are not shared with any other user and also you get much more disk space and bandwidth as compared to a shared hosting account which is definitely a benefit.

Now talking about FFMPEG installation, Yes it is easy to install FFMPEG on our Linux Dedicated Server however if you need assistance we will install it for you so you dont have to worry about FFMPEG installation.
Reply With Quote
  #3 (permalink)  
Old 01-13-10, 15:27
BOD Member
 
Join Date: Dec 2009
Posts: 22
Default Ffmpeg

FFmpeg is a complete, cross-platform its used for recording, converting and streaming both audio and video files its highly compatible with Linux OS and it is recommended that you go for a dedicated server because streaming requires higher resources that's the reason why it is said consider Linux dedicated server for FFMPEG and yes carl you are right it is easy to install ffmpeg on a Linux OS .
Reply With Quote
  #4 (permalink)  
Old 01-13-10, 18:32
Moderator
 
Join Date: Dec 2008
Posts: 257
Default Install FFMPEG on Linux

Hi, follow the below given steps and you will learn that installing install ffmpeg is a easy task.

Code:
cd /usr/local/src
Download files :
Code:
wget http://easynews.dl.sourceforge.net/sourceforge/lame/lame-3.97.tar.gz
wget http://downloads.xiph.org/releases/ogg/libogg-1.1.3.tar.gz
wget http://downloads.xiph.org/releases/vorbis/libvorbis-1.1.2.tar.gz
wget http://www4.mplayerhq.hu/MPlayer/releases/codecs/essential-20061022.tar.bz2
Extract

Code:
tar zxvf lame-3.97.tar.gz
tar zxvf libogg-1.1.3.tar.gz
tar zxvf libvorbis-1.1.2.tar.gz
tar jxvf essential-20061022.tar.bz2
Code:
chown root.root * -R

yum install subversion ruby ncurses-devel
svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
If you are using secure tmp:

Code:
mkdir /usr/local/src/tmp
chmod 777 /usr/local/src/tmp
export TMPDIR=/usr/local/src/tmp
Installing Lame

Code:
cd /usr/local/src/lame-3.97
./configure
make && make install
Installing Libogg
Code:
cd /usr/local/src/libogg-1.1.3
./configure && make && make install
Installing libvorbis
Code:
cd /usr/local/src/libvorbis-1.1.2
./configure && make && make install
Installing flvtool2

Code:
gem install flvtool2
Installing ffmpeg
Code:
cd /usr/local/src/ffmpeg/
./configure –enable-libmp3lame  –enable-libvorbis –disable-mmx –enable-shared
make && make install

ln -s /usr/local/lib/libavformat.so.50 /usr/lib/libavformat.so.50
ln -s /usr/local/lib/libavcodec.so.51 /usr/lib/libavcodec.so.51
ln -s /usr/local/lib/libavutil.so.49 /usr/lib/libavutil.so.49
ln -s /usr/local/lib/libmp3lame.so.0 /usr/lib/libmp3lame.so.0
ln -s /usr/local/lib/libavformat.so.51 /usr/lib/libavformat.so.51
Installing ffmpeg-php

Code:
svn co https://svn.sourceforge.net/svnroot/ffmpeg-php/trunk/ffmpeg-php
cd ffmpeg-php
phpize
./configure
make
make install
cp /usr/local/lib/php/extensions/no-debug-non-zts-20060613/ffmpeg.so /usr/local/lib/php/extensions/
Install mplayer & mencoder

Code:
mv /usr/local/src/essential-20061022/* /usr/local/lib/codecs/
chmod -R 755 /usr/local/lib/codecs/

yum install mplayer mencoder
Restart Apache

service httpd restart
Reply With Quote
  #5 (permalink)  
Old 01-16-10, 20:17
Moderator
 
Join Date: Dec 2008
Posts: 257
Default

Quote:
Originally Posted by Kratos View Post
FFmpeg is a complete, cross-platform its used for recording, converting and streaming both audio and video files its highly compatible with Linux OS and it is recommended that you go for a dedicated server because streaming requires higher resources that's the reason why it is said consider Linux dedicated server for FFMPEG and yes carl you are right it is easy to install ffmpeg on a Linux OS .
Where is Carl in this thread...i guess I need an eye checkup coz i can't see carl here. Hammering
Reply With Quote
  #6 (permalink)  
Old 01-18-10, 09:53
BOD Member
 
Join Date: Dec 2009
Posts: 22
Unhappy

I am sorry jason by mistake i typed carl instead of joseph anyways thanks for correcting me
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump


All times are GMT -6. The time now is 02:38.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Copyright © 1999-2012, BODHost Ltd. All rights reserved.