News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Stoyan Stefanov's Blog:
Blog-to-podcast with ffmpeg
February 16, 2009 @ 08:45:52

Stoyan Stefanov has an interesting way to "automatically" create podcasts based on your blog posts using PHP, ffmpeg and the "say" command in OS X to create the mp3 result.

ffmpeg is such an amazing tool, looks like it's for video what ImageMagick 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.

The post 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.

0 comments voice your opinion now!
ffmpeg say osx dom blog podcast convert automatic mp3


blog comments powered by Disqus

Similar Posts

Sean Coates' Blog: PHP 5.3 on Snow Leopard

AnyExample.com: Convert RGB from/to HTML hex color

Zend Developer Zone: The ZendCon Sessions Episode 24: Elegant Ways of Handling PHP Errors and Except

Community News: NuSphere Partners with Parallels (ISV Initiative)

PHP Town Hall: Episode 1 - Composer Kicks Ass, Laravel 4 Is Coming, and PHP Hosting Sucks (Podcast)


Community Events





Don't see your event here?
Let us know!


introduction series community symfony interview api podcast release laravel framework zendserver language package update opinion deployment install tips library list

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework