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.
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.
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.
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.
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?
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.
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?
How can I remove " " from properties domain aliases? --------------- Mail service - Mail service is switched on for the domain. mx1.domain.ru., mx2.domain.ru. is used as the mail server. ---------------
I've installed Darwin Streaming Server on a brand new server (vps). But, what do you know, the RTSP and MP3 streaming TCP ports are not defined in the etc/services file of the server.
Is this normal? Should I have an issue with the service provider?
I'm trying to use mysqlhotcopy on freebsd 6.1 with mysql 5.0.45, but I'm getting this error when executing it:
/libexec/ld-elf.so.1: /usr/local/lib/perl5/site_perl/5.8.8/mach/auto/DBD/mysql/mysql.so: Undefined symbol "mysql_server_init"
at first, I was having problems compiling DBD-mysql, because mysql.h and mysqld_error.h wasn't on the include dir, so I had to add -I/usr/local/mysql-5.0.45-freebsd6.0-i386/include to cflags (I also tried -I/usr/local/include/mysql , but same happened)
since the error persisted, I changed all references to mysql_server_init (deprecated) to mysql_library_init (same for mysql_server_end -> mysql_library_end)
Everytime I try to access a PHP script with Oracle on it, I get this message:
Quote:
Warning: oci_connect() [function.oci-connect]: OCIEnvNlsCreate() failed. There is something wrong with your system - please check that ORACLE_HOME is set and points to the right directory in /path/to/file.php on line 215
This was on PHP 5.
In my attempts to resolve this problem, here is what I did.
I tried the following with oracle-xe running and while it had been stopped:
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/nls_lang.sh: 114: [[: not found /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/nls_lang.sh: 114: [[: not found
and here is /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/nls_lang.sh:
Code: 103 # Detertmine the LANGUAGE_TERRITORY part of NLS_LANG 104 # we derive it from the current locale by inspecting the LC_ALL and 105 # the LANG environment variable. Other LC_* environment variables 106 # are not inspected. 107 # 108 if [[ -n "$LC_ALL" ]]; then 109 locale=$LC_ALL 110 elif [[ -n "$LANG" ]]; then 111 locale=$LANG 112 else 113 locale= 114 fi
I then opened /etc/bash.bashrc and tried adding this to the bottom:
Code: LC_ALL='en_GB' export LC_ALL and sourced it but that did not work so I replaced it with this:
Code: LC_ALL='C' export LC_ALL and sourced it but still no luck.
I have an error that has arisen me for no apparent reason. This error does not allow me to enable or disable DNS domains. I searched for solutions but have not found anything.
The error message is: ERROR: Call to undefined method plesk__client__domain__dns__toggle::_postRequestRequired() (DNSToggleUIPointer.php:26)
And as I said DNS appears when activated or deactivated by the domain from Plesk panel
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?