LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 01-03-2009, 07:09 AM   #1
sokar24
LQ Newbie
 
Registered: Jan 2009
Posts: 1

Rep: Reputation: 0
Problems installing ffmpeg


I have been busy for 4 days now getting ffmpeg + codecs get to work correctly. I am running mediasharesuite and need this along with MEncoder etc. to decode/encode movies on my site.

Iam running an almost (with 4 sites total) dedicated server box

Specifications are:
- Fedora core 8 32 bit
- yum rpmfusion-free.repo (and freshrpm's but that's disabled for now)
- DIRECTADMIN

The site says I need:

<php>
A Linux server (Fedora Core, CentOS, Ubuntu, Slackware or SuSE).
Web server, Apache (with CGI-BIN access, MOD_REWRITE enabled).
MySQL 4.1 or higher
PHP 4.3 or higher
GD Library 2 installed in PHP, with support for FreeType fonts.
LAME (http://lame.sourceforge.net)
Mencoder and Mplayer (http://www.mplayerhq.hu)
AMR codec support (http://www.3gpp.org)
AC3 codec support (http://liba52.sourceforge.net)
AAC codec support (http://www.audiocoding.com)
MP3 codec support (http://lame.sourceforge.net)
OGG/Vorbis codec support (http://www.xiph.org/downloads/)
x264 codec support (http://www.videolan.org/developers/x264.html)
DivX/XviD codec support (http://www.xvid.org)
win32 codec support (http://www.mplayerhq.hu/MPlayer/releases/codecs/)
FLVtool2 (http://rubyforge.org/projects/flvtool2/)
ffmpeg-php (optional)
Ability to run PHP from the command line (CLI) using exec()
Ability to execute background processes with exec("binary > /dev/null &")
Recommended PHP Configuration
safe_mode = off
max_execution_time = 9000 (recommended, to prevent timeouts during video upload/conversion)
session.gc_maxlifetime = 14000 (recommended, to prevent session expires during video upload)
open_basedir = (no value)
output_buffering = 4096
upload_max_filesize = 200M (recommended maximum video upload size in MB)
post_max_size = 200M (recommended maximum video upload size in MB)
max_input_time = 9000; (to allow PHP to upload large video files and images and avoid upload errors in PHP versions >=5.1.3 - PHP Bug #37306)
magic_quotes_gpc = On (so not to have errors in data posted that may include quote characters)
magic_quotes_runtime = Off (for security reasons)
register_argc_argv = On (for pages using post data)
register_globals = Off (for security reasons)
</php>

- Recommended php settings are already loaded

I tried to install ffmpeg with yum but mediasharesuite keeps saying that it cant find anything. What is the default install dir btw? And if I try running it via ssh command line this comes up:

<php>
ffmpeg: error while loading shared libraries: libavcodec.so.52: cannot open shared object file: No such file or directory
</php>

Also tried installing everything manually or with the script from sherin but it fails at the mplayer installing, something about a non existing folder?!

The last problem I have is that mediashare suite keeps saying i have openbasedir disabled, although its disabled?!

And btw, I do not only need it for this site, my customers want ffmpeg 2

Anyone knows a good autoinstall script or fix for my probs??

Thanks in advance
 
Old 01-05-2009, 05:01 PM   #2
pddm
Member
 
Registered: Sep 2005
Distribution: Slackware 13.37
Posts: 111

Rep: Reputation: 15
Are you sure ffmpeg is not yet installed?
Try to locate it.
Code:
locate ffmpeg
Default could be /usr/bin/ffmpeg and/or /usr/local/bin/ffmpeg

You can always install from source from the ffmpeg home page

Your errors with libavcodec could also be caused by using the wrong path to it or not having the right permissions set.
 
  


Reply

Tags
fedora, ffmpeg


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help me in installing ffmpeg, ffmpeg-PHP, Mplayer, Mencoder, flv2tool, LAME MP3 Encod mitesh.ever Red Hat 5 05-16-2009 12:14 PM
Does the latest version of ffmpeg not work with ffmpeg-php? whitey4900 Linux - Software 0 08-04-2008 05:16 PM
Need help installing ffmpeg on Suse 10.3 webserver dan1032 Linux - Newbie 1 02-28-2008 02:47 PM
installing ffmpeg for opencv josemalo Linux - Software 1 02-27-2006 10:34 PM
Odd error installing ffmpeg af_dave Linux - Software 1 07-12-2004 02:01 AM


All times are GMT -5. The time now is 10:57 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration