Monthly Archives: November 2006

Creating Flash Videos Using FFMpeg

One of the hardest parts about doing video on the Internet in the past has been knowing what video format to use. With the rise of video sharing sites like youtube the answer these days seems to be Flash video. It is very easy to create Flash videos and display them using FFMpeg and a free player.

Here is a tutorial on how to create the Flash video files: One-stop Installation Guide for Create a Linux Server-side FLV conversion environment.

Here are a couple free Flash video players:

Flash Video Player

You can also create your own Flash player if you like either with the Flash studio tools or something like Ming. For simplicity I would recommend using FlowPlayer to start with since it works well, is completely free, and has a number of features that can integrate with meta data in the Flash video.

Now go make the next youtube.

Tags: ,

Upgrade to PHP 5.2 and Get JSON For Free

A few days ago when PHP 5.2 was released one of the things that caught my eye was that it now includes the JSON extension. For anyone doing AJAXy type stuff JSON is an easy way to martial your data between your server side language and javascript.

For the longest time I've been using the older PHP JSON library to do JSON with PHP but now that the extension is included in the core I decided it was time to test it out. I took a couple of minutes and converted my DNSBL checker as a test since it has a fairly large data-set that gets converted and sent back. The json functions provided by the extension are probably easier to use since the JSON library needed you to create an object first but that wasn't a real issue. After making the change I could tell JSON extension was faster than the library. After a little digging I found that someone has done a little extension vs library testing and claims the JSON extension is 153 times as fast as the library.

Tags: ,

Installing Beryl and The Latest Linux NVidia Drivers

I finally kicked my 64 bit install to the curb and am now running my AMD 64 desktop box in 32 bit mode. I decided that I had had enough of random crashes and having to compile things special every time I wanted something new. Having just upgraded from FC5 to FC6 on a couple other boxes I decided it was worth installing fresh on this box. Once the new install was finished I started looking into the new desktop enhancements that come in FC6 and after a little digging I ended up at the Beryl project.

For anyone who hasn't seen it yet Beryl is a fork of Compiz that changes the way your normal X desktop works. It adds different types of OpenGL based effects and works with Xgl, AIGLX, and the latest NVidia binary drivers.

Continue reading