Archive for the 'Server-side development'

Placing “moov atom” at the beginning of an MPEG-4 video with FFMpeg

According to Atomic Parsley’s article on media meta data, MPEG-4 files consist of atoms (or boxes). One of these important atoms is called the moov atom, and this moov atom contains mdat data...
Read more

Set far-future expires headers with Rackspace Cloud Files (sort of)

To keep parity with existing relationships, a client has required that we work with Cloud Files instead of Amazon’s CloudFront. There seems to be quite a bit of confusion about which offering...
Read more

Speed up image extraction with ffmpeg

A product requirement for a media management application I am building is to automatically extract a user-defined number of images from an uploaded video file. The user can request for up to 20...
Read more

Save page output as HTML with CakePHP

I’m currently working on a project that requires storing dynamically generated HTML files on a CDN. Without getting too far off topic, I need to dynamically create an HTML page with database...
Read more

Setting layout in error pages based on Auth status with CakePHP

CakePHP error pages load within the default layout. This works most of the time, but for some applications, I have a different layout file for logged in users. For example, the navigation changes...
Read more