<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ubublog &#187; compilar</title>
	<atom:link href="http://ubublog.com/tag/compilar/feed/" rel="self" type="application/rss+xml" />
	<link>http://ubublog.com</link>
	<description>Otro blog más de Ubuntu</description>
	<lastBuildDate>Sat, 28 Apr 2012 22:33:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>FFMPEG y X264, compilar y crear un deb.</title>
		<link>http://ubublog.com/2009/09/06/ffmpeg-y-x264-compilar-y-crear-un-deb/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ffmpeg-y-x264-compilar-y-crear-un-deb</link>
		<comments>http://ubublog.com/2009/09/06/ffmpeg-y-x264-compilar-y-crear-un-deb/#comments</comments>
		<pubDate>Sun, 06 Sep 2009 15:14:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[script]]></category>
		<category><![CDATA[compilar]]></category>
		<category><![CDATA[deb]]></category>
		<category><![CDATA[ffmpeg]]></category>

		<guid isPermaLink="false">http://ubublog.com/?p=274</guid>
		<description><![CDATA[Bueno este tutorial lo tenía pendiente de postear, por fin puedo publicarlo, he preparado también un video tutorial para que veáis todo el proceso. Empezamos, antes de nada debemos desinstalar ffmpeg, x264 y libx264-dev sudo apt-get purge ffmpeg x264 libx264-dev Luego instalar unos paquetes que necesitaremos para compilar ffmpeg y x264 (no olvidar tener activado [...]]]></description>
			<content:encoded><![CDATA[<p>Bueno este tutorial lo tenía pendiente de postear, por fin puedo publicarlo, he preparado también un video tutorial para que veáis todo el proceso.</p>
<p>Empezamos, antes de nada debemos desinstalar<span style="color: #ff0000;"> ffmpeg, x264 y libx264-dev</span></p>
<pre class="brush:bash">sudo apt-get purge ffmpeg x264 libx264-dev
</pre>
<p>Luego instalar unos paquetes que necesitaremos para compilar ffmpeg y x264 (no olvidar tener activado el repositorio universe y multiverse).</p>
<pre class="brush:bash">sudo apt-get update &amp;&amp; sudo apt-get install build-essential subversion git-core checkinstall yasm texi2html libfaac-dev libfaad-dev libmp3lame-dev libsdl1.2-dev libtheora-dev libx11-dev libxvidcore4-dev zlib1g-dev
</pre>
<p><span id="more-274"></span><br />
Ahora vamos a descargar las fuentes de x264, procedemos a compilar y crear el deb.</p>
<pre class="brush:bash">cd
git clone git://git.videolan.org/x264.git
cd x264
./configure
make
sudo checkinstall --fstrans=no --install=yes --pkgname=x264 --pkgversion "1:0.svn`date +%Y%m%d`-0.0ubuntu1" --default
</pre>
<p>Con esto ya tenemos compilado y creado nuestro deb <span style="color: #ff0000;">(automáticamente se instalará x264).</span></p>
<p>Continuamos ahora con FFMPEG, descargamos fuentes, compilamos y creamos el deb</p>
<pre class="brush:bash">cd
svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
cd ffmpeg
./configure --prefix=/usr --enable-gpl --enable-nonfree --enable-pthreads --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libtheora --enable-libx264 --enable-libxvid --enable-x11grab
make
sudo checkinstall --fstrans=no --install=yes --pkgname=ffmpeg --pkgversion "3:0.svn`date +%Y%m%d`-12ubuntu3" --default
</pre>
<p>Con esto ya tenemos instalado y configurado FFMPEG y su deb correspondiente <span style="color: #ff0000;">(automáticamente se instalará ffmpeg).</span></p>
<p>Por último, si queremos actualizar a una nueva versión de FFMPEG y x264 realizamos estos pasos:</p>
<pre class="brush:bash">sudo apt-get purge ffmpeg x264
cd ~/x264
make distclean
git pull
./configure
make
sudo checkinstall --fstrans=no --install=yes --pkgname=x264 --pkgversion "1:0.svn`date +%Y%m%d`-0.0ubuntu1" --default
cd ~/ffmpeg
make distclean
svn update
./configure --prefix=/usr --enable-gpl --enable-nonfree --enable-pthreads --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libtheora --enable-libx264 --enable-libxvid --enable-x11grab
make
sudo checkinstall --fstrans=no --install=yes --pkgname=ffmpeg --pkgversion "3:0.svn`date +%Y%m%d`-12ubuntu3" --default
</pre>
<p>Esto sería todo.</p>
<div style="text-align: center;"><object width="600" height="308"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=6462131&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=6462131&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="600" height="308"></embed></object></div>
<div style="text-align: center;"><div><script type="text/javascript"><!--
google_ad_client = "pub-2571031094084229";
/* 468x60, creado 6/06/09 */
google_ad_slot = "8203259291";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>

<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div></div>
]]></content:encoded>
			<wfw:commentRss>http://ubublog.com/2009/09/06/ffmpeg-y-x264-compilar-y-crear-un-deb/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)

Served from: ubublog.com @ 2012-05-20 09:51:35 -->
