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]
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...
I have a windows server and i need ffmpeg for converting video to flv and creating thumb of that. I have tried so much but i couldn't install this. I installed msys and mingw but when i running post install script for combining these two, it gives that make.exe file not found. I am also not sure what should be installation path of these two. Where will I upload all ffmpeg files and how can I compile this? Where will I get ffmpeg.dll for using this through php?
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
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..
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?
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.
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.
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
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?
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?
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.
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.
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.
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.
FFMPEG INSTALLATION FROM SOURCE FFMPEG INSTALLATION FROM SOURCE installed by: Robertas Dereskevicius Edited by Jon Nikolakakis OS/ Fedora Core 5
Summary download and install: libffac libffad2 xvid libogg,libvorbis mp3lame ffmpeg
Setting Up Install Folder, Logging and download Packages 1)Log into ssh 2) cd /usr/src && mkdir install && cd install 3) Download faad2 and faac from http://faac.sourceforge.net/oldsite/download.php get Faad2 and faac (new versions)
4) Verify that you have these components are installed rpm -qa automake rpm -qa autoconf rpm -qa libtool rpm -qa m4 rpm -qa gcc-c++
If any are missing than simply yum install (packagename), if you dont have a package manager than get one, it will save you alot of time and headaches.
Installing Faac 5)tar -zxvf faac-1.24.tar.gz && cd faac 6) sh bootstrap 7) ./configure 8) make 9) make install 10) cd ..
Installing Faad2 11) tar -zxvf faad2-2.0.tar.gz 12) cd faad2 && less README.linux 13) There is 2 bugs with this package, so need to manually edit these files 14) nano Makefile.am Edit the file to look like this SUBDIRS = libfaad common frontend plugins EXTRA_DIST = faad2.spec
15) cd common/mp4ff && nano mp4ffint.h 16) Comment out this line //void mp4ff_track_add(mp4ff_t *f);
17)Save file and cd ../.. 18)autoreconf -vif 19) ./configure 20) make 21) make install
Installing Libogg and Libvorbis 22)cd .. and then Check to see if libogg and libvorbs rpm -qa libogg-devel rpm -qa libvorbis-devel rpm -qa libncurses-devel
If not installed then simply Package Install (replace yum and install settings with your package manager) yum install libogg-devel yum install libvorbis-devel yum install libncurses-devel
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.
I have started building a site that allows registered users to upload video clips.
Until now I have always used shared hosting, but my host says I need a dedicated server with ffmpeg installed to allow video uploads.
(This annoyed me because when I asked about this shortly after buying a year's worth of shared hosting they told me I only needed to pay $75 and it would be sorted).
Anyway, I can't justify the cost of a dedicated server, so I need to learn a bit about shared hosting with ffmeg installed.
Is it worth it? Can shared servers cope with bandwidth demands? Are there any reputable and reliable hosts offering it?