<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Linux Forum &mdash; php-ffmpeg установка]]></title>
		<link>https://linuxforum.ru/viewtopic.php?id=37757</link>
		<atom:link href="https://linuxforum.ru/extern.php?action=feed&amp;tid=37757&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «php-ffmpeg установка».]]></description>
		<lastBuildDate>Tue, 24 Feb 2015 18:05:58 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: php-ffmpeg установка]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=446838#p446838</link>
			<description><![CDATA[<p>для тех у кого аналогичная проблема. у меня директадмин и поэтому 2 версии пхп(5.4 и 5.5). установил для 5.4 все получилось. а с пхп 5.5 все же проблема. то есть временно это можете решать переходя на версию 5.4</p>]]></description>
			<author><![CDATA[null@example.com (feqan.celebizade)]]></author>
			<pubDate>Tue, 24 Feb 2015 18:05:58 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=446838#p446838</guid>
		</item>
		<item>
			<title><![CDATA[Re: php-ffmpeg установка]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=446829#p446829</link>
			<description><![CDATA[<p>черт (( на файл /etc/selinux/config поставил<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh"><br /># This file controls the state of SELinux on the system.<br /># SELINUX= can take one of these three values:<br />#&nbsp; &nbsp; &nbsp; &nbsp;enforcing - SELinux security policy is enforced.<br />#&nbsp; &nbsp; &nbsp; &nbsp;permissive - SELinux prints warnings instead of enforcing.<br />#&nbsp; &nbsp; &nbsp; &nbsp;disabled - SELinux is fully disabled.<br />SELINUX=permissive<br /># SELINUXTYPE= type of policy in use. Possible values are:<br />#&nbsp; &nbsp; &nbsp; &nbsp;targeted - Only targeted network daemons are protected.<br />#&nbsp; &nbsp; &nbsp; &nbsp;strict - Full SELinux protection.<br />SELINUXTYPE=targeted</p><p># SETLOCALDEFS= Check local definition changes<br />SETLOCALDEFS=0<br /></div></p><p>перезагрузил, но так апач перестал включиться. все таки проверил список, там не было этого модуля.</p>]]></description>
			<author><![CDATA[null@example.com (feqan.celebizade)]]></author>
			<pubDate>Tue, 24 Feb 2015 17:00:57 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=446829#p446829</guid>
		</item>
		<item>
			<title><![CDATA[Re: php-ffmpeg установка]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=446815#p446815</link>
			<description><![CDATA[<div class="quotebox"><cite>versus666 пишет:</cite><blockquote><p>Может стоит попробовать активировать службу?<br />Попробуй<br />getsebool | grep ffmpeg-php<br />Если то, что тебе нужно неактивно, тогда выполни<br />setsebool имя_службы=on<br />Меня как-то раз такие манипуляции спасли </p></blockquote></div><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh"><br />[root@62949 ~]# getsebool | grep ffmpeg-php<br />getsebool:&nbsp; SELinux is disabled<br />[root@62949 ~]# setsebool SELinux=on<br />setsebool:&nbsp; SELinux is disabled.<br /></div></p><p> <img src="https://linuxforum.ru/img/smilies/bw.gif" alt="bw" /> не помогло (( можете через теам помогать?&nbsp; <img src="https://linuxforum.ru/img/smilies/ab.gif" alt="ab" /></p>]]></description>
			<author><![CDATA[null@example.com (feqan.celebizade)]]></author>
			<pubDate>Tue, 24 Feb 2015 15:46:00 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=446815#p446815</guid>
		</item>
		<item>
			<title><![CDATA[Re: php-ffmpeg установка]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=446795#p446795</link>
			<description><![CDATA[<div class="quotebox"><cite>feqan.celebizade пишет:</cite><blockquote><p>AntiduPb пишет:<br />спасибо) у меня не получилось, вместо меня делали. теперь проблема в ffmpeg-php gd support  =&gt; disabled</p></blockquote></div><p>Может стоит попробовать активировать службу?<br />Попробуй </p><div class="codebox"><pre><code>getsebool | grep ffmpeg-php</code></pre></div><p>Если то, что тебе нужно неактивно, тогда выполни </p><div class="codebox"><pre><code>setsebool имя_службы=on</code></pre></div><p>Меня как-то раз такие манипуляции спасли&nbsp; <img src="https://linuxforum.ru/img/smilies/bx.gif" alt="bx" /></p>]]></description>
			<author><![CDATA[null@example.com (versus666)]]></author>
			<pubDate>Tue, 24 Feb 2015 12:17:42 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=446795#p446795</guid>
		</item>
		<item>
			<title><![CDATA[Re: php-ffmpeg установка]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=446750#p446750</link>
			<description><![CDATA[<p>ещё добавлю что, рекомпилацию версии 0.7.0 делал через папку /usr/local/src/ffmpeg-php. в инете не смог найти эту версию, а /usr/local/src/ffmpeg-php эту папку я нашел случайно на сервере и переустановил через него,и прошло это успешно) может попытаться заново скачать версию 0.7.0? 0.6.0 сто раз скачал установил, не проходит. ошибку выше написал. если у кого-то есть ссылка на версию 0.7.0, скиньте сюда пожалуйста. попытаюсь переустановить</p>]]></description>
			<author><![CDATA[null@example.com (feqan.celebizade)]]></author>
			<pubDate>Mon, 23 Feb 2015 19:50:30 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=446750#p446750</guid>
		</item>
		<item>
			<title><![CDATA[Re: php-ffmpeg установка]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=446746#p446746</link>
			<description><![CDATA[<div class="quotebox"><cite>AntiduPb пишет:</cite><blockquote><p>Нету заголовочных файлов.<br />Установите их</p></blockquote></div><p>спасибо) у меня не получилось, вместо меня делали. теперь проблема в ffmpeg-php gd support&nbsp; =&gt; disabled</p><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh"><br />[root@62949 src]# php --info | grep ffmpeg-php<br />ffmpeg-php version =&gt; 0.7.0<br />ffmpeg-php built on =&gt; Feb 21 2015 19:46:58<br />ffmpeg-php gd support&nbsp; =&gt; disabled<br />OLDPWD =&gt; /usr/local/src/ffmpeg-php-0.6.0<br />_SERVER[&quot;OLDPWD&quot;] =&gt; /usr/local/src/ffmpeg-php-0.6.0<br />[root@62949 src]#<br /></div></p><p>как мне его включить? </p><p>погуглил нашел что надо переустановить с параметром ./configure --enable-skip-gd-check<br />у меня сейчас стоит версия 0.7.0.<br />при рекопмилации ffmpeg-php-0.6.0 выводит ошибку </p><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">[root@62949 ffmpeg-php-0.6.0]# make<br />/bin/sh /usr/local/src/ffmpeg-php-0.6.0/libtool --mode=compile cc&nbsp; -I. -I/usr/local/src/ffmpeg-php-0.6.0 -DPHP_ATOM_INC -I/usr/local/src/ffmpeg-php-0.6.0/include -I/usr/local/src/ffmpeg-php-0.6.0/main -I/usr/local/src/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/include/libavcodec/ -I/usr/include/libavformat/ -I/usr/include/libavutil/ -I/usr/include/libswscale/ -I/usr/include/libavfilter/ -I/usr/include/libavdevice/&nbsp; -DHAVE_CONFIG_H&nbsp; -g -O2 -Wall -fno-strict-aliasing&nbsp; &nbsp;-c /usr/local/src/ffmpeg-php-0.6.0/ffmpeg-php.c -o ffmpeg-php.lo<br />mkdir .libs<br /> cc -I. -I/usr/local/src/ffmpeg-php-0.6.0 -DPHP_ATOM_INC -I/usr/local/src/ffmpeg-php-0.6.0/include -I/usr/local/src/ffmpeg-php-0.6.0/main -I/usr/local/src/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/include/libavcodec/ -I/usr/include/libavformat/ -I/usr/include/libavutil/ -I/usr/include/libswscale/ -I/usr/include/libavfilter/ -I/usr/include/libavdevice/ -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c /usr/local/src/ffmpeg-php-0.6.0/ffmpeg-php.c&nbsp; -fPIC -DPIC -o .libs/ffmpeg-php.o<br />In file included from /usr/include/sys/stat.h:106:0,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from /usr/local/include/php/main/php_streams.h:28,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from /usr/local/include/php/main/php.h:396,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from /usr/local/src/ffmpeg-php-0.6.0/ffmpeg-php.c:40:<br />/usr/include/bits/stat.h:91:21: error: field ‘st_atim’ has incomplete type<br />&nbsp; &nbsp; &nbsp;struct timespec st_atim;&nbsp; /* Time of last access.&nbsp; */<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^<br />/usr/include/bits/stat.h:92:21: error: field ‘st_mtim’ has incomplete type<br />&nbsp; &nbsp; &nbsp;struct timespec st_mtim;&nbsp; /* Time of last modification.&nbsp; */<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^<br />/usr/include/bits/stat.h:93:21: error: field ‘st_ctim’ has incomplete type<br />&nbsp; &nbsp; &nbsp;struct timespec st_ctim;&nbsp; /* Time of last status change.&nbsp; */<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^<br />/usr/include/bits/stat.h:152:21: error: field ‘st_atim’ has incomplete type<br />&nbsp; &nbsp; &nbsp;struct timespec st_atim;&nbsp; /* Time of last access.&nbsp; */<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^<br />/usr/include/bits/stat.h:153:21: error: field ‘st_mtim’ has incomplete type<br />&nbsp; &nbsp; &nbsp;struct timespec st_mtim;&nbsp; /* Time of last modification.&nbsp; */<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^<br />/usr/include/bits/stat.h:154:21: error: field ‘st_ctim’ has incomplete type<br />&nbsp; &nbsp; &nbsp;struct timespec st_ctim;&nbsp; /* Time of last status change.&nbsp; */<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^<br />In file included from /usr/local/include/php/main/php_streams.h:28:0,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from /usr/local/include/php/main/php.h:396,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from /usr/local/src/ffmpeg-php-0.6.0/ffmpeg-php.c:40:<br />/usr/include/sys/stat.h:366:31: error: array type has incomplete element type<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;const struct timespec __times[2],<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^<br />/usr/include/sys/stat.h:373:54: error: array type has incomplete element type<br /> extern int futimens (int __fd, const struct timespec __times[2]) __THROW;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ^<br />In file included from /usr/local/include/php/main/php.h:402:0,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from /usr/local/src/ffmpeg-php-0.6.0/ffmpeg-php.c:40:<br />/usr/local/include/php/TSRM/tsrm_virtual_cwd.h:218:2: error: unknown type name&nbsp; time_t’<br />&nbsp; time_t&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;expires;<br />&nbsp; ^<br />/usr/local/include/php/TSRM/tsrm_virtual_cwd.h:246:86: error: unknown type name ‘time_t’<br /> CWD_API realpath_cache_bucket* realpath_cache_lookup(const char *path, int path_len, time_t t TSRMLS_DC);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ^<br />/usr/local/src/ffmpeg-php-0.6.0/ffmpeg-php.c: In function ‘zm_startup_ffmpeg’:<br />/usr/local/src/ffmpeg-php-0.6.0/ffmpeg-php.c:94:5: warning: implicit declaration of function ‘avcodec_init’ [-Wimplicit-function-declaration]<br />&nbsp; &nbsp; &nbsp;avcodec_init();<br />&nbsp; &nbsp; &nbsp;^<br />make: *** [ffmpeg-php.lo] Error 1<br /></div></p><br /><p>поэтому рекомпилировал ffmpeg-php-0.7.0. все прошло успешно. файл ffmpeg.so создался. заменил со старой. перезагрузил пхп и апач. всеравно не помогло. <br />обратил внимание на пхп инфо:</p><p>ffmpeg-php version&nbsp; &nbsp; 0.7.0<br />ffmpeg-php built on&nbsp; &nbsp; Feb 21 2015 19:46:58<br />ffmpeg-php gd support&nbsp; &nbsp; disabled</p><p>буилт показывает прежнюю дату. а я переустановил сегодня. причем новый файл размером отличается со старого. как быть?</p>]]></description>
			<author><![CDATA[null@example.com (feqan.celebizade)]]></author>
			<pubDate>Mon, 23 Feb 2015 19:26:09 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=446746#p446746</guid>
		</item>
		<item>
			<title><![CDATA[Re: php-ffmpeg установка]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=446466#p446466</link>
			<description><![CDATA[<div class="quotebox"><cite>feqan.celebizade пишет:</cite><blockquote><div class="codebox"><pre><code>error: ffmpeg headers not found. Make sure ffmpeg is compiled as shared libraries using the --enable-shared option</code></pre></div><p>от чего это?</p></blockquote></div><p>Нету заголовочных файлов.<br />Установите их<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh"># yum install ffmpeg-devel</div></p>]]></description>
			<author><![CDATA[null@example.com (AntiduPb)]]></author>
			<pubDate>Sat, 21 Feb 2015 19:18:48 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=446466#p446466</guid>
		</item>
		<item>
			<title><![CDATA[Re: php-ffmpeg установка]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=446451#p446451</link>
			<description><![CDATA[<div class="codebox"><pre><code>error: ffmpeg headers not found. Make sure ffmpeg is compiled as shared libraries using the --enable-shared option</code></pre></div><p>от чего это?</p>]]></description>
			<author><![CDATA[null@example.com (feqan.celebizade)]]></author>
			<pubDate>Sat, 21 Feb 2015 16:49:29 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=446451#p446451</guid>
		</item>
		<item>
			<title><![CDATA[php-ffmpeg установка]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=446448#p446448</link>
			<description><![CDATA[<p>привет. у меня сервер Centos 7, x64 , directadmin , php-fpm55,&nbsp; php-fpm54<br />надо установить php-ffmpeg. ffmpeg установил, но для php-ffmpeg не смог найти установку для Centos 7, x64. <br />рабочую инструкцию видали?</p>]]></description>
			<author><![CDATA[null@example.com (feqan.celebizade)]]></author>
			<pubDate>Sat, 21 Feb 2015 16:19:05 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=446448#p446448</guid>
		</item>
	</channel>
</rss>
