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. So, let’s get started, there are actually a few steps into converting a file [...]
A lot of people are getting hiring people to install FFMPEG as they think it's a difficult task, but it's much easier than you think if you follow these instructions. You should have root access & basic Linux knowledge to the server to follow these instructions. 1. Create a directory to do our work in mkdir ~/ffmpeg cd ~/ffmpeg 2. Get all the source files wget http://www3.mplayerhq.hu/MPlayer/releases/codecs/ essential-20061022.tar.bz2 wget http://rubyforge.org/frs/download.php/9225/ [...]
While working on a few of my clients pages, I have always used other methods for CSS hacks but mostly using PHP to detect the remote user User-Agent and come up with the specific CSS. Until I have discovered this one: You can actually have IE6 specific lines in CSS, it is as simple as prefixing them with an underscore. Sure, you might start complaining “STANDARDS!!11!” If I had to [...]
PHP5 has brought so much new features but because of its big syntax changes, a big percentage of the PHP developing base has not made the change. Here are the top 10 new features that could change your mind. Better Error Handling with Exceptions I am sure every PHP developer had been staring at the famous white screen with a “Syntax error†clueless at where the error is really at. [...]
You have probably heard of ffmpeg-php and it’s wide usability mostly in sites that involve with videos such as YouTube or any other similar site. Here is a bit of an introduction to it and how to use it. First thing, you have to check that your web hosting provider actually has ffmpeg & ffmpeg-php extension installed on your account. Then, you could get started with ffmpeg. You can [...]