Category Archives: utilities
How to Create a Streaming Flash Video Player Using Ming PHP or Ruby
I mentioned in creating Flash videos using FFMpeg that you could use Ming to create your own Flash video player. I've added a patch to the ruby -ming extension for video streaming so now it is possible to create a streaming player with both PHP and Ruby using their Ming extensions. The following examples show [...]
Also posted in php, ruby 4 Comments
Ruby Ming Extension Patch to Add Video Streaming
After playing with the Ruby Ming extension a little more I found that they don't have support for SWFVideoStreams so I made a patch to add it. The patch also fixes the beta issues I described in building the ming ruby extension.
Also posted in ruby 2 Comments
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 [...]
Also posted in linux 4 Comments
Building The Ming Ruby Extension
I've been trying out Ming SWF output library in PHP for a few days and I thought I would give the Ruby extension a try to see how well it worked. It turns out that it is kind of old and busted but it is fixable.
Using Java to get detailed DNS information
Not long ago I was curious about using Java to look up DNS information so I decided to put together a little DNSBL/RBL checker so I could experiment with Java DNS lookups and some PHP/Java communications. There isn't a lot of Java DNS stuff out there but it was easy to tell that the tool [...]
Also posted in java, system administration 6 Comments
Fun with ANSI escape codes
For fun I recently pimped out a ruby script that I had written for some testing with a little color and a spinner. If you have never used ANSI escape codes before I've put together a simple script that shows how easy it is.
Also posted in ruby Leave a comment
DNS Black List Checker
At work we have been using DNS Black Lists for a long time to deny spam coming into our email systems. There are a number of places you can check to see if you are on one of these lists but I figured I would write my own web 2.0 version. So here it is [...]
Also posted in system administration Leave a comment
Using fetchmail and procmail for maildir style storage from a pop3 account
For the longest time having POP3 messages stored in one large file bothered me. I found out however that you can easily convert the single file storage into Maildir style storage with fetchmail and procmail. Here are the steps I used to fetch mail from a POP3 mailbox and store the messages in Maildir style [...]
Also posted in linux, system administration 2 Comments
Using Flash video metadata to display annotations