<?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>Sun, 19 May 2013 23:15:40 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Lorenzo Alberton's Blog: Create a video preview as animated GIF with FFmpeg and PHP SPL]]></title>
      <guid>http://www.phpdeveloper.org/news/13166</guid>
      <link>http://www.phpdeveloper.org/news/13166</link>
      <description><![CDATA[<p>
<i>Lorenzo Alberton</i> has <a href="http://www.alberton.info/video_preview_as_animated_gif_with_ffmpeg_and_spl.html">posted a new item</a> to his blog with a code snippet showing the combination of FFmpeg and features in PHP's SPL to make a GIF preview.
</p>
<blockquote>
About one year ago, I had to create animated GIFs as a preview of a video for a media portal. I recently stumbled upon the code I wrote and thought it was probably worth sharing. It makes a rather unconventional use of the SPL Iterators, proving how flexible they are.
</blockquote>
<p>
His method combines <a href="http://www.php.net/manual/en/class.imagick.php">Imagick</a>, <a href="http://ffmpeg.org/">FFmpeg</a> and a a Thumbnail_Extractor class that extends the SPL Iterator. The script runs through the frames of the movie file and allows you to define multiple places to pull thumbnails from. Complete code and output examples are included.
</p>]]></description>
      <pubDate>Fri, 04 Sep 2009 09:52:50 -0500</pubDate>
    </item>
    <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>
    <item>
      <title><![CDATA[Vexxblog: How to convert/encode files to FLV using FFMPEG & PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/7919</guid>
      <link>http://www.phpdeveloper.org/news/7919</link>
      <description><![CDATA[<p>
From the Vexxblog, there's <a href="http://vexxhost.com/blog/2007/05/20/how-to-convertencode-files-to-flv-using-ffmpeg-php/">this new tutorial</a> that shows how, with FFMPEG and PHP, to convert and encode files to the FLV format.
</p>
<blockquote>
So, as I've written in an earlier article on how to install FFMPEG on your server, while there are those who probably use a 'YouTube Clone' script, there might be those who want to create their own using FFMPEG & PHP. FLV is the most widely used type of codec that runs on most Flash players.
</blockquote>
<p>
<a href="http://vexxhost.com/blog/2007/05/20/how-to-convertencode-files-to-flv-using-ffmpeg-php/">The tutorial</a> started with a diagram that outlines how the mini-app will work and is followed by the source. The script sets up the environment then grabs the file and sends it to the FFMPEG handler to be parsed and output as the FLV file (courtesy of a few handy command line parameters).
</p>]]></description>
      <pubDate>Fri, 25 May 2007 09:27:00 -0500</pubDate>
    </item>
  </channel>
</rss>
