Установка php-ffmpeg на сервер с php5.4+ - Visavi.net
https://visavi.net/
RSS - Visavi.nethttps://visavi.net/assets/img/images/logo_small.pngRSS - Visavi.net
https://visavi.net/
[email protected] (admin)[email protected] (admin)Thu, 09 Jan 2025 22:10:07 +0300debian 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+ shiloThu, 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/577387ffmpeg-devel стоит?
https://visavi.net/topics/33485/577381
Установка php-ffmpeg на сервер с php5.4+ shiloThu, 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:1246: error: 'CODEC_TYPE_VIDEO' undeclared (first use in this function)
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c:1282: error: 'AVCodecContext' has no member named 'hurry_up'
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c:1284: error: 'AVCodecContext' has no member named 'hurry_up'
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function '_php_get_sample_aspect_ratio':
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c:1443: error: 'CODEC_TYPE_VIDEO' undeclared (first use in this function)
make: *** [ffmpeg_movie.lo] Error 1
root@my:~/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+ shiloThu, 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:73: error: 'MAX_STREAMS' undeclared here (not in a function)
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function '_php_get_video_stream':
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c:152: error: 'CODEC_TYPE_VIDEO' undeclared (first use in this function)
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c:152: error: (Each undeclared identifier is reported only once
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c:152: error: for each function it appears in.)
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function '_php_get_audio_stream':
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c:165: error: 'CODEC_TYPE_AUDIO' undeclared (first use in this function)
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function '_php_open_movie_file':
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c:258: warning: 'av_open_input_file' is deprecated (declared at /usr/local/include/libavformat/avformat.h:1083)
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function 'zim_ffmpeg_movie___construct':
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c:311: error: 'list_entry' undeclared (first use in this function)
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c:311: error: 'le' undeclared (first use in this function)
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c:346: error: expected ';' before 'new_le'
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c:356: error: 'new_le' undeclared (first use in this function)
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function '_php_get_decoder_context':
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c:484: error: 'CODEC_TYPE_VIDEO' undeclared (first use in this function)
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function 'zim_ffmpeg_movie_getComment':
</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 "CXX" to libtool
configure: creating ./config.status
config.status: 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@my:~/ffmpeg-php-0.6.0# ./configure && 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: WARNING: 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