Xuggler Red5 Adapter – 1.18.RC4

January 30, 2009

Introducing Xuggler Red5 Adapter 1.18 Release Candidate 4.  Get it here.


As mentioned for the Xuggler release, as of 1.18.RC4 we’re decoupling the Xuggler release from the Xuggler Red5 Adapter release.  Versions of the Red5 Adapter still depend on certain versions of Xuggler, but those dependencies are expressed in the published ivy/maven files.  For this release there are a few bugs fixed in the Red5 adapter, but no new features.

The rest of the details follow.

Issues Fixed

  • Issue 38: NullPointerException in Red4 Transcoder
  • Issue 35: Transcoder spewing into the Red5 log.
  • Issue 47: Red5 Xuggler transcoder audio exceptions.


  • Java Tests: 4 (+0)
  • Native Tests: +0

Source Control Versions

Xuggler Red5 Adapter Version: 1.18.139.RC4

– Hudson Build

– Dynamic Revisions (From Hudson)
* http://xuggle.googlecode.com/svn/trunk/build/java : 137
* http://xuggle.googlecode.com/svn/trunk/java/xuggle-xuggler-red5 : 138

– Static Dependencies


Xuggler 1.18.RC4

January 30, 2009

Introducing Xuggler 1.18 Release Candidate 4.  Get it here.


1.18.RC4 is a bug fix release but it’s got some goodies none the less.  We’ve added a demo that shows you how to decode a video file, and save thumbnail images in pure Java.  See DecodeAndCaptureFrames.

The big bug we fixed was that some users were having trouble installing and running Xuggler on Windows XP.  And as a result we a have a big new feature in this release: our continuous build server automatically builds on XP, and for giggles, also builds a windows installer and uploads it when done.  Check out here to see it in action.  So if you find yourself wanting to live on tip of tree, but can’t be bothered to build on Windows, hopefully this helps.

One other big change: the xuggle-xuggler-red5 library is no longer included in our Windows installer — you’ll have to download it separately; sorry, it’s the price of automation.  Plus, we’re going to decouple releases of it from xuggle-xuggler since they are completely independent.  More on that in the next blog post (don’t worry; there’s a release of that today too).

Lastly, we got reports from users that libmp3lame 3.98.2 doesn’t work with the latest FFMPEG build, and confirmed it with the FFMPEG team; So for nwo we reverted to libmp3lame 3.98 which does work.

RC5 (sometime next week) will be a feature release again, but we’ve also got some encoding issues we’re hoping to fix for that.  Get your feature requests in now.

The rest of the details follow.

Issues Fixed

  • Issue 27: Windows: JVM crash for DecodeAndPlayVideo, DecodeAndPlayAudio or DecodeAndPlayAudioAndVideo
  • Issue 42: Tests fail on java 1.5 32 bit on OS X
  • Issue 41: ffmpeg producing “lame: output buffer too small” error

Enhancements Added

  • Enhancement 39: Improve build instructions for Mac; Thanks to legege for providing the basis.
  • Enhancement 7: Make Xuggler build create Maven POM files; RC3 created POM files, but RC4 now gives them, and our installer, names based on the actual version.


  • New Windows node in our continuous build server.
  • Windows builders that have makensis in their path can now autobuild installers on “ant stage”
  • New demo showing how to decode video and take a PNG snapshot every 5 seconds


  • Java Tests: 162 (+0)
  • Native Tests: +0

Source Control Versions

Xuggle Version: 1.18.142.RC4

– Hudson Good Build

– Dynamic Revisions (From Hudson)
* svn://svn.mplayerhq.hu/ffmpeg/trunk : 16853
* svn://svn.ffmpeg.org/mplayer/trunk/libswscale : 28358
* http://theyard.googlecode.com/svn/theyard/code/trunk/share/gnu/cxxtest/cxxtest-3.10.1 : 170
* http://xuggle.googlecode.com/svn/trunk/build/java : 137
* http://xuggle.googlecode.com/svn/trunk/java/xuggle-xuggler : 142

– Static Dependencies
* libmp3lame: http://downloads.sourceforge.net/lame/lame-398.tar.gz: 3.98
* libspeex: http://downloads.xiph.org/releases/speex/speex-1.2rc1.tar.gz: 1.2 RC1

On Windows, here’s what we built our installer with:
Mingw gcc/g++ 4.2.4: http://www.tdragon.net/recentgcc/
Msys 1.0.11
mingw-runtime 3.15.1
w32api 3.13
gmake 3.81
binutils 2.91
ActivePerl 5.10
Ant 1.7
Java JDK 1.5
MSFT C++ Visual Studio 2005

