One of the less pleasant chores of setting up hwdMediaShare on your shiny new server is to install ffmpeg, the wonderful open-source tool able to convert pretty much every existing multimedia format to the de-facto standard for web browsers and mobile devices alike.

What with ffmpeg being such a popular tool, it is generally included in the repositories of all Linux distributions, although unfortunately most of the times it's an outdated version or lacks support for state of the art codecs. In practice usually you'll need to get your hands dirty and compile ffmpeg from the source code along all with the goodies required to make your video portal shine.

If you've ever gone through our 15-page installation guide, you know what I'm talking about. I've performed the installation literally hundreds on times in virtually all Linux flavors and I find myself occasionally tripping and banging my head against the wall asking why it failed this time, so I can sympathize with users facing the installation for the first time.

Hopefully the omnibus-mct packages will put at end to all this madness.

Enter omnibus-mct

The omnibus-mct packages are binary packages for the most widespread Ubuntu, Debian and CentOS releases. They contain a recent version of ffmpeg along with the most important codecs, and they can be installed in your server which just 1 (ok, maybe 2 :) ) commands. The binaries have been built (using the omnibus packager) so they do not rely on other system dependencies, and won't conflict with other software installed on the server.

Once installed it will add the following binaries to power up your hwdMediaShare conversions:

  • /opt/mct/bin/ffmpeg
  • /opt/mct/bin/qt-faststart
  • /opt/mct/bin/yamdi

What's included?

The first iteration of the omnibus-mct packages contains the following tools and libraries:

ComponentVersionLicenseHomepage
ffmpeg 2.2.1 LGPL 2.1 www.ffmpeg.org
lame 3.99.5 LGPL lame.sourceforge.net
libfaac 1.28 LGPL www.audiocoding.com/faac.html
libogg 1.3.1 BSD xiph.org/ogg
libtheora 1.1.1 BSD www.theora.org
libvorbis 1.3.4 BSD vorbis.com
libvpx 1.3.0 BSD www.webmproject.org
libx264 git:e260ea5492 GPL 2.0 www.videolan.org/developers/x264.html
opencore-amr 0.1.3 Apache license 2.0 sourceforge.net/projects/opencore-amr
yamdi 1.9 BSD http://yamdi.sourceforge.net/

Download links

The omnibus-mct package is available on several Ubuntu, Debian and Centos:

OS64 bits32 bits
Ubuntu 12.04 omnibus-myourct_0.9.0-1_amd64.deb omnibus-mct_0.9.0-1_i386.deb
Debian 7 omnibus-mct_0.9.0-1_amd64.deb omnibus-mct_0.9.0-1_i386.deb
Centos/RHEL 5 omnibus-mct-0.9.0-1.el5.x86_64.rpm omnibus-mct-0.9.0-1.el5.i686.rpm
Centos/RHEL 6 omnibus-mct-0.9.0-1.el6.x86_64.rpm omnibus-mct-0.9.0-1.el6.i686.rpm

Installation

  1. Identify your Linux distribution and architecture (ie if it's 32 or 64 bits). If unsure check the tips on http://www.cyberciti.biz/faq/find-linux-distribution-name-version-number.
  2. Download and install the right .rpm/.deb file your your distro/version/architecture:

On Debian/Ubuntu:

wget http://xxxxxxxx/*.deb && dpkg -i omnibus-mct-*.deb 

On CentOS/Red Hat

wget http://xxxxxxxx/*.rpm && rpm -Uvh omnibus-mct-*.rpm

For more detailed instruction check:

  1. On hwdMediaShare server settings, set the following paths for ffmpeg, qt-faststart and yamdi:
  • /opt/mct/bin/ffmpeg
  • /opt/mct/bin/qt-start
  • /opt/mct/bin/yamdi
  1. Profit!

Contributing and BYO (Build Your Own)

You can check out the Github repository for the project. It contains the instructions to set-up a build environment and generate  packages for your favourite distro.

https://github.com/marpada/omnibus-mct

Feel free to fork and sent your PR with contributions and bugfixing.