<?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>javier arturo rodríguez &#187; WordPress</title>
	<atom:link href="http://javier.rodriguez.org.mx/index.php/category/blog/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://javier.rodriguez.org.mx</link>
	<description>random musings</description>
	<lastBuildDate>Sat, 22 Oct 2011 19:23:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>μHOWTO: Convert and display Flash video</title>
		<link>http://javier.rodriguez.org.mx/index.php/2007/04/10/uhowto-convert-and-display-flash-video?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=uhowto-convert-and-display-flash-video</link>
		<comments>http://javier.rodriguez.org.mx/index.php/2007/04/10/uhowto-convert-and-display-flash-video#comments</comments>
		<pubDate>Tue, 10 Apr 2007 22:58:49 +0000</pubDate>
		<dc:creator>javier</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Hack!]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://javier.rodriguez.org.mx/index.php/2007/04/10/%ce%bchowto-convert-and-display-flash-video/</guid>
		<description><![CDATA[So you want to publish that nice family video in your page/blog/intranet without forcing your visitors to download, install and activate some obscure browser plugin and *then* wait for a 200MB download&#8230; Well.. That&#8217;s easy as cake! First, let&#8217;s use ffmpeg to convert the video from avi, mpg or mov to something that we can [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://javier.rodriguez.org.mx/wp-content/uploads/2007/04/flvplayer.thumbnail.jpeg" align="left">So you want to publish that nice family video in your page/blog/intranet without forcing your visitors to download, install and activate some obscure browser plugin and *then* wait for a 200MB download&#8230; Well.. That&#8217;s easy as cake!<br />
First, let&#8217;s use <a href="http://ffmpeg.mplayerhq.hu/">ffmpeg</a> to convert the video from avi, mpg or mov to something that we can stream to a nice Flash video player:</p>
<div class="codesnip-container" >$ sudo aptitude install ffmpeg<br />
$ ffmpeg -i video.mpg -ar 11025 -s 320&#215;240 video.flv</div>
<p>Then we extract the first frame of the video to use it as a thumbnail:</p>
<div class="codesnip-container" >$ ffmpeg -y -i video.mpg -f image2 -ss 5 -vframes 1 -s 320&#215;240 -an video.jpg</div>
<p>Of course, real men <a href="http://freshmeat.net/articles/view/1640/">brew their own Flash video players</a> using <a href="http://ming.sourceforge.net/">Ming</a>. The rest of us have to settle for one that has been pre-made, like <a href="http://www.jeroenwijering.com/?item=Flash_Video_Player">Jeroen Wijering&#8217;s most excellent Flash Video Player</a>. To insert the video in a web page you just have to write</p>
<div class="codesnip-container" >
<div class="html4strict codesnip" style="font-family:monospace;"><span class="sc2">&lt;<a href="http://december.com/html/4/element/object.html"><span class="kw2">object</span></a> <span class="kw3">type</span><span class="sy0">=</span><span class="st0">&quot;application/x-shockwave-flash&quot;</span> <span class="kw3">width</span><span class="sy0">=</span><span class="st0">&quot;320&quot;</span> <span class="kw3">height</span><span class="sy0">=</span><span class="st0">&quot;260&quot;</span> wmode<span class="sy0">=</span><span class="st0">&quot;transparent&quot;</span> <span class="kw3">data</span><span class="sy0">=</span><span class="st0">&quot;flvplayer.swf?file=video.flv&amp;image=video.jpg&amp;autoStart=false&quot;</span>&gt;</span><br />
<span class="sc2">&lt;<a href="http://december.com/html/4/element/param.html"><span class="kw2">param</span></a> <span class="kw3">name</span><span class="sy0">=</span><span class="st0">&quot;movie&quot;</span> <span class="kw3">value</span><span class="sy0">=</span><span class="st0">&quot;flvplayer.swf?file=video.flv&amp;image=video.jpg&amp;autoStart=false&quot;</span> <span class="sy0">/</span>&gt;</span><br />
<span class="sc2">&lt;<a href="http://december.com/html/4/element/param.html"><span class="kw2">param</span></a> <span class="kw3">name</span><span class="sy0">=</span><span class="st0">&quot;wmode&quot;</span> <span class="kw3">value</span><span class="sy0">=</span><span class="st0">&quot;transparent&quot;</span> <span class="sy0">/</span>&gt;</span><br />
<span class="sc2">&lt;<span class="sy0">/</span><a href="http://december.com/html/4/element/object.html"><span class="kw2">object</span></a>&gt;</span></div>
</div>
<p>You know, there&#8217;s even a <a href="http://www.channel-ai.com/blog/plugins/flv-embed/">neat wordpress plugin</a> that allows a much simpler syntax:</p>
<div class="codesnip-container" >[flv:/path/to/video.flv 320 240]</div>
<p>Cool, eh? Now you are ready to take over YouTube!<br /><div class="simpletags">Tags: <a href="http://technorati.com/tag/flash" rel="tag">flash</a>, <a href="http://technorati.com/tag/video" rel="tag"> video</a>, <a href="http://technorati.com/tag/flvplayer" rel="tag"> flvplayer</a>, <a href="http://technorati.com/tag/ming" rel="tag"> ming</a>, <a href="http://technorati.com/tag/ffmpeg" rel="tag"> ffmpeg</a>, <a href="http://technorati.com/tag/wordpress" rel="tag"> wordpress</a></div>
]]></content:encoded>
			<wfw:commentRss>http://javier.rodriguez.org.mx/index.php/2007/04/10/uhowto-convert-and-display-flash-video/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WPG2 Sidebar Widgets 1.0</title>
		<link>http://javier.rodriguez.org.mx/index.php/2006/07/30/wpg2-sidebar-widgets-10?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wpg2-sidebar-widgets-10</link>
		<comments>http://javier.rodriguez.org.mx/index.php/2006/07/30/wpg2-sidebar-widgets-10#comments</comments>
		<pubDate>Sun, 30 Jul 2006 17:14:42 +0000</pubDate>
		<dc:creator>javier</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://javier.rodriguez.org.mx/index.php/2006/07/30/wpg2-sidebar-widgets-10/</guid>
		<description><![CDATA[After playing around with the WordPress Widgets plugin I wrote a couple of widgets for WPG2 borrowing heavily from the sample widgets in the widget plugin distribution and also from Otto&#8217;s Google AdSense widget. WPG2 Random Image and WPG2 Grid Block are released into the public domain, and you can download version 1.0 right here. [...]]]></description>
			<content:encoded><![CDATA[<p><img src="/wp-content/uploads/2006/07/galleryLogo_sm.gif" align="left" alt="Gallery2"/>After playing around with the <a href="http://automattic.com/code/widgets/">WordPress Widgets</a> plugin I wrote a couple of widgets for <a href="http://wpg2.galleryembedded.com/">WPG2</a> borrowing heavily from the sample widgets in the widget plugin distribution and also from <a href="http://ottodestruct.com/blog/2006/04/09/fun-with-widgets/">Otto&#8217;s Google AdSense widget</a>.<br />
WPG2 Random Image and WPG2 Grid Block are released into the public domain, and you can <a href="http://javier.rodriguez.org.mx/download/wordpress/wpg2widgets-1.0.zip">download version 1.0 right here</a>.<br />
Oh! BTW, <a href="http://javier.rodriguez.org.mx/index.php/wordpress/wpg2-widgets/">I just set up a page for these widgets</a>.
</p>
<div class="simpletags">Tags: <a href="http://technorati.com/tag/WordPress" rel="tag">WordPress</a>, <a href="http://technorati.com/tag/WPG2" rel="tag"> WPG2</a>, <a href="http://technorati.com/tag/widgets" rel="tag"> widgets</a></div>
]]></content:encoded>
			<wfw:commentRss>http://javier.rodriguez.org.mx/index.php/2006/07/30/wpg2-sidebar-widgets-10/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>WordPress 2.0.3 inside</title>
		<link>http://javier.rodriguez.org.mx/index.php/2006/07/26/wordpress-203-inside?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wordpress-203-inside</link>
		<comments>http://javier.rodriguez.org.mx/index.php/2006/07/26/wordpress-203-inside#comments</comments>
		<pubDate>Thu, 27 Jul 2006 00:45:34 +0000</pubDate>
		<dc:creator>javier</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://javier.rodriguez.org.mx/index.php/2006/07/26/wordpress-203-inside/</guid>
		<description><![CDATA[Last Sunday I upgraded WordPress to 2.0.3, and I have to confess that I am very impressed. After a couple of disastrous dry runs in a spare server, I backed up everything and decided to go for it on the production system &#8212; half expecting it to crash somehow. However the upgrade went smoothly, and [...]]]></description>
			<content:encoded><![CDATA[<p><img align="left" src="/wp-content/uploads/2006/07/wp-2-0-square-button.gif" alt="WordPress" />Last Sunday I upgraded <a href="http://wordpress.org/">WordPress</a> to 2.0.3, and I have to confess that I am very impressed. After a couple of disastrous dry runs in a spare server, I backed up everything and decided to go for it on the production system &#8212; half expecting it to crash somehow. However the upgrade went smoothly, and almost every plugin just kept working exactly as before, with the sole exception of <a href="http://wpg2.ozgreg.com/index.php/Main_Page">WPG2</a>. Since the website recommends to upgrade to <a href="http://gallery.menalto.com/">Gallery2 2.1.x</a> and to the new <a href="http://wpg2.galleryembedded.com/">WPG2 2.0</a> plugin, I did just that and got the embedded gallery working again in no time.<br />
Kudos to both WordPress and Gallery2 teams. You have created nice pieces of software, and are setting a high standard for commercial and Open Source blogging and photo gallery software.</p>
<p>Kudos, and thanks.</p>
<div class="simpletags">Tags: <a href="http://technorati.com/tag/WordPress" rel="tag">WordPress</a>, <a href="http://technorati.com/tag/blog" rel="tag"> blog</a>, <a href="http://technorati.com/tag/Gallery" rel="tag"> Gallery</a>, <a href="http://technorati.com/tag/Gallery2" rel="tag"> Gallery2</a></div>
]]></content:encoded>
			<wfw:commentRss>http://javier.rodriguez.org.mx/index.php/2006/07/26/wordpress-203-inside/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

