FFMPEG Installation CentOS 6.4

Serverdienste ohne eigene Kategorie
Foxgerman
Posts: 25
Joined: 2013-02-06 22:30
Location: Bremen
 

FFMPEG Installation CentOS 6.4

Post by Foxgerman »

Hi

Ich versuche mich gerade an FFMPEG Installation und habe diese bereits auf dem Server. Nur ist die Installation ziemlich alt und muss nun aufgrund Softwareanpassungen auf den neuesten Stand gebracht werden. Die damailige Installation habe ich nach dieser Anleitung http://www.mysql-apache-php.com/ffmpeg-install.htm vorgenommen und dies funktionierte auch einwandfrei.


Nun habe ich diese entfernt und konnte anhand einer neuen Anleitung (http://ffmpeg.org/trac/ffmpeg/wiki/Cent ... ationGuide) FFMPEG installieren. FFMEPG lässt sich danach wunderbar installieren.

Nun brauche ich jedoch noch ffmpeg-php und komme damit nicht weiter. Fehlermeldung nach make lautet:

Code: Select all

/bin/sh /root/ffmpeg_sources/ffmpeg/ffmpeg-php-0.6.0/libtool --mode=compile cc  -I. -I/root/ffmpeg_sources/ffmpeg/ffmpeg-php-0.6.0 -DPHP_ATOM_INC -I/root/ffmpeg_sources/ffmpeg/ffmpeg-php-0.6.0/include -I/root/ffmpeg_sources/ffmpeg/ffmpeg-php-0.6.0/main -I/root/ffmpeg_sources/ffmpeg/ffmpeg-php-0.6.0 -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 -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_sources/ffmpeg/ffmpeg-php-0.6.0/ffmpeg-php.c -o ffmpeg-php.lo 
libtool: compile:  cc -I. -I/root/ffmpeg_sources/ffmpeg/ffmpeg-php-0.6.0 -DPHP_ATOM_INC -I/root/ffmpeg_sources/ffmpeg/ffmpeg-php-0.6.0/include -I/root/ffmpeg_sources/ffmpeg/ffmpeg-php-0.6.0/main -I/root/ffmpeg_sources/ffmpeg/ffmpeg-php-0.6.0 -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 -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_sources/ffmpeg/ffmpeg-php-0.6.0/ffmpeg-php.c  -fPIC -DPIC -o .libs/ffmpeg-php.o
In file included from /usr/include/sys/stat.h:107,
                 from /usr/include/php/main/php_streams.h:28,
                 from /usr/include/php/main/php.h:405,
                 from /root/ffmpeg_sources/ffmpeg/ffmpeg-php-0.6.0/ffmpeg-php.c:40:
/usr/include/bits/stat.h:91: Fehler: Feld »st_atim« hat unvollständigen Typen
/usr/include/bits/stat.h:92: Fehler: Feld »st_mtim« hat unvollständigen Typen
/usr/include/bits/stat.h:93: Fehler: Feld »st_ctim« hat unvollständigen Typen
/usr/include/bits/stat.h:152: Fehler: Feld »st_atim« hat unvollständigen Typen
/usr/include/bits/stat.h:153: Fehler: Feld »st_mtim« hat unvollständigen Typen
/usr/include/bits/stat.h:154: Fehler: Feld »st_ctim« hat unvollständigen Typen
In file included from /usr/include/php/main/php_streams.h:28,
                 from /usr/include/php/main/php.h:405,
                 from /root/ffmpeg_sources/ffmpeg/ffmpeg-php-0.6.0/ffmpeg-php.c:40:
/usr/include/sys/stat.h:367: Fehler: Feldtyp hat unvollständigen Elementtypen
/usr/include/sys/stat.h:374: Fehler: Feldtyp hat unvollständigen Elementtypen
In file included from /usr/include/php/main/php.h:411,
                 from /root/ffmpeg_sources/ffmpeg/ffmpeg-php-0.6.0/ffmpeg-php.c:40:
/usr/include/php/TSRM/tsrm_virtual_cwd.h:212: Fehler: expected specifier-qualifier-list before »time_t«
/usr/include/php/TSRM/tsrm_virtual_cwd.h:240: Fehler: expected declaration specifiers or »...« before »time_t«
/root/ffmpeg_sources/ffmpeg/ffmpeg-php-0.6.0/ffmpeg-php.c: In Funktion »zm_startup_ffmpeg«:
/root/ffmpeg_sources/ffmpeg/ffmpeg-php-0.6.0/ffmpeg-php.c:94: Warnung: Implizite Deklaration der Funktion »avcodec_init«
make: *** [ffmpeg-php.lo] Fehler 1
Die übliche Anpassung der ffmpeg_frame_c mit der Ersetzung von PIX_FMT_RGBA32 durch PIX_FMT_RGB32 habe ich bereits ohne Erfolg zu haben ausprobiert.

Weiss jemand wie ich das Problem lösen kann? Komme auch nach 2 Tagen nicht weiter:-(