Difference between revisions of "Java Media Framework"

From ArchWiki
Jump to: navigation, search
(New page: == Java Media Framework == From Sun's JMF site: "The Java Media Framework API (JMF) enables audio, video and other time-based media to be added to applications and applets built on Java t...)
 
Line 1: Line 1:
== Java Media Framework ==
 
 
 
From Sun's JMF site:
 
From Sun's JMF site:
 
"The Java Media Framework API (JMF) enables audio, video and other time-based media to be added to applications and applets built on Java technology. This optional package, which can capture, playback, stream, and transcode multiple media formats, extends the Java 2 Platform, Standard Edition (J2SE) for multimedia developers by providing a powerful toolkit to develop scalable, cross-platform technology."
 
"The Java Media Framework API (JMF) enables audio, video and other time-based media to be added to applications and applets built on Java technology. This optional package, which can capture, playback, stream, and transcode multiple media formats, extends the Java 2 Platform, Standard Edition (J2SE) for multimedia developers by providing a powerful toolkit to develop scalable, cross-platform technology."
Line 6: Line 4:
 
== Installation ==  
 
== Installation ==  
  
The JMF PKGBUILD can be downloaded from AUR ([http://aur.archlinux.org/packages.php?ID=11728])
+
The JMF PKGBUILD can be downloaded from AUR [http://aur.archlinux.org/packages.php?ID=11728]
Run makepkg and install
+
Run makepkg and install the package
  
 
== Configuration ==
 
== Configuration ==
Line 16: Line 14:
 
Running jmfinit with sudo may fail because Java bug [http://bugs.archlinux.org/task/8566]. So run it as ROOT , patch your Java Installation like: [http://bugs.archlinux.org/task/8521#comment20623] or run it as:
 
Running jmfinit with sudo may fail because Java bug [http://bugs.archlinux.org/task/8566]. So run it as ROOT , patch your Java Installation like: [http://bugs.archlinux.org/task/8521#comment20623] or run it as:
 
  sudo LIBXCB_ALLOW_SLOPPY_LOCK=true jmfinit
 
  sudo LIBXCB_ALLOW_SLOPPY_LOCK=true jmfinit
 +
 +
== Adding MP3 Support ==
 +
 +
In order to add the Mp3Plugin to the JMF Plugin System , you'll have to run as root:
 +
jmfRegisterMp3Plugin
 +
 +
== Adding more audio/video codecs support with JFFMpeg ==
 +
 +
The JFFMpeg PKGBUILD can be downloaded form AUR [http://aur.archlinux.org/packages.php?ID=16648]
 +
Run makepkg and install the package.
 +
The install script will register the plugins and associate the mimetypes in the JMF registry

Revision as of 14:19, 28 April 2008

From Sun's JMF site: "The Java Media Framework API (JMF) enables audio, video and other time-based media to be added to applications and applets built on Java technology. This optional package, which can capture, playback, stream, and transcode multiple media formats, extends the Java 2 Platform, Standard Edition (J2SE) for multimedia developers by providing a powerful toolkit to develop scalable, cross-platform technology."

Installation

The JMF PKGBUILD can be downloaded from AUR [1] Run makepkg and install the package

Configuration

In order to setup JMF for the first time (to recognize audio and capture devices) you'll need to run as root:

jmfinit

Running jmfinit with sudo may fail because Java bug [2]. So run it as ROOT , patch your Java Installation like: [3] or run it as:

sudo LIBXCB_ALLOW_SLOPPY_LOCK=true jmfinit

Adding MP3 Support

In order to add the Mp3Plugin to the JMF Plugin System , you'll have to run as root:

jmfRegisterMp3Plugin

Adding more audio/video codecs support with JFFMpeg

The JFFMpeg PKGBUILD can be downloaded form AUR [4] Run makepkg and install the package. The install script will register the plugins and associate the mimetypes in the JMF registry