Supported Media Formats

Below find lists of media formats currently supported by FMJ.

Native wrapper playback only

Wrapper for OS Formats
DirectShow Windows Pretty much anything!
Quicktime for Java Mac OS X Pretty much anything!
GStreamer Any Pretty much anything!

 

Native wrapper processing and playback

Wrapper for OS Formats
FFMPEG Any Pretty much anything!

 

Pure Java processing and playback

Container Format Decode (D), Encode (E)
RTP JPEG/RTP D,E
  ULAW/RTP D,E
  ALAW/RTP D,E
  SPEEX/RTP D,E
  ILBC/RTP D,E
WAV LINEAR (PCM) D,E
AU LINEAR (PCM) D,E
  ULAW D,?
AIFF LINEAR (PCM) D,E
multpart/x-mixed-replace JPEG D,E
  GIF D,E*
  PNG D,E
Ogg VORBIS D
  THEORA D
MP3 MP3 D

* - encoding only with Java 6+

 

Assorted pure Java codecs

  • Audio resampling
  • Video scaling

 

Capture

Type Technology OS
Audio JavaSound All
Video LTI-CIVIL using DirectShow Windows
  LTI-CIVIL using V4L2 Linux
  LTI-CIVIL using Quicktime for Java Mac OS X

 

Note : FMJ and JMF can use each others' plugins, assuming the classpath and registry is set appropriately.