cPanel, WHM, Fantastico - Reseller Hosting, Reseller Accounts, Domain Resellers - ADSL, Broadband, Dialup, FRAICO, Unmetered - Servers, Dedicated, Counter Strike, Game Servers
HostingResellersDomainsvpsDedicated ServersSupport
 
 
Register
 
Get New Posts
 
Search
 
User CP
xilo forum    
image image
Go Back   XILO Community Forum > Customer Support > Support Queries > ffmpeg installation?
Support Queries This forum should be used to contact XILO's support team should you have any problems with your account.

Reply
 
LinkBack Thread Tools Display Modes
  (#1 (permalink)) Old
folio folio is offline
User
folio is on a distinguished road
 
Posts: 39
Join Date: Aug 2006
Default ffmpeg installation? - 3/01/2008, 2:25 AM

I am working on a project which involves grabbing a frame from a movie and saving that frame. I found out to do that you need ffmpeg installed but this is not avaialble on the server which I am on, which is indigo. Is it possible to get ffmpeg installed on the server. I tried to install this(ffmpeg-php) php equivalent off it but haven't had much luck with it.
Reply With Quote
  (#2 (permalink)) Old
Matt Matt is offline
XILO Staff
Matt is on a distinguished road
 
Matt's Avatar
 
Posts: 670
Join Date: Nov 2005
Default Re: ffmpeg installation? - 3/01/2008, 2:28 AM

Hi,

It's not something we'd look at installing on the shared or reseller platforms unfortunately.

The only way to be able to use this within PHP as you seem to require it would be a VPS as then you can customise the PHP config yourself.

Sorry about that.

Matt


XILO Communications Ltd.
Internet Hosting and Online Services
w: http://www.xilo.net/
h:
http://my.xilo.net/
t: +44 (0) 845 034 6444
f: +44 (0) 845 034 6555
Reply With Quote
  (#3 (permalink)) Old
folio folio is offline
User
folio is on a distinguished road
 
Posts: 39
Join Date: Aug 2006
Default Re: ffmpeg installation? - 3/01/2008, 2:56 AM

I managed to get some result with the ffmpeg-php version which requires no installation but that the file be moved to the php's extension folder. Is it possible to get this done.
Reply With Quote
  (#4 (permalink)) Old
Matt Matt is offline
XILO Staff
Matt is on a distinguished road
 
Matt's Avatar
 
Posts: 670
Join Date: Nov 2005
Default Re: ffmpeg installation? - 3/01/2008, 3:00 AM

Hi,

Sorry but we don't alter the configs on the servers to include untested extensions without testing them in-house for a few months to ensure there are no issues or performance problems.

Are you not able to load this individually using your own custom php.ini file?

Matt


XILO Communications Ltd.
Internet Hosting and Online Services
w: http://www.xilo.net/
h:
http://my.xilo.net/
t: +44 (0) 845 034 6444
f: +44 (0) 845 034 6555
Reply With Quote
  (#5 (permalink)) Old
folio folio is offline
User
folio is on a distinguished road
 
Posts: 39
Join Date: Aug 2006
Default Re: ffmpeg installation? - 3/01/2008, 3:04 AM

Sorry Matt can you please give some insight in how to create a custom php.ini file, I shall Google but anything helps
Reply With Quote
  (#6 (permalink)) Old
Matt Matt is offline
XILO Staff
Matt is on a distinguished road
 
Matt's Avatar
 
Posts: 670
Join Date: Nov 2005
Default Re: ffmpeg installation? - 3/01/2008, 3:08 AM

Hi Folio,

Sure. Just create a file called php.ini in the directory you want to play with the ffmpeg stuff.

You then add the appropriate extension lines into your own php.ini file which should load them as it would do on a global config.

The lines should be in their documentation.. Let me know if you cant find them.

Matt


XILO Communications Ltd.
Internet Hosting and Online Services
w: http://www.xilo.net/
h:
http://my.xilo.net/
t: +44 (0) 845 034 6444
f: +44 (0) 845 034 6555
Reply With Quote
  (#7 (permalink)) Old
folio folio is offline
User
folio is on a distinguished road
 
Posts: 39
Join Date: Aug 2006
Default Re: ffmpeg installation? - 3/01/2008, 3:17 AM

Hi Matt. This is the thing i am trying to use ffmpeg-php, the usage is at the bottom. Can you please demonstrate how i would add this to the custom php.ini
Reply With Quote
  (#8 (permalink)) Old
Matt Matt is offline
XILO Staff
Matt is on a distinguished road
 
Matt's Avatar
 
Posts: 670
Join Date: Nov 2005
Default Re: ffmpeg installation? - 3/01/2008, 3:23 AM

Hi,

Simply add;

PHP Code:
extension=ffmpeg.so 
to your php.ini file.

You may need to include the full path before the ffmpeg.so part.

Matt


XILO Communications Ltd.
Internet Hosting and Online Services
w: http://www.xilo.net/
h:
http://my.xilo.net/
t: +44 (0) 845 034 6444
f: +44 (0) 845 034 6555
Reply With Quote
  (#9 (permalink)) Old
folio folio is offline
User
folio is on a distinguished road
 
Posts: 39
Join Date: Aug 2006
Default Re: ffmpeg installation? - 3/01/2008, 3:34 AM

I've done this but it's not looking in the directory specified by the custom php.ini This is the error i get http://zproducts.co.uk/test/test.php.
Reply With Quote
  (#10 (permalink)) Old
Matt Matt is offline
XILO Staff
Matt is on a distinguished road
 
Matt's Avatar
 
Posts: 670
Join Date: Nov 2005
Default Re: ffmpeg installation? - 3/01/2008, 3:44 AM

We're getting there...

Quote:
Warning: dl() [function.dl]: Unable to load dynamic library '/home/xxxxx/public_html/test/ffmpeg.so' - libavformat.so.52: cannot open shared object file: No such file or directory in /home/xxxxx/public_html/test/test.php on line 8
But.. I think you are going to need to have libavformat.so.52 installed and I am not sure if a local copy will work.

Maybe you could google that and have a look - as far as php.ini goes, I corrected it and if you check out info.php in the same dir, it'll show you that

Matt


XILO Communications Ltd.
Internet Hosting and Online Services
w: http://www.xilo.net/
h:
http://my.xilo.net/
t: +44 (0) 845 034 6444
f: +44 (0) 845 034 6555
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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


All times are GMT +1. The time now is 3:36 PM.

Powered by vBulletin


split

XILO Communications Ltd.
Registered in England and Wales: 6451134
VAT Registered: GB 930 3394 39
Prices exclude VAT at 17.5%

We accept all major debit and credit cards via WorldPay and payments via PayPal
COPYRIGHT © 2002- XILO Communications Ltd.
ALL RIGHTS RESERVED