[ Ïîèñê ] - [ Ïîëüçîâàòåëè ] - [ Êàëåíäàðü ]
Ïîëíàÿ Âåðñèÿ: ffmpeg + php 5.3.18 - íà centos
Ñòðàíèöû: 1, 2
ÈÍÑÈ
ß óæå öåëûé äåíü èùó èíôó, óñòàíàâàëèâàþ è ò.ä. íèôèãà íå ïîëó÷àåòñÿ. Ìîæåò êòî çíàåò.

Ñåðâåð: VPS, PHP 5.3.18, ISP Manager + centos. Óñòàíàâëèâàþ

# wget http://sourceforge.net/projects/ffmpeg-php...0.tbz2/download
# tar xjvf ffmpeg-php-0.6.0.tbz2
# cd ffmpeg-php-0.6.0
# phpize
# ./configure
# make

Ïîñëå êîìàíäû make, âûñêàêèâàþò îøèáêè:
Ñâåðíóòûé òåêñò
/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:253: warning: Á─≤av_close_input_fileÁ─≥ is deprecated (declared at /usr/include/libavformat/avformat.h:1706)
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c:258: warning: Á─≤av_open_input_fileÁ─≥ is deprecated (declared at /usr/include/libavformat/avformat.h:1480)
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c:263: warning: Á─≤av_find_stream_infoÁ─≥ is deprecated (declared at /usr/include/libavformat/avformat.h:1526)
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function Á─≤_php_free_ffmpeg_movieÁ─≥:
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c:417: warning: Á─≤av_close_input_fileÁ─≥ is deprecated (declared at /usr/include/libavformat/avformat.h:1706)
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function Á─≤_php_free_ffmpeg_pmovieÁ─≥:
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c:441: warning: Á─≤av_close_input_fileÁ─≥ is deprecated (declared at /usr/include/libavformat/avformat.h:1706)
/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:513: warning: Á─≤avcodec_openÁ─≥ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4155)
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function Á─≤zim_ffmpeg_movie_getCommentÁ─≥:
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c:531: error: Á─≤AVFormatContextÁ─≥ has no member named Á─≤commentÁ─≥
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c:531: error: Á─≤AVFormatContextÁ─≥ has no member named Á─≤commentÁ─≥
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function Á─≤zim_ffmpeg_movie_getTitleÁ─≥:
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c:546: error: Á─≤AVFormatContextÁ─≥ has no member named Á─≤titleÁ─≥
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c:546: error: Á─≤AVFormatContextÁ─≥ has no member named Á─≤titleÁ─≥
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function Á─≤zim_ffmpeg_movie_getAuthorÁ─≥:
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c:561: error: Á─≤AVFormatContextÁ─≥ has no member named Á─≤authorÁ─≥
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c:561: error: Á─≤AVFormatContextÁ─≥ has no member named Á─≤authorÁ─≥
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function Á─≤zim_ffmpeg_movie_getCopyrightÁ─≥:
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c:575: error: Á─≤AVFormatContextÁ─≥ has no member named Á─≤copyrightÁ─≥
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c:575: error: Á─≤AVFormatContextÁ─≥ has no member named Á─≤copyrightÁ─≥
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function Á─≤zim_ffmpeg_movie_getAlbumÁ─≥:
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c:590: error: Á─≤AVFormatContextÁ─≥ has no member named Á─≤albumÁ─≥
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c:590: error: Á─≤AVFormatContextÁ─≥ has no member named Á─≤albumÁ─≥
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function Á─≤zim_ffmpeg_movie_getGenreÁ─≥:
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c:604: error: Á─≤AVFormatContextÁ─≥ has no member named Á─≤genreÁ─≥
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c:604: error: Á─≤AVFormatContextÁ─≥ has no member named Á─≤genreÁ─≥
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function Á─≤zim_ffmpeg_movie_getTrackNumberÁ─≥:
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c:619: error: Á─≤AVFormatContextÁ─≥ has no member named Á─≤trackÁ─≥
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function Á─≤zim_ffmpeg_movie_getYearÁ─≥:
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c:632: error: Á─≤AVFormatContextÁ─≥ has no member named Á─≤yearÁ─≥
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function Á─≤_php_get_framerateÁ─≥:
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c:678: error: Á─≤CODEC_TYPE_VIDEOÁ─≥ undeclared (first use in this function)
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function Á─≤_php_get_framenumberÁ─≥:
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c:810: error: Á─≤CODEC_TYPE_VIDEOÁ─≥ undeclared (first use in this function)
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function Á─≤_php_get_pixelformatÁ─≥:
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c:850: error: Á─≤CODEC_TYPE_VIDEOÁ─≥ undeclared (first use in this function)
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function Á─≤zim_ffmpeg_movie_getPixelFormatÁ─≥:
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c:868: warning: Á─≤avcodec_get_pix_fmt_nameÁ─≥ is deprecated (declared at /usr/include/libavcodec/avcodec.h:3775)
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function Á─≤_php_get_codec_nameÁ─≥:
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c:963: error: Á─≤CODEC_TYPE_VIDEOÁ─≥ undeclared (first use in this function)
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function Á─≤zim_ffmpeg_movie_getVideoCodecÁ─≥:
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c:989: error: Á─≤CODEC_TYPE_VIDEOÁ─≥ undeclared (first use in this function)
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function Á─≤zim_ffmpeg_movie_getAudioCodecÁ─≥:
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c:1009: error: Á─≤CODEC_TYPE_AUDIOÁ─≥ undeclared (first use in this function)
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function Á─≤zim_ffmpeg_movie_getVideoStreamIdÁ─≥:
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c:1029: error: Á─≤CODEC_TYPE_VIDEOÁ─≥ undeclared (first use in this function)
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function Á─≤zim_ffmpeg_movie_getAudioStreamIdÁ─≥:
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c:1051: error: Á─≤CODEC_TYPE_AUDIOÁ─≥ undeclared (first use in this function)
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function Á─≤zim_ffmpeg_movie_getAudioChannelsÁ─≥:
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c:1089: error: Á─≤CODEC_TYPE_AUDIOÁ─≥ undeclared (first use in this function)
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function Á─≤zim_ffmpeg_movie_getAudioSampleRateÁ─≥:
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c:1125: error: Á─≤CODEC_TYPE_AUDIOÁ─≥ undeclared (first use in this function)
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function Á─≤zim_ffmpeg_movie_getAudioBitRateÁ─≥:
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c:1161: error: Á─≤CODEC_TYPE_AUDIOÁ─≥ undeclared (first use in this function)
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function Á─≤zim_ffmpeg_movie_getVideoBitRateÁ─≥:
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c:1181: error: Á─≤CODEC_TYPE_VIDEOÁ─≥ undeclared (first use in this function)
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function Á─≤_php_read_av_frameÁ─≥:
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c:1204: error: Á─≤CODEC_TYPE_VIDEOÁ─≥ undeclared (first use in this function)
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c:1215: warning: implicit declaration of function Á─≤avcodec_decode_videoÁ─≥
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c:1219: error: Á─≤PKT_FLAG_KEYÁ─≥ undeclared (first use in this function)
/root/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function Á─≤_php_get_av_frameÁ─≥:
/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)


Îáîøåë âåñü ãóãë. Ïðîáîâàë ðàçíûå âàðèàíòû, âñå ðàâíî íå èäåò. Æäó îò âàñ ïîìîùè, ñïàñèáî.
Áûñòðûé îòâåò:

 Ãðàôè÷åñêèå ñìàéëèêè |  Ïîêàçûâàòü ïîäïèñü
Çäåñü ðàñïîëîæåíà ïîëíàÿ âåðñèÿ ýòîé ñòðàíèöû.
Invision Power Board © 2001-2024 Invision Power Services, Inc.