I am pulling my hair out. After two days of googling and trying almost all links I can find, I still can't install ffmpeg-php
The following is the closest that I get
https://wiki.ubuntu.com/ffmpeg
or
http://linux.justinhartman.com/FFmpe...R_Installation
But I always get the following type of error:
I really need to get this installed... any ideasCode:root@vserver:/usr/local/src/ffmpeg-php-0.5.0# make /bin/bash /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/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/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/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/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 .libs/ffmpeg-php.o /usr/local/src/ffmpeg-php-0.5.0/ffmpeg-php.c:26:22: error: avformat.h: No such file or directory /usr/local/src/ffmpeg-php-0.5.0/ffmpeg-php.c: In function âzm_startup_ffmpegâ: /usr/local/src/ffmpeg-php-0.5.0/ffmpeg-php.c:76: warning: implicit declaration of function âav_register_allâ /usr/local/src/ffmpeg-php-0.5.0/ffmpeg-php.c: In function âzm_info_ffmpegâ: /usr/local/src/ffmpeg-php-0.5.0/ffmpeg-php.c:118: error: âLIBAVFORMAT_IDENTâ undeclared (first use in this function) /usr/local/src/ffmpeg-php-0.5.0/ffmpeg-php.c:118: error: (Each undeclared identifier is reported only once /usr/local/src/ffmpeg-php-0.5.0/ffmpeg-php.c:118: error: for each function it appears in.) make: *** [ffmpeg-php.lo] Error 1
![]()



Adv Reply






Bookmarks