NullSoft NSIS Installer  2.42
SWIG 1.3.36 modified with doc gen capabilities
Subversion 1.5

Xuggler RC4 Update

January 28, 2009

Hi there,

Some folks have asked me when the next release candidate of Xuggler will come out.  We’re shipping for end of this week (by Sunday 01-JAN-09) and it’ll include fixes for two major bugs and a few minor tweaks:

  1. We’ve fixed the XP issues that folks have found
  2. The latest version of FFMPEG tip of tree seems to break our Red5 adapter, and we’re working on fixing that before we release.
  3. We’re also going to include a demo app that will show you how to create snap-shots of video frames and save them out as PNG files.

Hang in there, and we’ll get it out to you.

Also, for those who are wondering, RC5 will be a feature release.  Get your requests/votes in now.

– Art

Red5 0.8 RC2 – First Candidate Build

January 28, 2009

Red5 Logo

Please try out our second candidate build, here!

RC4 Update – Part II

January 27, 2009

Hi folks,

So after having a company all-hands meeting, we decided we’re going to shoot for RC4 around end of this week.  As mentioned yesterday, it’ll be a bug-fix release.

The good news is after a long hard battle we were able to figure out what’s going on in XP, and that should be fixed in RC4.  We have a few other fixes, plus something “a little cool” we wanted to add for RC4 (no, not x264), so stay tuned.

Plus we’re working hard on helping the Red5 get a release candidate out this week as well (0.8.RC2 for them).  If you’re a Red5 user, please join the mailing list and help in the testing effort.

– Art

RC4 Update — Or What’s up With XP

January 25, 2009

Hi Folks, RC4 is going to be a bug fix release in case you were wondering; not much in the way of new features.  We’re hoping to ship it next week (OK, we may throw in one or two new features).

But our focus is fixing one big hairy bug that’s shown up; it appears the Xuggler is not working on Windows XP.  It works on Vista though.  See this issue for where we’re tracking it. The good news is that as of today we can finally reproduce the issue here at Xuggle.  The bad news is we don’t yet know what’s going wrong.

So, if you’re using Xuggle on XP, please be patient (did we mention Beta), and know that you’re our focus right now.

– Art

Red5 Backwards Compatibility Report

January 23, 2009

Update Period

08-JAN-2009 to 22-JAN-2009

Major New Features

Feature What it Means
org.red5.server.Bootstrap is now the default launcher .jar files living in $RED5_HOME/lib are automatically now in your classpath, along with any jar files in your WEB-INF/lib directory, and the right things happen.
Red5 Continuous Build Server now publishes “stable builds”:
Java 1.5
Java 1.6
Every Red5 build that passes all unit tests and system tests gets published here. To use a build, select the one you want (example) and then update your local copy of Red5 to the same SVN revision numbers.  We’ll work on making a downloadable .zip file for a future release.

Changes With Compatibility Impacts

Revision Description
New Xerces-J libraries (XML parsing)
Fixed “due to too much inactivity” closing live clients bug.
red5.sh and red5.bat now use Bootstrap as the main class. This means that org.red5.server.Standalone is no longer used. This should mean that .jar files in your WEB-INF/lib directory and in the $RED5_HOME/lib directory are correctly loaded, and your apps can load any class in your WEB-INF/lib or the $RED5_HOME/lib directory.

Way to go Paul!

Also, you can now have copies of a jar that is in $RED5_HOME/lib as well and Red5 will correctly use your jar file for your app.

Security manager is now disabled by default as it causes problems with the Red5 selftest.
“ant server” should work again. Conf dir was missing from server target.
Added latest spring security libs.
R3395 Fixed APPSERVER-310; The MP3 Reader should work once more.
R3397 Modified the policy in hopes that anyone running a SecurityManager will not run into problems originating from Red5 itself or shared/common libraries.
R3408 Fixed red5.sh on Linux and Windows MSYS machines. They should work even if you install Red5 in a directory with spaces in the name.

More Details

For details on these and all other changes to red5:

Previous Reports

You can find the last report here.

What Is This Report

Red5 is under active development and as such APIs and the implementation are subject to change at any time.

To help with that problem and as a service to the Red5 team, every two weeks Xuggle publishes updates giving a summary of major changes since the last report that MAY require changes to your existing Red5 applications.

Other changes may have been made as well, but we do not expect them to cause backwards compatibility issues.

See here for more background.