
  On the fly stream re-encoding with Netjuke v1.0
  -----------------------------------------------

  You may have noticed that one of the most wanted features, the 'on
  the fly re-encoding' of streams, is still not supported in Netjuke
  v1.0. This is mainly because we focused our development efforts on
  other important aspects. A re-encoding function relies on external
  software and has to support different file formats (mp3, ogg, ..),
  therefore a proper solution is rather complicated.

  Nevertheless someone posted a working implementation using lame to
  re-encode mp3s. This code has been integrated in v1.0 but is
  considered experimental and not used by default. It can be enabled
  by removing a comment in play.php, line 99.

  # reencodeOnTheFly( ...

  If you remove the # all files will be passed through lame. You
  might also have to configure the path to lame and the desired
  bitrate in the reencodeOnTheFly() function at the end of play.php.

  This implementation has (at least) the following limitations:
  - Protect Media has to be enabled
  - All files will be re-encoded if the comment is removed
  - lame can only re-encode mp3 files

  Keep in mind this function is meant as an example or starting point
  for own improvements for those who don't like to wait for an
  official solution. Feel free to share your changes or encoder 
  commandlines on the netjuke mailinglists.
