Ffmpeg-php - Need Help Installing Under Win

Aug 25, 2005

Hi there, I was wondering if anyone have installed ffmpeg-php under windows successfully or you might understand how to do it?

By default it's for linux, but there is a version for win made by some guy/guys to be found here: ffmpeg google groups

Problem is, I don't understand how to install? Could anyone explain, thanks!

Edit: Got it to work!

avcodec.dll (copy to WindowsSystem32)
avformat.dll (copy to WindowsSystem32)
php_ffmpeg.dll (php dir)
Add: extension=php_ffmpeg.dll <- to php.ini

All the other files confused me

View 0 Replies


ADVERTISEMENT

Installing FFMPEG On VPS

Sep 25, 2006

We have a managed VPS, and have never needed on our own dedicated servers in teh past to have FFMPEG due to the line of data we host. So, I asked our provider to please install FFMPEG onto our server.

This is the response I have received:

FFMpeg requires PHP to be compiled as CGI (PHPsuexec) that is only officially supported by cPanel. So in order to install FFMpeg modules we have to resetup your VPS with cPanel.

Now our VPS is running Direct Admin on CentOS.

I am not trying to poke holes at our provider, just trying to find out if this is the truth, or if there is a work around that can accomplish this.

I do not want CPANEL on our account. We have two unix techs here at work, however unfortunately they are both off for two weeks as of middle of last week, so i'm caught with who to look for to gain a second opinion.

View 1 Replies View Related

Installing Ffmpeg

Sep 14, 2007

I was trying to install:

FFmpeg
FFmpeg-PHP
Flv2tool
LAME MP3 Encoder

I have read this instructions in here:

[url]

But to this step:

12. Compile FFMPEG
cd ~/ffmpeg/ffmpeg
./configure --enable-libmp3lame --enable-libogg --enable-libvorbis --disable-mmx --enable-shared
echo '#define HAVE_LRINTF 1' >> config.h
make
make install

I got an error like this:

Quote:

[root@host ffmpeg]# ./configure --enable-libmp3lame --enable-libogg --enable-libvorbis --disable-mmx --enable-shared
Unable to create and execute files in /tmp. Set the TMPDIR environment
variable to another directory and make sure that /tmp is not mounted
noexec.
Sanity test failed.
If you think configure made a mistake, make sure you are using the latest
version from SVN. If the latest version fails, report the problem to the
ffmpeg-devel@mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.err" produced by configure as this will help
solving the problem.

View 14 Replies View Related

Installing Ffmpeg-php On Windows

Nov 4, 2006

Where can i find a step-by-step guide on how to install ffmpeg-php on windows?
I got totally lost while doing that. Below are the steps i'v taken so far:

- Dled Windows EXT from here: http://sourceforge.net/project/showf...roup_id=122353 (ffmpeg_new.rar)
- Unzipped it.
-Copied all php_ffmpeg_... dlls into php's ext dir
-Copied avformat.dll and avcodec.dll to system32 folder
-Activated ext (i am using WAMP5)
-Restarted Apache
-Ran phpinfo(); and didnt see the ext activated.

View 0 Replies View Related

Installing Imlib2.so Ffmpeg

Nov 24, 2007

i dont have this preinstalled..

Can anyone guide me on its installation

View 3 Replies View Related

Installing FFMpeg/Mplayer/Flvtool2

Apr 20, 2008

These three encoders are required as part of installation on my script, but they don't come with guides, anyone got ANY clue on how to go about installing these?

View 10 Replies View Related

Undefined Symbols When Installing Ffmpeg-php

Apr 6, 2009

Has anyone else here installed ffmpeg? I'm almost done getting it setup when I ran into an error which I don't understand. My theory is that I have a version conflict, but I'm not sure how to fix this or what software is conflicting.

Here's the error:

Code:
Warning: Module 'ffmpeg' already loaded in Unknown on line 0
/usr/local/bin/php: symbol lookup error: modules/ffmpeg.so: undefined symbol: avcodec_build

I get this on "make test" for ffmpeg-php-0.5.1. All test's fail.

View 11 Replies View Related

Installing PHP, Ffmpeg And Things On Debian GNU/Linux 4.0

May 14, 2009

I have a shared hosting account on dreamhost
It has php and others installed but it allows custom installations for a number of reasons (control of the php.ini file, ...).

I have shell and ftp access to /home/username/ where my websites are
(/home/username/domain.ltd)

I installed php 5.2.9 under /home/username/php5,
I also installed ffmpeg but I ran into troubles installing ffmpeg-php.

Now I would like to start over, I'm not very advanced in this and I probably messed some stuff up. It seemed like a good idea to ask for some general advice before going at it again.

First, I was wondering about the filesystem I needed to set up, like the bin, tmp, lib, ... directories. Which ones do I need and what should go in them.
And how exactly do I let the system know these folders are there and it should look there for some commands. When I used phpize, it used the default one instead of the one in my custom php folder. Is the export command all there is to it?

When I install PHP, where should I install it and do I need to point it to my directories (bin, lib, etc...) instead of the ones in the host's root.
I noticed when installing ffmpeg-php it still looked for the default ones at some points:

HTML Code:
"checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend..."
I don't know if this is normal behaviour or not, I'm just basically writing everything I am unsure about.

I got my website to use the custom PHP by editting the htaccess file

Also,
what would be the best approach to remove the things I currently installed, I suppose remove the php5 directory is not enough.

View 0 Replies View Related

Installing Ffmepg, Ffmpeg-php, Flvtool2,mplayer,menconder And Such

Apr 13, 2009

Need help installing ffmepg, ffmpeg-php, flvtool2,mplayer,menconder and such for a video hosting site. I own a vps and I have full root access and I want to know how to do that. Can anyone link me to a tutorial or post it here?

View 10 Replies View Related

How To Install Ffmpeg, Ffmpeg-PHP, Mplayer, Mencoder, Flv2tool, LAME MP3 Encoder

Oct 21, 2009

When i try to install all those things i am getting error...i am following the things given in below link but i am not to excute this svn command

[url]

View 6 Replies View Related

Hosting With FFMPEG, FFMPEG-PHP, Xvid, Mp3lame, FLV2Tool Support

Jun 9, 2009

The hosting with FFMPEG, FFMPEG-PHP, Xvid, Mp3lame, FLV2Tool Support is necessary.

It was pleasant downtownhost.com,
But cost 4.95 only at payment of 36 months! It is a lot of ((

There are similar variants?

View 13 Replies View Related

Ffmpeg - Php

Oct 15, 2007

I had is running it on my php4.. I upgraded to php5 using easyapache but now its not working.. Its has the ffmpeg.So in the extenuion folder and php.ini has the extension folder and the extension defined.. Any solution

View 5 Replies View Related

FFMPEG SVN

Jul 13, 2008

I've been trying to download FFMPEG via SVN for several hours now but I am getting are just timeouts. Can you please try it on your side: ....

View 3 Replies View Related

Ffmpeg

Nov 29, 2007

i am coverting am mp3 and want to set the author tag in it..

View 4 Replies View Related

Using Ffmpeg-php

Oct 17, 2007

After much efforts and help of members of this forum i have installed ffmpeg, ffmpeg-php, gd on my server.. Now the purpose for which i have installed all this is to get the thumbnail of the videos..

I tried the code given on its homepage but thats not working..

View 3 Replies View Related

Ffmpeg

Apr 4, 2007

I've been researching and thinking on offering it on our servers but I still have a few doubts. How resource intensive is it? Does it affect a shared environment too much?

View 0 Replies View Related

FFMpeg = PHPMotion?

Jun 19, 2008

my customer want FFMpeg, but we no have this in my VPS.

If we setup PHPMotion then he have FFMpeg?

If I setup FFMpeg customer can run STREAMING? or I need setup more packages?

Please: RAM required to run FFMpeg correctly?

The best STREAMING in cPanel is FFMpeg?

View 3 Replies View Related

Ffmpeg Quillhost.com

May 6, 2009

I need to host some video materials and I don't want to use something big like a VPS or dedi, shared will be enough for me. That's why I think quillhost.com service will suit my needs well as they support ffmpeg on their shared service.

Do you think my idea is sound?

View 0 Replies View Related

FFMPEG Installation?

Apr 19, 2009

I was wondering if there was anyone out there that could do an ffmpeg, flvtool2, mencoder installation on my CentOS 5.2 VPS for $10. I need it to be able to run phpmotion / youtube clone scripts...

View 8 Replies View Related

I Want Ffmpeg Host Or Vps

Jan 5, 2009

i want ffmpeg host or vps

1- whats the limted for a send mail

2- i have a music box and i have a large vistiros are my site in the
workied good thats my site for media www.ms.ahba.in and i want convert to social media script

3- whats the limted for cpu

4- whats the limted for up and donload for space and bandwith

5- whats the limted for backup and the ((Automated Nightly Backups))
where are the backup file when well be?

6- are thee ssh include

7- and about vps if i want install scripr or update the apatchi for example did help me with out charge

8- how many accounts in a server with vps ot host

9- did have any coupon code for discount

View 4 Replies View Related

Ffmpeg Centos 5.2

Mar 27, 2009

I need to get the following libraries installed on my CentOS 5.2 Linux server aswell as install ffmpeg.

I don't know how to do this, I've looked around and I can only find ubuntu support.

liblame-dev
libfaad2-dev
libfaac-dev
libxvidcore4-dev
liba52-0.7.4
liba52-0.7.4-dev
libx264-dev

View 6 Replies View Related

Ffmpeg Codec (mp3 -> M4a)

Dec 21, 2008

ffmpeg codec problem (mp3 -> m4a)

I'm trying to use ffmpeg to convert mp3 to m4a file. So I issue this command:
ffmpeg -i megamix_8qxiclef.mp3 megamix_8qxiclef.m4a
I got the error:

FFmpeg version SVN-r15950, Copyright (c) 2000-2008 Fabrice Bellard, et al.
configuration: --enable-shared
libavutil 49.12. 0 / 49.12. 0
libavcodec 52. 3. 0 / 52. 3. 0
libavformat 52.23. 1 / 52.23. 1
libavdevice 52. 1. 0 / 52. 1. 0
built on Nov 29 2008 03:33:54, gcc: 4.1.2 20071124 (Red Hat 4.1.2-42)
Input #0, mp3, from 'megamix_8qxiclef.mp3':
Duration: 00:00:28.92, start: 0.000000, bitrate: 128 kb/s
Stream #0.0: Audio: mp3, 44100 Hz, stereo, s16, 128 kb/s
Output #0, ipod, to 'megamix_8qxiclef.m4a':
Stream #0.0: Audio: 0x0000, 44100 Hz, stereo, s16, 64 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Unsupported codec for output stream #0.0

View 1 Replies View Related

FFmpeg Hosting

Mar 10, 2007

Anybody know if this is okay to run on a regular shared enviroment? Should we dedicate an entire server for this or what?

Does ffmpeg streaming often cause large server load or is the effect just on bandwidth?

View 2 Replies View Related

Installed 3gp For Ffmpeg

Sep 27, 2007

I have just followed a manual online for installing ffmpeg in 5 minutes, I've been requested to enure the 3gp codec is installed, how can I install this codec?

View 1 Replies View Related

FreeBSD & FFMPEG

Mar 15, 2007

after many painstaking hours, im at a loss as to where to go now (finally managed to get up to the point of running phpize in the ffmpeg directory)

...

Originally I thought i had compiled it in when compiling PHP,

Infact:

Code:
'./configure' '--disable-debug' '--disable-rpath' '--with-bz2' '--with-curl' '--with-gd' '--with-openssl' '--with-png' '--with-zlib' '--with-mcrypt' '--with-mysql' '--with-pear' '--enable-bcmath' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--with-ffmpeg=yes' '--with-apxs2=/usr/local/sbin/apxs'
But when i go to the tests/ffmpeg_test.php file I get:

Code:
Warning: dl() [function.dl]: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20020429/ffmpeg.so' - Cannot open "/usr/local/lib/php/extensions/no-debug-non-zts-20020429/ffmpeg.so" in /usr/local/www/apache22/data/tests/test_ffmpeg.php on line 17
Can't load extension /usr/local/lib/php/extensions/no-debug-non-zts-20020429/ffmpeg.so
I used the ports tree to install FFMPEG and here is the version info:

Code:
bsd# ffmpeg -v
ffmpeg version 0.4.9-pre1, build 4718, Copyright (c) 2000-2004 Fabrice Bellard
built on Mar 14 2007 20:42:22, gcc: 3.4.6 [FreeBSD] 20060305
After finally getting to this point, i say the heck with it and just decide to try and use phpize and compile it in that way as an extension ( following: http://ffmpeg-php.sourceforge.net/ ).

However, after I got phpize to work ( had to cp autoconf259 and autoheader259 to autoconf and autoheader since it was complaining about it ), it gave me this set of errors:

Code:
/bin/sh /usr/local/src/ffmpeg-php-0.5.0/libtool --mode=compile gcc -I. -I/usr/local/src/ffmpeg-php-0.5.0 -DPHP_ATOM_INC -I/usr/local/src/ffmpeg-php-0.5.0/include -I/usr/local/src/ffmpeg-php-0.5.0/main -I/usr/local/src/ffmpeg-php-0.5.0 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/ffmpeg -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c /usr/local/src/ffmpeg-php-0.5.0/ffmpeg-php.c -o ffmpeg-php.lo
gcc -I. -I/usr/local/src/ffmpeg-php-0.5.0 -DPHP_ATOM_INC -I/usr/local/src/ffmpeg-php-0.5.0/include -I/usr/local/src/ffmpeg-php-0.5.0/main -I/usr/local/src/ffmpeg-php-0.5.0 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/ffmpeg -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c /usr/local/src/ffmpeg-php-0.5.0/ffmpeg-php.c -fPIC -DPIC -o ffmpeg-php.o
In file included from /usr/local/src/ffmpeg-php-0.5.0/ffmpeg-php.c:25:
/usr/local/include/ffmpeg/avcodec.h:14:27: ffmpeg/common.h: No such file or directory
In file included from /usr/local/include/ffmpeg/avcodec.h:15,
from /usr/local/src/ffmpeg-php-0.5.0/ffmpeg-php.c:25:
/usr/local/include/ffmpeg/rational.h: In function `av_cmp_q':
/usr/local/include/ffmpeg/rational.h:36: error: syntax error before "tmp"
/usr/local/include/ffmpeg/rational.h:38: error: `tmp' undeclared (first use in this function)
/usr/local/include/ffmpeg/rational.h:38: error: (Each undeclared identifier is reported only once
/usr/local/include/ffmpeg/rational.h:38: error: for each function it appears in.)
In file included from /usr/local/src/ffmpeg-php-0.5.0/ffmpeg-php.c:26:
/usr/local/include/ffmpeg/avformat.h: In function `av_init_packet':
/usr/local/include/ffmpeg/avformat.h:48: warning: implicit declaration of function `int64_t_C'
/usr/local/include/ffmpeg/avformat.h:48: warning: integer constant is too large for "long" type
/usr/local/include/ffmpeg/avformat.h:49: warning: integer constant is too large for "long" type
*** Error code 1

Stop in /usr/local/src/ffmpeg-php-0.5.0.

After I get all this working and install it on a another machine I plan on writing a guide for FreeBSD users inside the tutorials section - but this one part has stumped me.

The only thing I can think of is something along the lines of maybe i downloaded a 64 bit version of something along the way?

Should i continue along this route with phpize adding it as an extension, or does someone else have some information on that ffmpeg_test.php file?

View 14 Replies View Related

Ffmpeg Mp3 Encoder

Nov 4, 2007

whenever i try to convert a file using -acodec mp3 it says

Unknown encoder 'mp3'

View 9 Replies View Related

Ffmpeg On Shared Server

May 15, 2008

I am developing a phpfox site and in order to use the video capabilities I need a host with ffmpeg installed.

My current host were a bit misleading and let me think I could pay them a small sum to install ffmpeg on a shared server and that would see to it. Turns out I would need to get a dedicated server, which was quite a shock when I saw the price of that.

I would like to know if shared servers with ffmpeg are worthwhile, or is a dedicated server generally regarded as the only way to go?

If success can be achieved with shared hosting, are there any hosting companies that would be recommended. Apthost is a name that seems to crop up quite regularly, but I don't know how to tell a good host from a bad host, so I'm asking you all!

P.S. My bandwidth needs shouldn't be more than 100gb/month at the start, but that is only a rough beginner's guess.

View 10 Replies View Related

Does My Host, Knownhost Have FFMPEG?

Jul 4, 2008

How Do I tell? or do I have to install it? If so is there a tutorial on how to?

I've got some programs I want to install that require it ....

View 5 Replies View Related

Advice VPS To Run Ffmpeg, Mencoder Etc

Feb 28, 2009

I am need a VPS plan which is good enough for handling such CPU intensive programs. I had already read reviews about solarvps,wiredtree and Hostv. I really liked offers from solarvps, but I am a noob when it comes to servers so please advice me hosting talk members. Plus I need full transfer support for my website from hostgator they are ridiculously expensive.

View 10 Replies View Related

Ffmpeg Installation Problem

Aug 13, 2008

I have installed ffmpeg and php-ffmpeg. I am getting these messges while I run "make test" for php-ffmp

FAILED getAudioBitRate test [tests/getAudioBitRate.phpt]
FAILED getAudioChannels test [tests/getAudioChannels.phpt]
FAILED getAudioCodec test [tests/getAudioCodec.phpt]
FAILED getAudioSampleRate test [tests/getAudioSampleRate.phpt]
FAILED getAudioStreamId test [tests/getAudioStreamId.phpt]
FAILED getBitRate test [tests/getBitRate.phpt]
FAILED getDuration test [tests/getDuration.phpt]
FAILED getFileName test [tests/getFileName.phpt]
FAILED getFrame test [tests/getFrame.phpt]
FAILED getFrameCount test [tests/getFrameCount.phpt]
FAILED getFrame cropping test [tests/getFrameCrop.phpt]
FAILED getFrameHeight test [tests/getFrameHeight.phpt]
FAILED getFrameNumber test [tests/getFrameNumber.phpt]
FAILED getFrameRate test [tests/getFrameRate.phpt]
FAILED getFrameResampled test [tests/getFrameResampled.phpt]
FAILED getFrameWidth test [tests/getFrameWidth.phpt]
FAILED getFrame backwards test [tests/getFramesBackwards.phpt]
FAILED getFrames forward test [tests/getFramesForward.phpt]
FAILED getFrames forward test [tests/getFramesForwardPassedEnd.phpt]
FAILED getFramesNoArg test [tests/getFramesNoArg.phpt]
FAILED getFramesResampled test [tests/getFramesResampled.phpt]
FAILED getID3Info() test [tests/getID3Info.phpt]
FAILED get key frames test [tests/getNextKeyFrame.phpt]
FAILED getPTS test (Fixme: This test is no good with robot.avi) [tests/getPTS.phpt]
FAILED getPixelAspectRatio test [tests/getPixelAspectRatio.phpt]
FAILED getPixelFormat test [tests/getPixelFormat.phpt]
FAILED getVideoBitRate test [tests/getVideoBitRate.phpt]
FAILED getVideoCodec test [tests/getVideoCodec.phpt]
FAILED getVideoStreamId test [tests/getVideoStreamId.phpt]
FAILED hasAudio test [tests/hasAudio.phpt]
FAILED test key frame (FIXME: This test is no good with robot.avi) [tests/isKeyFrame.phpt]
FAILED persistent movie test [tests/persistentMovie.phpt]

Anybody knwos the solution of it?

View 4 Replies View Related

Ffmpeg Does It Worth The Trouble ?

Jul 12, 2007

I was wondering, if installing ffmpeg-php is worth the trouble for shared hosting accounts or if it is too much of a resource hog. I had a couple of requests for that but I am not used to this extension.

Thank you for giving me your feedbacks on this.

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved