Open source transcoding – mplayer and ffmpeg – part 1

So I've been playing with open source encoding tools as of late. It's tempting to attempt to use these tools for video work because they seem so powerful and flexible, not to mention free.

The biggest problem is just figuring out how to use the tools to accomplish what you want. So, I'll be recording some of my experiences here.

The defacto standards in this area are as follows:

  • ffmpeg – this is the core codec library that provides support for encoding/decoding video in mpeg, wmv, quicktime, flv and many other formats. Basically all the other tools use this library for encode/decode.
  • mplayer/mencoder – these utilities build on ffmpeg, but also include a host of other codecs and filters.
  • vlan – again, I believe this guy relies on ffmpeg for any non-standard codecs.

Generally speaking ffmpeg is a video file manipulation library and app, while mplayer/vlan are end-user video player application, and mencoder is an end-user encoding application.

These tools overlap in their capabilities, and yet have wildly different usage options. Some of the core challenges with these tools are:

  • Getting a build for your platform. Mplayer has some pre-built binaries, but generally these tools expect you to build them from source. Especially on non-Linux platforms this can be an incredible pain in the ass.
  • Figuring out the command line options! These apps are wonderfully powerful, and wolefully documented.

I'll be adding posts on my experiences using these and other tools, with the hope of aggregating some common wisdom on using these tools to produce video for the web.

3 comments so far

  1. realestateceo on

    The great thing about google is they are very innovative. Every day there prducts get better. The same can not be said about Microsoft. Innovation is not as critical when you have a monopoly.

    Phil

  2. ? on

    ?

    Download Cool Ringtone Right This Time: ?

  3. Jackie on

    Thanks for your great post i am doing a study on thios and you really helped me out here

    Thanks

    Jackie

    Jackie@mees.com


Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: