Java Media Framework

from Wikipedia, the free encyclopedia

Java Media Framework ( JMF ) is a Java library for handling audio and video data . The API supports the recording of microphone and camera and allows reading and saving of audio / video formats.

history

The framework was developed by Sun , Intel and Silicon Graphics . With version 1 it was only possible to play data. This changed with version 2.

The further development was carried out by the companies Sun and IBM . Version 2 now includes the following enhanced capabilities:

  • Save the data
  • Capturing
  • Sending / receiving the data via a network ( RTP )

The last changes to the framework were made in November 2004, further developments remain to be seen. With the development and release (December 2008) of JavaFX , Sun has shifted its focus in multimedia away from JMF and towards JavaFX Media, more precisely the Java Media Components (JMC), which are part of JavaFX.

What JMF can do

The JMF offers the possibility to easily write Java programs that present time-based media. These programs can be Java applets or applications . The implementation is very simple, because the control is realized via so-called manager. Various resources can be used for input and output of the data, such as B. microphone , loudspeaker , camera , file system or a simple screen output . Thanks to the open concept ( plug-in technology), it is also possible to add further resources and "manipulators" (processors). Simple multimedia applications or "real-time training" applications can thus be implemented.

Platform independence

The JMF can only be used to a limited extent on 64-bit platforms . The "Cross Platform Version" can only decode two rarely used codecs.

Alternatives

FMJ

The free alternative Freedom for Media in Java aims to create an open source replacement for Sun's JMF. The aim is to create an API that is compatible and suitable for recording, playing, editing and streaming media files on different platforms.

literature

  • Linden DeCarmo: Core Java media framework . Prentice Hall PTR, 1999, ISBN 978-0-13-011519-5 (English).
  • Horst Eidenberger, Roman Divotkey: Media processing in Java . Audio and video with Java Media Framework & Mobile Media AP. Dpunkt Verlag, 2003, ISBN 978-3-89864-184-5 .
  • Sean C. Sullivan, Loren Winzeler, Jeannie Deagan: Programming with the Java Media Framework . Wiley & Sons, 1997, ISBN 978-0-471-25169-9 (English).
  • Robert Gordon, Stephen Talley, Rob Gordon: Essential Jmf: Java Media Framework . Prentice Hall, 1999, ISBN 978-0-13-080104-3 (English).

Web links

Individual evidence

  1. oracle.com
  2. fmj-sf.net