<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Thu, 23 May 2013 03:16:29 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Stoyan Stefanov's Blog: Blog-to-podcast with ffmpeg]]></title>
      <guid>http://www.phpdeveloper.org/news/11952</guid>
      <link>http://www.phpdeveloper.org/news/11952</link>
      <description><![CDATA[<p>
<i>Stoyan Stefanov</i> has an interesting way to "automatically" create podcasts based on your blog posts using PHP, <a href="http://ffmpeg.mplayerhq.hu/">ffmpeg</a> and the "say" command in OS X to create the mp3 result.
</p>
<blockquote>
<a href="http://ffmpeg.mplayerhq.hu/">ffmpeg</a> is such an amazing tool, looks like it's for video what <a href="http://imagemagick.org/">ImageMagick</a> is for images. An all-powerful all-formats wicked cool command-line tool. This blog post is an introduction to some of the MP3 capabilities of ffmpeg. I'll use ffmpeg to transform a blog post into a podcast-ready mp3 file.
</blockquote>
<p>
<a href="http://www.phpied.com/blog-to-podcast-with-ffmpeg/">The post</a> shows how to use PHP's DOM functions to grab the title and contents of your post (a simple example, at least) and push that information out to a text file. From there, the "say" command is run on it with the "output" file parameter and the result is sent to ffmpeg for compression into an mp3.
</p>]]></description>
      <pubDate>Mon, 16 Feb 2009 08:45:52 -0600</pubDate>
    </item>
  </channel>
</rss>
