mediastreamer2 /

Filename Size Date modified Message
303 B
0 B
51 B
17.6 KB
216 B
1.6 KB
4.1 KB
3.4 KB
6.2 KB
1.4 KB
15.8 KB
20.5 KB
296 B
2.5 KB
924 B
Project    : mediastreamer2 - a modular sound and video processing and streaming
Email      :
License    : GPL
Home Page  :

Mediastreamer2 is a GPL licensed library to make audio and
video real-time streaming and processing. Written in pure C,
it is based upon the ortp library.


Using mediastreamer2 will allow you to chain filters in a graph. Each
filter will be responsible for doing some kind of processing and will
deliver data to the next filter. As an example, you could get some
data from network and unpack it in an RTP filter. This RTP filter will
deliver the data to a decoder (speex, G711...) which will deliver it
to a filter that is able to play the PCM data or record it into a .wav

There is a doxygen documentation for more information.


mediastreamer2 already provides a large set of filters.
Here is a complete list of built-in filters.

 All supported platforms:
 *  RTP receiver
 *  RTP sender
 *  tee (duplicate data)

 Audio Filters:
 *  audio capture & playback
 *    mme API (windows)
 *    alsa API (linux)
 *    oss and oss4 apis (linux)
 *    MacOS X Audio Units
 *    MacOS X Audio Queues (discouraged)
 *    iOS Audio Unit (Voice Processing audio unit for iPhone)
 *    Android sound system
 *    portaudio API (macosx and other)
 *  several audio encoder/decoder: PCMU, PCMA, speex, gsm
 *  wav file reader.
 *  wav file recorder.
 *  resampler.
 *  conference bridge.
 *  volume analyser, gain control, and automatic gain control.
 *  acoustic echo canceller.
 *  dtmf and custom tone generation filter.
 *  custom tone detection
 *  parametric equalizer, can be used to compensate the spectral response of a bad quality speaker or microphone
 *  echo limiter for cases where echo cancellation cannot work because of heavy distorsion.

 Video Filters:
 *  video capture
 *    v4w API (windows, deprecated)
 *    directshow API (windows)
 *    video4linux and video4linux2 APIs (linux)
 *  video display
 *    vfw API (windows)
 *    SDL API (linux, macosx...)
 *    Android native display
 *  several audio encoder/decoder: H263-1998, MP4V-ES, H264, theora
 *  image resizer.
 *  format converter. (RBG24, I420...)

 Plugin Filters:
 * iLBC decoder/encoder.
 * H264 codec, based on x264

Note that, you can build your own components/filters to do your
own processing or support other codecs.

Compilation and installation

* Required dependencies:
	- oRTP
	- libspeex and libspeexdsp
* Optional dependencies (for video to be enabled, see --enable-video):
	- libavcodec
	- libswscale
	- x11 with libxv-dev on linux
	- theora

 For Linux, MacOS, mingw compilation:

   $> ./configure
   $> make
   $> su -c 'make install'

 For Windows with Visual Studio 2008 IDE, open build/win32native/mediastreamer2.sln

More instructions and advices can be found for the mingw compilation procedure in Linphone's README.mingw.

Contact information:

For more information on mediastreamer2, any contributions, or any remarks,
you can contact me at <>.

Use the *linphone* mailing list for question about mediastreamer2.

Subscribe by writing to:
  <> with a subject set to "subscribe".

Commercial support and licensing is provided by Belledonne Communications