Установка ffmpeg-php на CentOS

Печать RSS
553

H

Пришелец
0
а как установить? По инструкции не написано. Делал как пост 8 пищеть
H

Пришелец
0
Спасибо ZiGR, помог и установил. +1
Изменил: HQ-Maker (05.02.2012 / 20:46)

Оранжевые штаны
0
А темка пригодилась )

Добавлено через 02:01 сек.
Кстати спасибо
N

Голубые штаны
0
Хе, народ до сих пор бабки берет за 3 минуты в терминале и разносит басни как сложно поставить ffmpeg-php
L

Землянин
0
На нормальном хосте это поддержка бесплатно сделает
L

Землянин
0
Попал на не нормальный хост smile , нужно самому ставить.
Шел по инструкции
1. Подключаем репозиторий rpmforge.

2. Устанавливаем нужные нам пакеты.

# yum install mplayer mencoder flvtool2 libogg libvorbis lame ffmpeg ffmpeg-devel php-devel

3. Теперь приступим непосредственно к установке php-ffmpeg


Переходим в папку src

# cd /usr/local/src/

Скачиваем php-ffmeg
# wget http://sourceforge.net/projects/ffmpeg-php/files/ffmpeg-php/0.6.0/ffmp...

Разархивируем, конфигурируем и исталируем.

# tar xjvf ffmpeg-php-0.6.0.tbz2

# cd ffmpeg-php-0.6.0

# phpize

и вот на # phpize стопор, пишет типа команда неизвестна. Centos 6.4 32bit
Что делать?
Изменил: lekt (14.08.2013 / 21:25)

Пришелец
0
18. lekt, установить php-cli
yum provides phpize
Изменил: CyRaXMAN (14.08.2013 / 21:39)
L

Землянин
0
теперь после ./configure пишет:
[root@vps36 ffmpeg-php-0.6.0]# ./configure
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 for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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
checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib
checking for PHP extension directory... /usr/lib/php/modules
checking for PHP installed headers prefix... /usr/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... gawk
checking for ffmpeg support... yes, shared
checking whether to force gd support in ffmpeg-php... no
checking for ffmpeg headers...
configure: error: ffmpeg headers not found. Make sure ffmpeg is compiled as shared libraries using the --enable-shared option
L

Землянин
0
Походу проблема в том что не ставятся mplayer mencoder, почему то пытается установить i386, а нужно i686, репозиторий ставлю i686, ffmpeg ставится, но i386. Наверно нужно на 64 bit перейти
L

Землянин
0
Я оказался прав на счет битности оси, на 64 встало. Правда была проблема из за корявого ffmpeg-php который был установлен из репозитория. Решил проблему скачав с гитхаба у какого то юзера.
Стикеры / Теги / Правила / Топ тем / Топ постов / Поиск