Установка php-ffmpeg на сервер с php5.4+ - Visavi.net https://visavi.net/ RSS - Visavi.net https://visavi.net/assets/img/images/logo_small.png RSS - Visavi.net https://visavi.net/ [email protected] (admin) [email protected] (admin) Thu, 09 Jan 2025 22:10:07 +0300 debian 6 https://visavi.net/topics/33485/577390 Установка php-ffmpeg на сервер с php5.4+ Александр Thu, 26 Jul 2012 15:13:28 +0400 Сообщения https://visavi.net/topics/33485/577390 Какой дистрибьютив? https://visavi.net/topics/33485/577389 Установка php-ffmpeg на сервер с php5.4+ shilo Thu, 26 Jul 2012 15:11:12 +0400 Сообщения https://visavi.net/topics/33485/577389 я хз. как проверить? у меня стоит ffmpeg на сервере не как модуль php. https://visavi.net/topics/33485/577387 Установка php-ffmpeg на сервер с php5.4+ Александр Thu, 26 Jul 2012 14:44:36 +0400 Сообщения https://visavi.net/topics/33485/577387 ffmpeg-devel стоит? https://visavi.net/topics/33485/577381 Установка php-ffmpeg на сервер с php5.4+ shilo Thu, 26 Jul 2012 14:33:20 +0400 Сообщения https://visavi.net/topics/33485/577381 <div class="spoiler"> <b class="spoiler-title">вот окончание</b> <div class="spoiler-text" style="display: none;"><pre class="prettyprint">/root/ffmpeg-php-0.6.0/ffmpeg_movie.c&#58;1246&#58; error&#58; &#039;CODEC_TYPE_VIDEO&#039; undeclared (first use in this function) /root/ffmpeg-php-0.6.0/ffmpeg_movie.c&#58;1282&#58; error&#58; &#039;AVCodecContext&#039; has no member named &#039;hurry_up&#039; /root/ffmpeg-php-0.6.0/ffmpeg_movie.c&#58;1284&#58; error&#58; &#039;AVCodecContext&#039; has no member named &#039;hurry_up&#039; /root/ffmpeg-php-0.6.0/ffmpeg_movie.c&#58; In function &#039;_php_get_sample_aspect_ratio&#039;&#58; /root/ffmpeg-php-0.6.0/ffmpeg_movie.c&#58;1443&#58; error&#58; &#039;CODEC_TYPE_VIDEO&#039; undeclared (first use in this function) make&#58; *** &#91;ffmpeg_movie.lo] Error 1 root&#64;my&#58;~/ffmpeg-php-0.6.0#</pre></div> </div> https://visavi.net/topics/33485/577372 Установка php-ffmpeg на сервер с php5.4+ Александр Thu, 26 Jul 2012 13:17:51 +0400 Сообщения https://visavi.net/topics/33485/577372 покажи чем всё заканчивается. пока что это всё ерунда https://visavi.net/topics/33485/577371 Установка php-ffmpeg на сервер с php5.4+ shilo Thu, 26 Jul 2012 13:11:59 +0400 Сообщения https://visavi.net/topics/33485/577371 короче куча ошибок.<br> может ктото подскажет способ или причину ошибок?<br> п.с.<br> Блин даже под спойлер невозможно лог ошибок вставить. длина сообщения не позволяет<br> <br> <em><span style="font-size:x-small">Добавлено через 03:34 сек.</span></em><br> <div class="spoiler"> <b class="spoiler-title">часть 3</b> <div class="spoiler-text" style="display: none;"><pre class="prettyprint">/root/ffmpeg-php-0.6.0/ffmpeg_movie.c&#58;73&#58; error&#58; &#039;MAX_STREAMS&#039; undeclared here (not in a function) /root/ffmpeg-php-0.6.0/ffmpeg_movie.c&#58; In function &#039;_php_get_video_stream&#039;&#58; /root/ffmpeg-php-0.6.0/ffmpeg_movie.c&#58;152&#58; error&#58; &#039;CODEC_TYPE_VIDEO&#039; undeclared (first use in this function) /root/ffmpeg-php-0.6.0/ffmpeg_movie.c&#58;152&#58; error&#58; (Each undeclared identifier is reported only once /root/ffmpeg-php-0.6.0/ffmpeg_movie.c&#58;152&#58; error&#58; for each function it appears in.) /root/ffmpeg-php-0.6.0/ffmpeg_movie.c&#58; In function &#039;_php_get_audio_stream&#039;&#58; /root/ffmpeg-php-0.6.0/ffmpeg_movie.c&#58;165&#58; error&#58; &#039;CODEC_TYPE_AUDIO&#039; undeclared (first use in this function) /root/ffmpeg-php-0.6.0/ffmpeg_movie.c&#58; In function &#039;_php_open_movie_file&#039;&#58; /root/ffmpeg-php-0.6.0/ffmpeg_movie.c&#58;258&#58; warning&#58; &#039;av_open_input_file&#039; is deprecated (declared at /usr/local/include/libavformat/avformat.h&#58;1083) /root/ffmpeg-php-0.6.0/ffmpeg_movie.c&#58; In function &#039;zim_ffmpeg_movie___construct&#039;&#58; /root/ffmpeg-php-0.6.0/ffmpeg_movie.c&#58;311&#58; error&#58; &#039;list_entry&#039; undeclared (first use in this function) /root/ffmpeg-php-0.6.0/ffmpeg_movie.c&#58;311&#58; error&#58; &#039;le&#039; undeclared (first use in this function) /root/ffmpeg-php-0.6.0/ffmpeg_movie.c&#58;346&#58; error&#58; expected &#039;;&#039; before &#039;new_le&#039; /root/ffmpeg-php-0.6.0/ffmpeg_movie.c&#58;356&#58; error&#58; &#039;new_le&#039; undeclared (first use in this function) /root/ffmpeg-php-0.6.0/ffmpeg_movie.c&#58; In function &#039;_php_get_decoder_context&#039;&#58; /root/ffmpeg-php-0.6.0/ffmpeg_movie.c&#58;484&#58; error&#58; &#039;CODEC_TYPE_VIDEO&#039; undeclared (first use in this function) /root/ffmpeg-php-0.6.0/ffmpeg_movie.c&#58; In function &#039;zim_ffmpeg_movie_getComment&#039;&#58; </pre></div> </div> https://visavi.net/topics/33485/577367 Установка php-ffmpeg на сервер с php5.4+ Александр Thu, 26 Jul 2012 13:03:50 +0400 Сообщения https://visavi.net/topics/33485/577367 <div class="spoiler"> <b class="spoiler-title">часть2</b> <div class="spoiler-text" style="display: none;"><br> <pre class="prettyprint"> creating libtool appending configuration tag &quot;CXX&quot; to libtool configure&#58; creating ./config.status config.status&#58; creating config.h /bin/bash /root/ffmpeg-php-0.6.0/libtool --mode=compile cc -I. -I/root/ffmpeg-php-0.6.0 -DPHP_ATOM_INC -I/root/ffmpeg-php-0.6.0/include -I/root/ffmpeg-php-0.6.0/main -I/root/ffmpeg-php-0.6.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/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include/libavcodec/ -I/usr/local/include/libavformat/ -I/usr/local/include/libavutil/ -I/usr/local/include/libswscale/ -I/usr/local/include/libavfilter/ -I/usr/local/include/libavdevice/ -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c /root/ffmpeg-php-0.6.0/ffmpeg-php.c -o ffmpeg-php.lo mkdir .libs cc -I. -I/root/ffmpeg-php-0.6.0 -DPHP_ATOM_INC -I/root/ffmpeg-php-0.6.0/include -I/root/ffmpeg-php-0.6.0/main -I/root/ffmpeg-php-0.6.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/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include/libavcodec/ -I/usr/local/include/libavformat/ -I/usr/local/include/libavutil/ -I/usr/local/include/libswscale/ -I/usr/local/include/libavfilter/ -I/usr/local/include/libavdevice/ -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c /root/ffmpeg-php-0.6.0/ffmpeg-php.c -fPIC -DPIC -o .libs/ffmpeg-php.o /bin/bash /root/ffmpeg-php-0.6.0/libtool --mode=compile cc -I. -I/root/ffmpeg-php-0.6.0 -DPHP_ATOM_INC -I/root/ffmpeg-php-0.6.0/include -I/root/ffmpeg-php-0.6.0/main -I/root/ffmpeg-php-0.6.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/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include/libavcodec/ -I/usr/local/include/libavformat/ -I/usr/local/include/libavutil/ -I/usr/local/include/libswscale/ -I/usr/local/include/libavfilter/ -I/usr/local/include/libavdevice/ -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c /root/ffmpeg-php-0.6.0/ffmpeg_movie.c -o ffmpeg_movie.lo cc -I. -I/root/ffmpeg-php-0.6.0 -DPHP_ATOM_INC -I/root/ffmpeg-php-0.6.0/include -I/root/ffmpeg-php-0.6.0/main -I/root/ffmpeg-php-0.6.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/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include/libavcodec/ -I/usr/local/include/libavformat/ -I/usr/local/include/libavutil/ -I/usr/local/include/libswscale/ -I/usr/local/include/libavfilter/ -I/usr/local/include/libavdevice/ -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c /root/ffmpeg-php-0.6.0/ffmpeg_movie.c -fPIC -DPIC -o .libs/ffmpeg_movie.o </pre> </div> </div> https://visavi.net/topics/33485/577362 Установка php-ffmpeg на сервер с php5.4+ Александр Thu, 26 Jul 2012 12:54:35 +0400 Сообщения https://visavi.net/topics/33485/577362 Кто нибудь пробовал скомпилировать php-ffmpeg на последние версии php?<br> при попытке это сделать я получаю следующее<br> <div class="spoiler"> <b class="spoiler-title">компиляция</b> <div class="spoiler-text" style="display: none;"><br> <pre class="prettyprint"> root&#64;my&#58;~/ffmpeg-php-0.6.0# ./configure &amp;&amp; make checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for a sed that does not truncate output... /bin/sed checking for cc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cc -E checking for icc... no checking for suncc... no checking whether cc understands -c and -o together... yes checking for system library directory... lib checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for PHP prefix... /usr/local 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/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20100525 checking for PHP installed headers prefix... /usr/local/include/php checking if debug is enabled... no checking if zts is enabled... no checking for re2c... no configure&#58; WARNING&#58; You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking for gawk... no checking for nawk... nawk checking if nawk is broken... no checking for ffmpeg support... yes, shared checking whether to force gd support in ffmpeg-php... no checking for ffmpeg headers... ...found in /usr/local/include/libavcodec checking for ffmpeg libavcodec.so... ...found in /usr/lib checking for ffmpeg swscale support... yes checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognize dependent libraries... pass_all checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes </pre> </div> </div> https://visavi.net/topics/33485/577360 Установка php-ffmpeg на сервер с php5.4+ Александр Thu, 26 Jul 2012 12:52:27 +0400 Сообщения https://visavi.net/topics/33485/577360