Your preferences have been saved!
» Transfer media from one location to another carrying out the - import javax.media.*; import javax.media.datasink.*; import javax.media.protocol.*; /*******************************************************************************  * Transfer media from one location to another carrying out the specified  * transcoding (track formats and content type) at the same time.  * <p>  * Users specify a source and destination location, the Formats (to be realised)  * of the individual tracks, and a ContentDescriptor (content type) for output.  * <p>... 15 Feb 12 » List all capture devices currently known to the JMF - import javax.media.*; import java.util.*; /*******************************************************************************  * Simple application to list all capture devices currently known to the JMF.  * The CaptureDeviceManager is queried as to known devices and its output  * printed to the screen.  *   * @author Michael (Spike) Barlow  ******************************************************************************/ public class ListCaptureDevices {... 15 Feb 12 » Play the media object 3 - import java.applet.*; import java.awt.*; import java.awt.event.*; import java.net.*; import java.io.*; import java.util.*; import javax.media.*; import javax.media.control.*; public class ControlQueryPApplet extends Applet implements ControllerListener {   /***************************************************************************... 15 Feb 12 » A Bare Bones Player: play the media object - import java.applet.*; import java.awt.*; import java.awt.event.*; import java.net.*; import java.io.*; import java.util.*; import javax.media.*; public class BBPApplet extends Applet implements ControllerListener {   /***************************************************************************    * Object to play the media. Only attribute that the Applet really needs.... 15 Feb 12 » Play the media object - import java.applet.*; import java.awt.*; import java.awt.event.*; import java.net.*; import java.io.*; import java.util.*; import javax.media.*; public class TimedPApplet extends Applet implements ControllerListener {   /***************************************************************************    * Object to play the media. Only attribute that the Applet really needs.... 15 Feb 12 » Statistics about the tracks that compose a media object - import javax.media.*; import javax.media.control.*; import javax.media.format.*; /*******************************************************************************  * A Class to determine statistics about the tracks that compose a media object.  * Given the name (URL/location) of media a Processor is constructed and brought  * to the Configured state. At that stage its TrackControls are obtained as a  * means of discovering the Formats of the individual tracks.  *   * Because reaching Configured can take time, the MediaStatistics object keeps... 15 Feb 12 » Do Audio Capture - import javax.media.*; import javax.media.format.*; import javax.media.protocol.*; public class DoAudioCapture {   public static void main(String[] args) {     Location2Location capture;     CaptureDeviceInfo audioDevice;     MediaLocator audioLocation;     MediaLocator destination;     audioDevice = CaptureDeviceManager.getDevice("DirectSoundCapture");... 15 Feb 12 » Choose the media they wish to play - import java.awt.*; import java.awt.event.*; import javax.media.*; import javax.media.protocol.*; import javax.media.control.*; import java.io.*; /*******************************************************************************  * A Graphical application allowing the user to choose the media they wish to  * play. PlayerOfMedia presents a Dialog in which the user may enter the URL of  * the media to play, or select a file from the local system.... 15 Feb 12 » Capture audio or video through devices connected to the PC - import javax.media.*; import javax.media.format.*; import javax.media.protocol.*; import java.util.*; /*******************************************************************************  * A simple application to allow users to capture audio or video through devices  * connected to the PC. Via command-line arguments the user specifies whether  * audio (-a) or video (-v) capture, the duration of the capture (-d) in  * seconds, and the file to write the media to (-f).  * ... 15 Feb 12 » Show the Location2Location class in action - import javax.media.*; import javax.media.protocol.*; import javax.media.format.*; /*******************************************************************************  * Simple example to show the Location2Location class in action. The  * Location2Location class transfer media from one location to another  * performing any requested tanscoding (format changes) at the same time.  *   * The class is used twice. Once to transform a short wave audio file of an  * electric guitar (guitar.wav) into MP3 format. The second example converts of... 15 Feb 12