New FFmpeg IronWorker Stack For Easy Video Processing

FFmpeg is the leading cross-platform solution to record, convert and stream audio and video. Dealing with audio and video can eat up resources, making the activity a great fit for IronWorker by moving the heavy lifting to the background.

In the past, usage of FFmpeg with IronWorker would require that our users include and install the dependency within each worker environment. In order to streamline that process for developers, we’ve included FFmpeg in an IronWorker stack as a custom runtime environment specifically meant for video processing.

The possibilities are endless with the flexibility of FFmpeg and the processing power of IronWorker. Here are a few examples we’ve come across in working with our users, which will give you a baseline for the capabilities.

  1. Format Encoding
  2. Audio Normalization
  3. Audio/Video Optimization
  4. Metadata Analysis
  5. DRM Encoding/Decoding
  6. Screencapture Production
  7. Resize, Reformat and Crop Video
  8. Change Aspect Ratio
$ ffmpeg -i input.mp4 output.avi

Specifications:

pre-built libraries: ffmpeg-2.3, GPAC-0.5.1, , x264-0.142.x
supported runtimes: php-5.3, node-0.10, ruby-1.9.3p0, python-2.7
Find out more detailed info about the FFmpeg stack here.

To use, simply include “ffmpeg-2.3” in your .worker file using the stack option:

stack "ffmpeg-2.3" 

Here are a few examples of how to use the FFmpeg stack in the supported languages.

Using Ruby runtime + FFmpeg stack

Using Node.js runtime + FFmpeg stack

Using Python runtime + FFmpeg stack

Using PHP runtime + FFmpeg stack

 

More flexibility for our developers
Making deployment and dependency management painless is a top priority for our team. Supporting a diverse range of languages, frameworks, and packages provides our users what they need to make their Iron.io implementation successful.

We’d love to hear feedback or to even feature tutorials written by you! send me a message at: stephen@iron.io.

3 Comments

  1. blank Dan Weaver on August 10, 2015 at 7:21 pm

    Are there supposed to be code examples under the ‘Using Ruby..’ etc.headings at the end of the article?

    • blank getiron on August 11, 2015 at 4:39 pm

      Hey Dan… apologies, we just migrated our blog and the gist format changed. All examples should show up now. Cheers.

      • blank Dan Weaver on October 18, 2015 at 5:04 am

        Thanks, all good now. Working like a dream so far 🙂

Leave a Comment





This site uses Akismet to reduce spam. Learn how your comment data is processed.