<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Установка и настройка FFMPEG на Linux Mandriva 2010]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=3854&amp;type=atom" />
	<updated>2010-06-03T14:57:43Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=3854</id>
		<entry>
			<title type="html"><![CDATA[Re: Установка и настройка FFMPEG на Linux Mandriva 2010]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=56563#p56563" />
			<content type="html"><![CDATA[<p>Спасибо. Благодарен. Искал по тому запросу что Вы написали PHP5 вот по этому видно и не нашел.</p><p>Вот так и не смог настроить. Как я понял ему не хватает enable shared option. Но FFMPEG собран с этой опцией. Вот код. Не могу понять в чем проблема. <br />ffmpeg<br /></p><div class="codebox"><pre><code>[root@localhost ffmpeg]# ffmpeg
FFmpeg version 0.5, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --prefix=/usr --enable-shared --libdir=/usr/lib --shlibdir=/usr/lib --incdir=/usr/include --enable-postproc --enable-gpl --enable-pthreads --enable-libtheora --enable-libvorbis --enable-x11grab --enable-swscale                                                                         
  libavutil     49.15. 0 / 49.15. 0                                                                 
  libavcodec    52.20. 0 / 52.20. 0                                                                 
  libavformat   52.31. 0 / 52.31. 0                                                                 
  libavdevice   52. 1. 0 / 52. 1. 0                                                                 
  libswscale     0. 7. 1 /  0. 7. 1                                                                 
  libpostproc   51. 2. 0 / 51. 2. 0                                                                 
  built on Sep  2 2009 04:51:23, gcc: 4.4.1                                                         
At least one output file must be specified     </code></pre></div><p>Когда собираю ffmpeg-php<br /></p><div class="codebox"><pre><code>[root@localhost ffmpeg]# phpize                                                                     
Configuring for:                                                                                    
PHP Api Version:         20090626                                                                   
Zend Module Api No:      20090626                                                                   
Zend Extension Api No:   220090626                                                                  
libtoolize: putting auxiliary files in `.&#039;.                                                         
libtoolize: copying file `./ltmain.sh&#039;                                                              
libtoolize: You should add the contents of the following files to `aclocal.m4&#039;:                     
libtoolize:   `/usr/share/aclocal/libtool.m4&#039;                                                       
libtoolize:   `/usr/share/aclocal/ltoptions.m4&#039;                                                     
libtoolize:   `/usr/share/aclocal/ltversion.m4&#039;                                                     
libtoolize:   `/usr/share/aclocal/ltsugar.m4&#039;                                                       
libtoolize:   `/usr/share/aclocal/lt~obsolete.m4&#039;                                                   
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])&#039; to configure.in and                         
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.                       
libtoolize: Consider adding `-I m4&#039; to ACLOCAL_AMFLAGS in Makefile.am.                              
[root@localhost ffmpeg]# ./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/extensions
checking for PHP installed headers prefix... /usr/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... re2c
checking for re2c version... invalid
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</code></pre></div>]]></content>
			<author>
				<name><![CDATA[ProKosmos]]></name>
				<uri>https://linuxforum.ru/profile.php?id=7754</uri>
			</author>
			<updated>2010-06-03T14:57:43Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=56563#p56563</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Установка и настройка FFMPEG на Linux Mandriva 2010]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=56545#p56545" />
			<content type="html"><![CDATA[<p><a href="http://rpm.pbone.net/index.php3/stat/4/idpl/4313436/dir/mandriva_2006/com/php-ffmpeg-5.0.4_0.4.2-1mdk.i586.rpm.html">http://rpm.pbone.net/index.php3/stat/4/ … 6.rpm.html</a><br /><strong>ProKosmos</strong>, я даже не имея мандривы под рукой нашел, может попробуете поискать еще раз?</p>]]></content>
			<author>
				<name><![CDATA[system-root]]></name>
				<uri>https://linuxforum.ru/profile.php?id=521</uri>
			</author>
			<updated>2010-05-27T21:05:14Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=56545#p56545</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Установка и настройка FFMPEG на Linux Mandriva 2010]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=56540#p56540" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>system-root пишет:</cite><blockquote><p>у меня этот пакте зовёться <strong>php5-ffmpeg</strong>, ищите в системе с помощью пакетного менеджера.</p></blockquote></div><p>Поискал в системе так как Вы и говорили. Не нашел. Возможно у него есть и какие то другие названия. Искал в интернете но не нашел все равно подходящего материала.&nbsp; Может кто настраивал напишет как. Буду благодарен за любую помощь.</p>]]></content>
			<author>
				<name><![CDATA[ProKosmos]]></name>
				<uri>https://linuxforum.ru/profile.php?id=7754</uri>
			</author>
			<updated>2010-05-27T21:00:37Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=56540#p56540</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Установка и настройка FFMPEG на Linux Mandriva 2010]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=56511#p56511" />
			<content type="html"><![CDATA[<p>у меня этот пакте зовёться <strong>php5-ffmpeg</strong>, ищите в системе с помощью пакетного менеджера.</p>]]></content>
			<author>
				<name><![CDATA[system-root]]></name>
				<uri>https://linuxforum.ru/profile.php?id=521</uri>
			</author>
			<updated>2010-05-27T20:27:27Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=56511#p56511</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Установка и настройка FFMPEG на Linux Mandriva 2010]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=56510#p56510" />
			<content type="html"><![CDATA[<p>Все находится в репозиториях - с ними поняли как работать?. Как подключать - читайте описание программы или может вам здесь подскажут.</p>]]></content>
			<author>
				<name><![CDATA[Филин]]></name>
				<uri>https://linuxforum.ru/profile.php?id=381</uri>
			</author>
			<updated>2010-05-27T20:26:11Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=56510#p56510</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Установка и настройка FFMPEG на Linux Mandriva 2010]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=56505#p56505" />
			<content type="html"><![CDATA[<p>Повторюсь немного. Сервер при помощи&nbsp; FFMPEG должен конвертировать видео..... вообще это видео хостинг. Но в Windows в директорию ext(по умолчанию она так зовется) добавляется библиотека php_ffmpeg.dll. В Linux я увидел что тоже есть такая же директория только там другие виды файлов. Ведь если не подключить этот модуль в PHP то сервер не сможет работать с FFMPEG. Только я не нашел инструкции где взять необходимый модуль и нужно ли еще какие то дополнительные компоненты добавлять.</p>]]></content>
			<author>
				<name><![CDATA[ProKosmos]]></name>
				<uri>https://linuxforum.ru/profile.php?id=7754</uri>
			</author>
			<updated>2010-05-27T20:22:55Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=56505#p56505</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Установка и настройка FFMPEG на Linux Mandriva 2010]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=56501#p56501" />
			<content type="html"><![CDATA[<p>Про вашу проблему я не понял. Про расширения - у нас их нет. Просто так файл называется с точкой посередине.</p>]]></content>
			<author>
				<name><![CDATA[Филин]]></name>
				<uri>https://linuxforum.ru/profile.php?id=381</uri>
			</author>
			<updated>2010-05-27T20:15:20Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=56501#p56501</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Установка и настройка FFMPEG на Linux Mandriva 2010]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=56491#p56491" />
			<content type="html"><![CDATA[<p>Здравствуйте. <br />Уже давно занимался созданием и настройкой Веб сервера. Но все время делал это на Windwos server. Но тут по техническим причинам пришлось перейти на linux.&nbsp; Mandriva linux выбрал потому что с ней уже работал и ориентировался нормально в ней. Но тут у меня возникла проблема с настройкой FFMPEG на сервере. Оно установлено но я понял что его как в Windows нужно прописывать в php.ini и добавлять соответствующую библиотеку(так она звалась в Windows). Как я увидел все extensions здесь представлены в расширении so как в Windows они были dll. В долгих поисках по интернету я не нашел соответствующего дополнения и инструкции как можно его &quot;прикрутить&quot; к серверу. Возможно вы знаете решение этой проблемы. <br />Сервер Apache2 интерпретатор PHP5. Остальное думаю не нужно.</p>]]></content>
			<author>
				<name><![CDATA[ProKosmos]]></name>
				<uri>https://linuxforum.ru/profile.php?id=7754</uri>
			</author>
			<updated>2010-05-27T19:53:13Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=56491#p56491</id>
		</entry>
</feed>
