Archive for July, 2008

Go VDUG!

Just got back from the first (well that I know of) Vermont Drupal User’s Group, and it was lovely to meet other Vermonter’s who are working with Drupal. That much better to have it in my own back yard. It’s really interesting to see how high the level of conversation is- especially from people who don’t consider themselves coders. I think it really points to how sophisticated the community of Drupal is- from users to developers. The next one will be in Burlington, September 9th, 4pm, location TBA.

Comments

FFmpeg Wrapper: Auto Configuration

The power and flexibility of FFmpeg is a strength and a weakness. While it provides a huge number of options, it’s easy to create a configuration that actually doesn’t work. Case in point has been my experience with Media Mover- the most common thing that people want to use it for is creating FLV files from a variety of source material. Unfortunately, setting the codec or bit rate right can be somewhat challenging, to the point where people create configurations that will not convert the files they have.

I’ve setup FFmpeg wrapper to use configuration files. For each output format, a format file can be create which defines what kinds of options are available (codecs, bit rates, sample rates, etc). These files are loaded via ajax and any form that conforms to a set of rules can be updated on the fly as the user selects different options.

While this currently only works for Media Mover’s FFmpeg processing module, it would work for any module that wanted to implement the setup. Further, people who have experience with specific kinds of output formats can contribute back configuration files that help improve the output from FFmpeg.

The screencast below shows this process in action- I’m adding a new configuration to Media Mover and then selecting different output options for FFmpeg. While I only have one configuration complete at this time (FLV) switching between other options grabs the default (ie: all) options. It also turns the advanced configurations off when you select an option that uses the default- this way FFmpeg will take it’s best guess at converting unless you specifically tell it to.

On top of this, I’ve added support in mm_ffmpeg to enter in your own command- while this is potentially dangerous, it gives people with advanced needs of FFmpeg the ability to run what they need.


Comments

SimpleTest

Doug Green just did a great presentation for us on SimpleTest. It is really inspiring to see how straight forwarding adding testing is to modules. I spent a few minutes to add the frame work to Media Mover and very very… well, simple test. This first one is not much but for the 1.0 release, I will start adding more…

Comments

Workflow NG integration

I asked Jacob to start doing some integration of workflow support into Media Mover so that various triggers could be called from inside of Media Mover. We went back and forth between using Workflow and Workflow NG and ended up going with Workflow NG as it offered a much higher level of of sophistication.

Two modules have been incorporated into Media Mover- mm_token and mm_workflow_ng to do this integration. Tokens are provided from the mm_token module and the events are defined in mm_workflow_ng.

Currently things are in CVS, and you can track the issue there….

Comments